MCPcopy Create free account

hub / github.com/DNAProject/DNA / functions

Functions3,494 in github.com/DNAProject/DNA

↓ 4 callersMethodgetNextNode
(nextBlockHeight uint32)
p2pserver/block_sync.go:856
↓ 4 callersMethodgetNextValidatorPIDs
getNextValidatorPIDs returns the next pids to verify the transaction using roundRobin LB.
txnpool/proc/txnpool_server.go:441
↓ 4 callersFunctiongetParamStorageItem
(params Params)
smartcontract/service/native/global_params/utils.go:46
↓ 4 callersFunctiongetPk
(srvc *native.NativeService, encID []byte, index uint32)
smartcontract/service/native/did/owner.go:116
↓ 4 callersFunctiongetSubTreePos
1-based n and return value
merkle/merkle_tree.go:214
↓ 4 callersMethodgetVrfValue
getVrfValue() is a helper function for participant selection.
consensus/vbft/types.go:68
↓ 4 callersFunctionget_tc
(source: &mut Source<'a>)
wasmtest/contracts-rust/contractop/src/lib.rs:176
↓ 4 callersFunctionhighBit
return the position of the heightest 1 bit 1-based index
merkle/util.go:40
↓ 4 callersMethodis2ndProposer
(blockNum uint32, peerIdx uint32)
consensus/vbft/node_utils.go:95
↓ 4 callersMethodisSyncedReady
()
consensus/vbft/state_mgmt.go:344
↓ 4 callersFunctionnewMessageHeader
(cmd string, length uint32, checksum [common.CHECKSUM_LEN]byte)
p2pserver/message/types/message.go:81
↓ 4 callersMethodnonConsensusNode
()
consensus/vbft/service.go:344
↓ 4 callersMethodonBlockSealed
(blockNum uint32)
consensus/vbft/msg_pool.go:215
↓ 4 callersMethodprocessProposalMsg
(msg *blockProposalMsg)
consensus/vbft/service.go:1087
↓ 4 callersFunctionreadMessageHeader
(reader io.Reader)
p2pserver/message/types/message.go:56
↓ 4 callersFunctionremoveKey
(srvc *native.NativeService)
smartcontract/service/native/did/method.go:228
↓ 4 callersMethodremovePendingTx
removePendingTx removes a transaction from the pending list when it is handled. And if the submitter of the valid transaction is from http, broadcast
txnpool/proc/txnpool_server.go:260
↓ 4 callersMethodrun
go routine per net connection
consensus/vbft/service.go:567
↓ 4 callersMethodsendBlkResult2Consensus
sendBlkResult2Consensus sends the result of verifying block to consensus
txnpool/proc/txnpool_server.go:654
↓ 4 callersFunctionserializeStorageKey
(contractAddress common.Address, key []byte)
smartcontract/service/wasmvm/runtime.go:722
↓ 4 callersFunctionsetRec
(n *native.NativeService, id string, g *Group, addr common.Address)
smartcontract/service/native/did/recovery_test.go:188
↓ 4 callersMethodsetSyncedReady
()
consensus/vbft/state_mgmt.go:362
↓ 4 callersFunctiontestCalcParticipantPeers
(t *testing.T, n, c int)
consensus/vbft/node_utils_test.go:180
↓ 4 callersFunctiontriggerAttributeEvent
(srvc *native.NativeService, op string, id []byte, path [][]byte)
smartcontract/service/native/did/event.go:48
↓ 4 callersFunctionupdateRec
(n *native.NativeService, id string, g *Group, s []Signer, addr []common.Address)
smartcontract/service/native/did/recovery_test.go:199
↓ 4 callersFunctionverifyCtrl
(n *native.NativeService, id string, index uint64, addr common.Address)
smartcontract/service/native/did/controller_test.go:335
↓ 4 callersFunctionverifyGroupSignature
(srvc *native.NativeService, g *Group, signers []Signer)
smartcontract/service/native/did/group.go:208
↓ 4 callersFunctionwriteMessageHeaderInto
(sink *comm.ZeroCopySink, msgh messageHeader)
p2pserver/message/types/message.go:74
↓ 3 callersMethodAddAccount
(acc *AccountData)
account/file_store.go:109
↓ 3 callersFunctionAddNotifications
(native *native.NativeService, contract common.Address, state *State)
smartcontract/service/native/gas/utils.go:51
↓ 3 callersMethodAddPeerAddress
AddPeerAddress add sync addr to peer-addr map
p2pserver/net/netserver/netserver.go:495
↓ 3 callersMethodAddStateMerkleTreeRoot
(blockHeight uint32, writeSetHash common.Uint256)
core/store/ledgerstore/state_store.go:189
↓ 3 callersMethodAddTxList
AddTxList adds a valid transaction to the transaction pool. If the transaction is already in the pool, just return false. Parameter txEntry includes t
txnpool/common/transaction_pool.go:68
↓ 3 callersFunctionAddrReqHandle
AddrReqHandle handles the neighbor address request from peer
p2pserver/message/utils/msg_handler.go:54
↓ 3 callersMethodAnd
(other IntValue)
vm/neovm/types/int_value.go:210
↓ 3 callersMethodAsInteropValue
()
vm/neovm/types/neovm_value.go:654
↓ 3 callersFunctionBuildNeoVMParam
buildNeoVMParamInter build neovm invoke param code
core/utils/transaction_builder.go:109
↓ 3 callersMethodClearAll
ClearAll clear all data in state store
core/store/ledgerstore/state_store.go:399
↓ 3 callersMethodCommit
Commit current transaction cache to block cache
smartcontract/storage/cachedb.go:70
↓ 3 callersFunctionCreateDeployCode
(code []byte, vmType uint32, name []byte, version []byte, author []byte, email []byte, desc []byte)
core/payload/deploy_code.go:229
↓ 3 callersFunctionDecodeValue
(source *common.ZeroCopySource)
vm/crossvm_codec/codec.go:114
↓ 3 callersMethodDelAccount
(address string)
account/file_store.go:113
↓ 3 callersMethodDeserialization
(source *comm.ZeroCopySource)
p2pserver/message/types/message.go:37
↓ 3 callersMethodDeserialization
note: can only be called when source is trusted, like data from local ledger store
core/types/header.go:42
↓ 3 callersMethodDeserialization
(source *common.ZeroCopySource)
core/types/header.go:175
↓ 3 callersMethodDeserialization
(source *common.ZeroCopySource)
core/states/storage_item.go:41
↓ 3 callersMethodDeserialization
(source *common.ZeroCopySource)
smartcontract/service/native/did/attribute.go:82
↓ 3 callersMethodDeserialization
(source *common.ZeroCopySource)
smartcontract/service/native/gas/states.go:68
↓ 3 callersFunctionDeserializeNotify
(input []byte)
vm/crossvm_codec/notify_codec.go:33
↓ 3 callersMethodEmitPushBool
(data bool)
vm/neovm/params_builder.go:44
↓ 3 callersFunctionEncodeBigInt
(sink *common.ZeroCopySink, intval *big.Int)
vm/crossvm_codec/codec.go:234
↓ 3 callersFunctionEncodeBool
(sink *common.ZeroCopySink, b bool)
vm/crossvm_codec/codec.go:215
↓ 3 callersFunctionEncodeBytes
(sink *common.ZeroCopySink, buf []byte)
vm/crossvm_codec/codec.go:198
↓ 3 callersFunctionGenApproveKey
(contract, from, to common.Address)
smartcontract/service/native/gas/utils.go:93
↓ 3 callersFunctionGenTotalSupplyKey
(contract common.Address)
smartcontract/service/native/gas/utils.go:68
↓ 3 callersMethodGet
Get gets the value for the given key. It returns unkown == true if the MemDB does not contain the key. It returns nil, false if MemDB has deleted the
core/store/overlaydb/memdb.go:333
↓ 3 callersFunctionGetAccountKey
(address string)
cmd/sigsvr/store/common.go:69
↓ 3 callersMethodGetAddr
GetAddr return peer`s sync link address
p2pserver/peer/peer.go:247
↓ 3 callersMethodGetBlock
GetBlock return block by block hash from cache
core/store/ledgerstore/block_cache.go:72
↓ 3 callersMethodGetBlockHash
GetBlockHash return the block hash by block height
core/store/ledgerstore/ledger_store.go:934
↓ 3 callersMethodGetEventNotifyByBlock
(height uint32)
core/store/store.go:72
↓ 3 callersMethodGetFunc
(method string)
cmd/abi/neovm_abi.go:42
↓ 3 callersMethodGetHeaderByHash
GetHeaderByHash return the block header by block hash
core/store/ledgerstore/ledger_store.go:939
↓ 3 callersMethodGetMapKey
()
vm/neovm/types/neovm_value.go:699
↓ 3 callersMethodGetMaxPeerBlockHeight
()
p2pserver/net/protocol/server.go:47
↓ 3 callersFunctionGetNetworkMagic
(id uint32)
common/config/config.go:104
↓ 3 callersFunctionGetNetworkName
(id uint32)
common/config/config.go:120
↓ 3 callersMethodGetNp
()
p2pserver/net/protocol/server.go:48
↓ 3 callersMethodGetParam
(key string)
smartcontract/service/native/global_params/states.go:50
↓ 3 callersFunctionGetPasswd
(ctx *cli.Context)
cmd/common/common.go:35
↓ 3 callersFunctionGetPassword
GetPassword gets password from user input
common/password/password.go:33
↓ 3 callersMethodGetSig
()
core/types/transaction.go:250
↓ 3 callersMethodGetStateDetail
()
consensus/dbft/consensus_context.go:182
↓ 3 callersFunctionGetStateHashCheckHeight
(id uint32)
common/config/config.go:112
↓ 3 callersMethodGetTransactionCount
GetTransactionCount returns the tx number of the pool.
txnpool/common/transaction_pool.go:193
↓ 3 callersFunctionGetValidators
(txs []*types.Transaction)
core/vote/validator.go:30
↓ 3 callersFunctionGetWalletAccountNumberKey
()
cmd/sigsvr/store/common.go:77
↓ 3 callersMethodGetWasmCode
()
core/payload/deploy_code.go:90
↓ 3 callersMethodHasMsg
(msg ConsensusMsg, msgHash common.Uint256)
consensus/vbft/msg_pool.go:142
↓ 3 callersMethodHash
()
core/types/header.go:249
↓ 3 callersFunctionHashBlock
(blk *Block)
consensus/vbft/utils_test.go:34
↓ 3 callersFunctionI128FromUint64
(val uint64)
common/int128.go:56
↓ 3 callersMethodImportAccount
ImportAccount import a already exist account to wallet
account/client.go:43
↓ 3 callersMethodInitializeConsensus
(viewNum byte)
consensus/dbft/dbft_service.go:269
↓ 3 callersMethodInvoke
()
smartcontract/service/native/native_service.go:64
↓ 3 callersMethodIsAddrInOutConnRecord
IsAddrInOutConnRecord return result whether addr is in outConnRecord
p2pserver/net/netserver/netserver.go:588
↓ 3 callersMethodIsContainBlock
(blockHash common.Uint256)
core/store/store.go:62
↓ 3 callersMethodLast
()
core/store/overlaydb/memdb.go:96
↓ 3 callersMethodLen
()
vm/neovm/types/struct_value.go:52
↓ 3 callersFunctionMakeEmptyMessage
(cmdType string)
p2pserver/message/types/message.go:151
↓ 3 callersFunctionNewClientImpl
(path string)
account/client.go:106
↓ 3 callersFunctionNewDeployCode
(code []byte, vmType VmType, name, version, author, email, description string)
core/payload/deploy_code.go:62
↓ 3 callersFunctionNewIncrementValidator
(maxBlocks int)
validator/increment/increment.go:41
↓ 3 callersFunctionNewInvokeTransaction
NewInvokeTransaction return smart contract invoke transaction
cmd/utils/gas.go:277
↓ 3 callersFunctionNewLedgerStore
NewLedgerStore return LedgerStoreImp instance
core/store/ledgerstore/ledger_store.go:92
↓ 3 callersFunctionNewMerkleVerifier
()
merkle/merkle_tree.go:347
↓ 3 callersMethodNewOverlayDB
()
core/store/ledgerstore/state_store.go:237
↓ 3 callersFunctionNewServer
NewServer return a new p2pserver according to the pubkey
p2pserver/p2pserver.go:73
↓ 3 callersFunctionNewVerifyRspActor
NewVerifyRspActor creates an actor to handle the verified result from validators
txnpool/proc/txnpool_actor.go:56
↓ 3 callersFunctionNewWalletStore
(path string)
cmd/sigsvr/store/wallet_store.go:49
← previousnext →601–700 of 3,494, ranked by callers