MCPcopy Create free account

hub / github.com/DNAProject/DNA / functions

Functions3,494 in github.com/DNAProject/DNA

↓ 8 callersFunctionmarshalResp
(resp map[string]interface{})
http/websocket/websocket/server.go:381
↓ 8 callersFunctionpeerPool
()
consensus/vbft/node_utils_test.go:35
↓ 8 callersMethodprocessConsensusMsg
(msg ConsensusMsg)
consensus/vbft/service.go:1187
↓ 7 callersMethodAddress
()
core/payload/deploy_code.go:79
↓ 7 callersFunctionAddressFromBookkeepers
(bookkeepers []keypair.PublicKey)
core/types/address.go:54
↓ 7 callersMethodAppendHash
AppendHash appends a leaf hash to the merkle tree and returns the audit path
merkle/merkle_tree.go:161
↓ 7 callersMethodBackUp
Backs up a number of bytes, so that the next call to NextXXX() returns data again that was already returned by the last call to NextXXX().
common/zero_copy_sink.go:85
↓ 7 callersMethodBatchCommit
Delete the key in batch
core/store/common/store.go:55
↓ 7 callersMethodDiv
todo: check negative value with big.Int
vm/neovm/types/int_value.go:294
↓ 7 callersFunctionGenBalanceKey
(contract, addr common.Address)
smartcontract/service/native/gas/utils.go:72
↓ 7 callersMethodGetAccountByAddress
GetAccountByAddress return account object by address
account/client.go:45
↓ 7 callersMethodGetBlockByHeight
(height uint32)
core/store/store.go:60
↓ 7 callersMethodGetBlockRootWithNewTxRoots
(startHeight uint32, txRoots []common.Uint256)
core/store/store.go:64
↓ 7 callersMethodGetCommitMsgs
(blocknum uint32)
consensus/vbft/msg_pool.go:185
↓ 7 callersMethodGetHeaderByHash
(blockHash common.Uint256)
core/store/store.go:56
↓ 7 callersMethodGetInConnRecordLen
GetInConnRecordLen return length of inConnRecordList
p2pserver/net/netserver/netserver.go:558
↓ 7 callersMethodGetNeighbors
()
p2pserver/net/protocol/server.go:44
↓ 7 callersMethodGetPID
GetPID returns an actor pid with the actor type, If the type doesn't exist, return nil.
txnpool/proc/txnpool_server.go:380
↓ 7 callersMethodGetRelay
()
p2pserver/net/protocol/server.go:40
↓ 7 callersFunctionGetStorageUInt64
(native *native.NativeService, key []byte)
smartcontract/service/native/utils/store.go:49
↓ 7 callersFunctionHashMsg
(msg ConsensusMsg)
consensus/vbft/utils.go:62
↓ 7 callersMethodLen
()
vm/neovm/types/array_value.go:47
↓ 7 callersMethodNativeCall
(address common.Address, method string, args []byte)
smartcontract/service/native/native_service.go:92
↓ 7 callersFunctionNewActorSubscriber
(subscriber *actor.PID, evtHub ...*eventhub.EventHub)
events/actor_event.go:87
↓ 7 callersFunctionNewLedger
(dataDir string, stateHashHeight uint32)
core/ledger/ledger.go:44
↓ 7 callersFunctionNewOverlayDB
(store common.PersistStore)
core/store/overlaydb/overlaydb.go:41
↓ 7 callersFunctionNewValidator
NewValidator spawns a validator actor and return its pid wraped in Validator
validator/stateless/stateless_validator.go:49
↓ 7 callersMethodNextUint8
()
common/zero_copy_source.go:93
↓ 7 callersMethodOutput
(level int, a ...interface{})
common/log/log.go:141
↓ 7 callersMethodSerialization
(sink *comm.ZeroCopySink)
p2pserver/message/types/message.go:36
↓ 7 callersMethodSetKeyPair
(keyinfo *keypair.ProtectedKey)
account/file_store.go:46
↓ 7 callersMethodSubscribe
adds a new subscriber to Event.
events/event.go:41
↓ 7 callersFunctionToArrayReverse
(arr []byte)
common/common.go:47
↓ 7 callersFunctionVerify
Verify check the signature of data using pubKey
core/signature/signature.go:41
↓ 7 callersFunctionVerifyMultiSignature
VerifyMultiSignature check whether more than m sigs are signed by the keys
core/signature/signature.go:55
↓ 7 callersMethodWriteAddress
(addr Address)
common/zero_copy_sink.go:146
↓ 7 callersMethodWriteI128
(i128 I128)
common/zero_copy_sink.go:158
↓ 7 callersMethodadd
(method string, path string, handler http.HandlerFunc)
http/restful/restful/router.go:69
↓ 7 callersFunctioncheckWitness
(srvc *native.NativeService, key []byte)
smartcontract/service/native/did/utils.go:85
↓ 7 callersFunctiondeserializeGroup
(data []byte)
smartcontract/service/native/did/group.go:108
↓ 7 callersFunctiongenerateParamKey
(contract common.Address, valueType paramType)
smartcontract/service/native/global_params/utils.go:50
↓ 7 callersFunctiongetBalanceOf
(native *native.NativeService, addr common.Address)
smartcontract/service/native/testsuite/gas_suite_test.go:41
↓ 7 callersMethodgetNewChainConfig
()
consensus/vbft/types.go:57
↓ 7 callersMethodgetPrevBlockMerkleRoot
()
consensus/vbft/types.go:61
↓ 7 callersMethodisCommitter
(blockNum uint32, peerIdx uint32)
consensus/vbft/node_utils.go:130
↓ 7 callersMethodisProposer
the first proposer as leader-proposer, all other proposer as 2nd-proposer before propose-timeout, only proposal from leader-proposer is accepted
consensus/vbft/node_utils.go:75
↓ 7 callersFunctionnewMsgPool
(server *Server, historyLen uint32)
consensus/vbft/msg_pool.go:97
↓ 7 callersFunctiontestcase
(t *testing.T, f func(t *testing.T, n *native.NativeService))
smartcontract/service/native/did/ontid_test.go:35
↓ 7 callersFunctiontransfer
Transfer amount of tokens from from_acct to to_acct :param from_acct: the account from which the amount of tokens will be transferred :pa
wasmtest/contracts-cplus/test_oep4.py:148
↓ 6 callersMethodAbs
()
vm/neovm/types/int_value.go:262
↓ 6 callersMethodAddAccountData
(accData *account.AccountData)
cmd/sigsvr/store/wallet_store.go:263
↓ 6 callersMethodBatchDelete
Put a key-value pair to batch
core/store/common/store.go:54
↓ 6 callersMethodBytes
()
consensus/vbft/config/config.go:79
↓ 6 callersFunctionCheckAssetAmount
(asset string, amount uint64)
cmd/utils/utils.go:87
↓ 6 callersFunctionChecksum
(data []byte)
p2pserver/common/checksum.go:48
↓ 6 callersFunctionColor
(code, msg string)
common/log/log.go:48
↓ 6 callersMethodConvertNeoVmValueHexString
()
vm/neovm/types/neovm_value.go:209
↓ 6 callersMethodDeserialization
(source *common.ZeroCopySource)
consensus/dbft/consensus_message.go:34
↓ 6 callersMethodDropMsg
(msg ConsensusMsg)
consensus/vbft/msg_pool.go:133
↓ 6 callersFunctionGenUInt64StorageItem
(value uint64)
smartcontract/service/native/utils/store.go:79
↓ 6 callersMethodGetAccountByIndex
GetAccountByIndex return account object by index. Index start from 1
account/client.go:49
↓ 6 callersMethodGetAccountMetadataByIndex
GetAccountMetadataByIndex return account Metadata info by index. Index start from 1
account/client.go:57
↓ 6 callersMethodGetCurrentBlockHash
()
core/store/store.go:51
↓ 6 callersMethodGetHttpInfoPort
()
p2pserver/net/protocol/server.go:39
↓ 6 callersMethodGetName
()
cmd/usage.go:320
↓ 6 callersMethodGetNeighborAddrs
()
p2pserver/net/protocol/server.go:45
↓ 6 callersFunctionGetNetworkId
()
cmd/utils/gas.go:514
↓ 6 callersFunctionGetNonce
GetNonce returns random nonce
common/common.go:31
↓ 6 callersMethodGetOutConnRecordLen
()
p2pserver/net/protocol/server.go:56
↓ 6 callersMethodGetPeerPubKey
(peerIdx uint32)
consensus/vbft/peer_pool.go:229
↓ 6 callersMethodGetSessionId
()
http/websocket/session/session.go:62
↓ 6 callersMethodGetStorageItem
(key *states.StorageKey)
core/store/store.go:68
↓ 6 callersMethodHas
Get the value if key in store
core/store/common/store.go:50
↓ 6 callersFunctionI128FromBigInt
val should in i128 range
common/int128.go:73
↓ 6 callersMethodMakeHeader
()
consensus/dbft/consensus_context.go:99
↓ 6 callersFunctionNewCacheDB
NewCacheDB return a new contract cache
smartcontract/storage/cachedb.go:44
↓ 6 callersFunctionNewInteropValue
(value interfaces.Interop)
vm/neovm/types/interop_value.go:33
↓ 6 callersFunctionNewMemLevelDBStore
()
core/store/leveldbstore/leveldb_store.go:80
↓ 6 callersFunctionNewParamsBuilder
(buffer *bytes.Buffer)
vm/neovm/params_builder.go:36
↓ 6 callersMethodNextAddress
()
common/zero_copy_source.go:179
↓ 6 callersMethodNextBool
()
common/zero_copy_source.go:99
↓ 6 callersFunctionOpenWallet
(ctx *cli.Context)
cmd/common/common.go:49
↓ 6 callersMethodOutputf
(level int, format string, v ...interface{})
common/log/log.go:154
↓ 6 callersFunctionReadWasmModule
(Code []byte, verify bool)
smartcontract/service/wasmvm/utils.go:85
↓ 6 callersFunctionSendRawTransaction
SendRawTransaction send a transaction to blockchain network, and return hash of the transaction
cmd/utils/gas.go:429
↓ 6 callersMethodSerialization
(sink *common.ZeroCopySink)
consensus/dbft/consensus_message.go:33
↓ 6 callersMethodSerialization
(sink *common.ZeroCopySink)
smartcontract/service/native/did/attribute.go:76
↓ 6 callersFunctionSerializeSigners
(s []Signer)
smartcontract/service/native/did/group.go:145
↓ 6 callersMethodSetHeight
(uint64)
p2pserver/net/protocol/server.go:50
↓ 6 callersMethodSetHttpInfoState
SetHttpInfoState set peer`s httpinfo state
p2pserver/peer/peer.go:286
↓ 6 callersFunctionTracef
(format string, a ...interface{})
common/log/log.go:233
↓ 6 callersFunctionUint256ParseFromBytes
(f []byte)
common/uint256.go:67
↓ 6 callersMethodUnRegister
(poolId *actor.PID)
validator/stateful/stateful_validator.go:38
↓ 6 callersFunctionVmValueFromIntValue
(val IntValue)
vm/neovm/types/neovm_value.go:128
↓ 6 callersFunctionVmValueFromInteropValue
(val InteropValue)
vm/neovm/types/neovm_value.go:117
↓ 6 callersFunctionVmValueFromUint64
(val uint64)
vm/neovm/types/neovm_value.go:89
↓ 6 callersMethod_hash_fold
(hashes []common.Uint256)
merkle/merkle_hasher.go:110
↓ 6 callersFunctionaddAttributes
(srvc *native.NativeService)
smartcontract/service/native/did/method.go:279
↓ 6 callersFunctionappCallTransferOnt
(native *native.NativeService, from common.Address, to common.Address, amount uint64)
smartcontract/service/native/governance/utils.go:118
↓ 6 callersMethodassignTxToWorker
assignTxToWorker assigns a new transaction to a worker by LB
txnpool/proc/txnpool_server.go:324
← previousnext →301–400 of 3,494, ranked by callers