MCPcopy Create free account

hub / github.com/DNAProject/DNA / functions

Functions3,494 in github.com/DNAProject/DNA

↓ 6 callersFunctionbigPow
returns a ** b
common/int128.go:51
↓ 6 callersFunctionbuildStruct
(item []VmValue)
vm/neovm/types/neovm_value_test.go:33
↓ 6 callersFunctionbyteXReader
************************************************************************** ** internal func ***
common/serialization/serialize.go:262
↓ 6 callersFunctioncheckIDState
(srvc *native.NativeService, encID []byte)
smartcontract/service/native/did/utils.go:38
↓ 6 callersMethodcheckStartSyncing
(startBlkNum uint32, forceSync bool)
consensus/vbft/state_mgmt.go:380
↓ 6 callersFunctioncheckWitnessByIndex
(srvc *native.NativeService, encID []byte, index uint32)
smartcontract/service/native/did/utils.go:104
↓ 6 callersFunctionconstructPeerState
()
consensus/vbft/state_mgmt_test.go:172
↓ 6 callersFunctionconstructProposalMsgTest
(acc *account.Account)
consensus/vbft/msg_types_test.go:36
↓ 6 callersFunctioncountBit
return the number of 1 bit
merkle/util.go:25
↓ 6 callersFunctionctrlAddKey
(n *native.NativeService, id string, key []byte, index uint64, addr common.Address)
smartcontract/service/native/did/controller_test.go:370
↓ 6 callersFunctiondeserializeSigners
(data []byte)
smartcontract/service/native/did/group.go:155
↓ 6 callersMethodendorseBlock
(proposal *blockProposalMsg, forEmpty bool)
consensus/vbft/service.go:1898
↓ 6 callersMethodfindBlockProposal
(blkNum uint32, proposer uint32, forEmpty bool)
consensus/vbft/node_utils.go:349
↓ 6 callersMethodgetAccount
(accData *AccountData, passwd []byte)
account/client.go:315
↓ 6 callersFunctiongetAllPk
(srvc *native.NativeService, key []byte)
smartcontract/service/native/did/owner.go:61
↓ 6 callersFunctiongetAuthorizeInfo
(native *native.NativeService, contract common.Address, peerPubkey string, address common.Address)
smartcontract/service/native/governance/utils.go:508
↓ 6 callersMethodgetExecMerkleRoot
(blkNum uint32)
consensus/vbft/block_pool.go:785
↓ 6 callersMethodgetNodeWeight
getNodeWeight get nodeweight by id
p2pserver/block_sync.go:921
↓ 6 callersFunctionisActive
(state ServerState)
consensus/vbft/state_mgmt.go:54
↓ 6 callersFunctionmakeKey
(i int)
core/store/overlaydb/overlaydb_test.go:33
↓ 6 callersFunctionregControlledID
Register id0 which is controlled by id1
smartcontract/service/native/did/controller_test.go:321
↓ 6 callersFunctionregGroupControlledID
(n *native.NativeService, id string, g *Group, s []Signer, addr []common.Address)
smartcontract/service/native/did/controller_test.go:406
↓ 6 callersFunctionreplyTxResult
(txResultCh chan *tc.TxResult, hash common.Uint256, err errors.ErrCode, desc string)
txnpool/proc/txnpool_actor.go:62
↓ 6 callersMethodrestartSyncing
()
consensus/vbft/service.go:2518
↓ 6 callersMethodsave
()
account/client.go:140
↓ 6 callersFunctionstartActor
(obj interface{})
txnpool/proc/txnpool_server_test.go:64
↓ 6 callersFunctiontriggerPublicEvent
(srvc *native.NativeService, op string, id, pub []byte, keyID uint32)
smartcontract/service/native/did/event.go:43
↓ 6 callersFunctionverifyControllerSignature
(srvc *native.NativeService, encId []byte, args *common.ZeroCopySource)
smartcontract/service/native/did/controller.go:354
↓ 6 callersFunctionverifySig
(native *native.NativeService, ontID []byte, keyNo uint64)
smartcontract/service/native/auth/auth.go:643
↓ 5 callersMethodAddInConnRecord
AddInConnRecord add in connection to inConnRecord
p2pserver/net/netserver/netserver.go:520
↓ 5 callersMethodAsIntValue
()
vm/neovm/types/neovm_value.go:588
↓ 5 callersMethodBlockRange
BlockRange returns the block range [start, end) this validator can check
validator/increment/increment.go:58
↓ 5 callersMethodClone
()
vm/neovm/types/struct_value.go:56
↓ 5 callersMethodConnect
(addr string)
p2pserver/net/protocol/server.go:35
↓ 5 callersMethodContainTransaction
(hash common.Uint256)
validator/db/transaction_provider.go:31
↓ 5 callersMethodDumpInfo
DumpInfo print all information of peer
p2pserver/peer/peer.go:158
↓ 5 callersMethodExecute
()
vm/neovm/executor.go:81
↓ 5 callersMethodExecuteBlock
(b *types.Block)
core/store/store.go:48
↓ 5 callersFunctionGenExportBlocksFileName
(name string, start, end uint32)
cmd/utils/utils.go:118
↓ 5 callersFunctionGenRawStorageItem
(value []byte)
core/states/storage_item.go:71
↓ 5 callersMethodGetAccountByLabel
GetAccountByLabel return account object by label
account/client.go:47
↓ 5 callersMethodGetAccountMetadataByAddress
GetAccountMetadataByIndex return account Metadata info by address
account/client.go:53
↓ 5 callersMethodGetAddr16
GetAddr16 return peer`s sync link address in []byte
p2pserver/peer/peer.go:252
↓ 5 callersMethodGetBlockByHash
(blockHash common.Uint256)
core/store/store.go:59
↓ 5 callersMethodGetConnectionCnt
()
p2pserver/net/protocol/server.go:46
↓ 5 callersMethodGetEndorsementsMsgs
(blocknum uint32)
consensus/vbft/msg_pool.go:170
↓ 5 callersFunctionGetGovernanceView
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/utils.go:81
↓ 5 callersMethodGetMerkleProof
(m, n uint32)
core/store/store.go:65
↓ 5 callersMethodGetOutConnectingListLen
record the peer which is going to be dialed and sent version message but not in establish state
p2pserver/net/netserver/netserver.go:451
↓ 5 callersMethodGetPeerIndex
(nodeId string)
consensus/vbft/peer_pool.go:221
↓ 5 callersMethodGetTxStatus
GetTxStatus returns the status in the pending list with the transaction hash
txnpool/proc/txnpool_worker.go:73
↓ 5 callersMethodHash
()
core/types/block.go:102
↓ 5 callersMethodLen
Len returns the size of the set.
p2pserver/common/set/string_set.go:75
↓ 5 callersMethodM
()
consensus/dbft/consensus_context.go:62
↓ 5 callersFunctionNewRpcError
(err error, errCode ...int64)
cmd/utils/rpc.go:49
↓ 5 callersFunctionParseIPAddr
ParseIPAddr return ip address
p2pserver/common/p2p_common.go:161
↓ 5 callersMethodPos
()
common/zero_copy_source.go:46
↓ 5 callersMethodPublish
(topic string, msg interface{})
events/actor_event.go:68
↓ 5 callersMethodPut
(key []byte, value []byte)
smartcontract/storage/cachedb.go:80
↓ 5 callersMethodPutContract
(contract *payload.DeployCode)
smartcontract/storage/cachedb.go:106
↓ 5 callersFunctionReadUint64
(reader io.Reader)
common/serialization/serialize.go:218
↓ 5 callersMethodRequestChangeView
()
consensus/dbft/dbft_service.go:593
↓ 5 callersMethodSerializationUnsigned
(sink *common.ZeroCopySink)
p2pserver/message/types/consensus_payload.go:123
↓ 5 callersMethodSetID
SetID set peer id to link
p2pserver/link/link.go:56
↓ 5 callersMethodSetParam
(value Param)
smartcontract/service/native/global_params/states.go:40
↓ 5 callersMethodStart
()
p2pserver/net/protocol/server.go:33
↓ 5 callersMethodStop
Stop stops server and workers.
txnpool/proc/txnpool_server.go:477
↓ 5 callersMethodSubmitBlock
called by consensus
core/store/store.go:49
↓ 5 callersMethodViewNumber
()
consensus/dbft/consensus_message.go:36
↓ 5 callersFunctionaddKey
(srvc *native.NativeService)
smartcontract/service/native/did/method.go:168
↓ 5 callersFunctionappCallTransferOng
(native *native.NativeService, from common.Address, to common.Address, amount uint64)
smartcontract/service/native/governance/utils.go:126
↓ 5 callersMethodappendReqTime
appendReqTime append a node's request time
p2pserver/block_sync.go:955
↓ 5 callersMethodassignRspToWorker
assignRspToWorker assigns a check response from the validator to the correct worker.
txnpool/proc/txnpool_server.go:355
↓ 5 callersMethodendorseDone
check if has reached consensus for endorse-msg return @ endorsable proposer @ for empty commit @ endorsable
consensus/vbft/block_pool.go:317
↓ 5 callersMethodfill
(checkStart, checkLimit bool)
core/store/overlaydb/memdb.go:54
↓ 5 callersMethodfindGE
Must hold RW-lock if prev == true, as it use shared prevNode slice.
core/store/overlaydb/memdb.go:216
↓ 5 callersFunctiongetAuthToken
(native *native.NativeService, contractAddr common.Address, ontID, role []byte)
smartcontract/service/native/auth/auth.go:306
↓ 5 callersMethodgetBlockProposals
(blkNum uint32)
consensus/vbft/block_pool.go:165
↓ 5 callersMethodgetCandidateInfoLocked
(blkNum uint32)
consensus/vbft/block_pool.go:114
↓ 5 callersMethodgetConsensusedCommittedBlockNum
return 0 if consensus not reached yet
consensus/vbft/state_mgmt.go:426
↓ 5 callersMethodgetHeaderKey
(blockHash common.Uint256)
core/store/ledgerstore/block_store.go:479
↓ 5 callersMethodgetHighestRankProposal
(blockNum uint32, proposals []*blockProposalMsg)
consensus/vbft/node_utils.go:166
↓ 5 callersFunctiongetOldRecovery
deprecated retain for conpatibility
smartcontract/service/native/did/recovery.go:355
↓ 5 callersFunctiongetPeerAttributes
(native *native.NativeService, contract common.Address, peerPubkey string)
smartcontract/service/native/governance/utils.go:662
↓ 5 callersMethodgetPrevBlockHash
()
consensus/vbft/types.go:49
↓ 5 callersFunctiongetRecovery
(srvc *native.NativeService, encID []byte)
smartcontract/service/native/did/recovery.go:231
↓ 5 callersFunctiongetRoleStorageItem
(role common.Address)
smartcontract/service/native/global_params/utils.go:40
↓ 5 callersMethodgetSavingBlockLock
()
core/store/ledgerstore/ledger_store.go:764
↓ 5 callersMethodgetTransaction
getTransaction returns a transaction with the transaction hash.
txnpool/proc/txnpool_server.go:493
↓ 5 callersFunctionisOwner
(srvc *native.NativeService, encID, pub []byte)
smartcontract/service/native/did/owner.go:183
↓ 5 callersMethodmakeCommitment
(proposal *blockProposalMsg, blkNum uint32, forEmpty bool)
consensus/vbft/service.go:2248
↓ 5 callersMethodmakeFastForward
()
consensus/vbft/service.go:2277
↓ 5 callersFunctionnewVmValue
(t *testing.T, data Value)
vm/neovm/stack_opcode_test.go:57
↓ 5 callersMethodreleaseSavingBlockLock
()
core/store/ledgerstore/ledger_store.go:768
↓ 5 callersFunctionserializeAddress
(sink *common.ZeroCopySink, addr common.Address)
smartcontract/service/native/auth/utils.go:196
↓ 5 callersFunctionverifySignature
(srvc *native.NativeService)
smartcontract/service/native/did/method.go:375
↓ 4 callersMethodAddOutConnRecord
AddOutConnRecord add out connection to outConnRecord
p2pserver/net/netserver/netserver.go:580
↓ 4 callersMethodAddOutConnectingList
record the peer which is going to be dialed and sent version message but not in establish state
p2pserver/net/netserver/netserver.go:430
↓ 4 callersFunctionBlockFromRawBytes
if no error, ownership of param raw is transfered to Transaction
core/types/block.go:46
↓ 4 callersMethodBroadcast
(msg interface{})
consensus/actor/actor.go:74
← previousnext →401–500 of 3,494, ranked by callers