MCPcopy Create free account

hub / github.com/DNAProject/DNA / functions

Functions3,494 in github.com/DNAProject/DNA

↓ 1 callersFunctiongenEdges
(node int, nextNodes []int)
core/store/overlaydb/memdb_dot.go:66
↓ 1 callersFunctiongenLBInt
()
vm/neovm/int_value_test.go:62
↓ 1 callersFunctiongenLLInt
()
vm/neovm/int_value_test.go:67
↓ 1 callersFunctiongenNode
(node int, k []byte, v []byte, h int)
core/store/overlaydb/memdb_dot.go:78
↓ 1 callersFunctiongenTransferFromKey
(contract common.Address, state *TransferFrom)
smartcontract/service/native/gas/utils.go:127
↓ 1 callersFunctiongenerTestData
()
consensus/vbft/config/config_test.go:30
↓ 1 callersFunctiongenerateLeaves
Generate the leaves nodes
common/merkle_tree_test.go:136
↓ 1 callersFunctiongetAllAttr
(srvc *native.NativeService, encID []byte)
smartcontract/service/native/did/attribute.go:168
↓ 1 callersMethodgetAllNodeWeights
getAllNodeWeights get all nodeweight and return a slice
p2pserver/block_sync.go:928
↓ 1 callersFunctiongetBlock
(hash common.Uint256, getTxBytes bool)
http/base/rest/interfaces.go:106
↓ 1 callersMethodgetBlock
(blockHeight uint32)
p2pserver/block_sync.go:295
↓ 1 callersMethodgetBlockCache
(blockHeight uint32)
p2pserver/block_sync.go:684
↓ 1 callersFunctiongetCallStack
(skip int, depth int)
errors/callstack.go:60
↓ 1 callersFunctiongetCandidateIndex
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/utils.go:427
↓ 1 callersFunctiongetChainConfig
(memdb *overlaydb.MemDB, blkNum uint32)
consensus/vbft/utils.go:271
↓ 1 callersMethodgetChainedBlock
(blockNum uint32)
consensus/vbft/block_pool.go:715
↓ 1 callersMethodgetContractStateKey
(contractHash common.Address)
core/store/ledgerstore/state_store.go:359
↓ 1 callersMethodgetContractType
(addr common.Address)
smartcontract/service/wasmvm/runtime.go:693
↓ 1 callersMethodgetCurrentTargetBlockNum
()
consensus/vbft/node_sync.go:263
↓ 1 callersMethodgetEndorsedProposal
(blkNum uint32)
consensus/vbft/block_pool.go:196
↓ 1 callersMethodgetFlightBlock
(blockHash common.Uint256, nodeId uint64)
p2pserver/block_sync.go:815
↓ 1 callersMethodgetFlightBlockCount
()
p2pserver/block_sync.go:841
↓ 1 callersMethodgetFlightBlocks
(blockHash common.Uint256)
p2pserver/block_sync.go:805
↓ 1 callersMethodgetFlightHeader
(height uint32)
p2pserver/block_sync.go:767
↓ 1 callersMethodgetFlightHeaderCount
()
p2pserver/block_sync.go:788
↓ 1 callersFunctiongetGasAddress
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/utils.go:739
↓ 1 callersFunctiongetGlobalGasPrice
getGlobalGasPrice returns a global gas price
txnpool/proc/txnpool_server.go:102
↓ 1 callersMethodgetHeaderIndex
(height uint32)
core/store/ledgerstore/ledger_store.go:332
↓ 1 callersMethodgetHeaderIndexListKey
(startHeight uint32)
core/store/ledgerstore/block_store.go:506
↓ 1 callersMethodgetHeight
getHeight return current block height
txnpool/proc/txnpool_server.go:236
↓ 1 callersMethodgetNeighbours
()
consensus/vbft/peer_pool.go:208
↓ 1 callersFunctiongetNextNodeId
Using polling for load balance
p2pserver/block_sync.go:995
↓ 1 callersMethodgetNextValidatorPID
getNextValidatorPID returns the next pid with the verify type using roundRobin LB
txnpool/proc/txnpool_server.go:460
↓ 1 callersMethodgetNonEmptyBlockCount
()
p2pserver/block_sync.go:319
↓ 1 callersMethodgetNonEmptyBlockCount
()
p2pserver/block_sync.go:322
↓ 1 callersFunctiongetPeerCost
(native *native.NativeService, contract common.Address, peerPubkey string)
smartcontract/service/native/governance/utils.go:690
↓ 1 callersMethodgetPendingListSize
getPendingListSize return the length of the pending tx list.
txnpool/proc/txnpool_server.go:229
↓ 1 callersMethodgetPendingTxs
getPendingTxs returns a currently pending tx list
txnpool/proc/txnpool_server.go:520
↓ 1 callersFunctiongetPromisePos
(native *native.NativeService, contract common.Address, peerPubkey string)
smartcontract/service/native/governance/utils.go:709
↓ 1 callersFunctiongetRawStorageItemFromMemDb
(memdb *overlaydb.MemDB, addr common.Address, key []byte)
consensus/vbft/utils.go:234
↓ 1 callersFunctiongetRespCacheValue
getRespCacheValue get response data from cache
p2pserver/message/utils/msg_handler.go:679
↓ 1 callersFunctiongetSplitCurve
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/utils.go:606
↓ 1 callersMethodgetStartHeightByHeaderIndexKey
(key []byte)
core/store/ledgerstore/block_store.go:513
↓ 1 callersMethodgetStats
getStats returns the transaction statistics
txnpool/proc/txnpool_server.go:586
↓ 1 callersMethodgetStorageKey
(key *states.StorageKey)
core/store/ledgerstore/state_store.go:367
↓ 1 callersMethodgetTransactionCount
getTransactionCount returns the tx size of the transaction pool.
txnpool/proc/txnpool_server.go:628
↓ 1 callersMethodgetTxCount
getTxCount returns current tx count, including pending and verified
txnpool/proc/txnpool_server.go:512
↓ 1 callersMethodgetTxPool
getTxPool returns a tx list for consensus.
txnpool/proc/txnpool_server.go:498
↓ 1 callersMethodgetTxStatusReq
getTxStatusReq returns a transaction's status with the transaction hash.
txnpool/proc/txnpool_server.go:616
↓ 1 callersFunctiongetVarUintSize
(value uint64)
common/zero_copy_source.go:261
↓ 1 callersMethodgetVrfProof
()
consensus/vbft/types.go:72
↓ 1 callersMethodgetWalletExtra
()
cmd/sigsvr/store/wallet_store.go:198
↓ 1 callersMethodgetWalletName
()
cmd/sigsvr/store/wallet_store.go:159
↓ 1 callersMethodgetWalletScrypt
()
cmd/sigsvr/store/wallet_store.go:178
↓ 1 callersMethodgetWalletVersion
()
cmd/sigsvr/store/wallet_store.go:144
↓ 1 callersFunctiongroupCmp
(a, b *Group)
smartcontract/service/native/did/group_test.go:87
↓ 1 callersMethodgrow
grow grows the buffer to guarantee space for n more bytes. It returns the index where bytes should be written. If the buffer can't grow it will panic
common/zero_copy_sink.go:49
↓ 1 callersMethodhalt
()
consensus/dbft/dbft_service.go:257
↓ 1 callersMethodhandleBlockPersistCompleted
(block *types.Block)
consensus/dbft/dbft_service.go:149
↓ 1 callersMethodhandleGetConnectionCntReq
connection count handler
p2pserver/actor/server/actor.go:138
↓ 1 callersMethodhandleGetConnectionStateReq
connection state handler
p2pserver/actor/server/actor.go:171
↓ 1 callersMethodhandleGetIDReq
get id handler
p2pserver/actor/server/actor.go:160
↓ 1 callersMethodhandleGetMaxPeerBlockHeightReq
max peer blockheight handler
p2pserver/actor/server/actor.go:149
↓ 1 callersMethodhandleGetNeighborAddrsReq
nbr peer`s address handler
p2pserver/actor/server/actor.go:193
↓ 1 callersMethodhandleGetNodeTypeReq
peer`s service type handler
p2pserver/actor/server/actor.go:215
↓ 1 callersMethodhandleGetPortReq
get port handler
p2pserver/actor/server/actor.go:116
↓ 1 callersMethodhandleGetRelayStateReq
peer`s relay state handler
p2pserver/actor/server/actor.go:204
↓ 1 callersMethodhandleGetTimeReq
timestamp handler
p2pserver/actor/server/actor.go:182
↓ 1 callersMethodhandleGetVersionReq
version handler
p2pserver/actor/server/actor.go:127
↓ 1 callersMethodhandleRsp
handleRsp handles the verified response from the validator and if the tx is valid, add it to the tx pool, or remove it from the pending list
txnpool/proc/txnpool_worker.go:92
↓ 1 callersMethodhandleStopServerReq
stop handler
p2pserver/actor/server/actor.go:107
↓ 1 callersMethodhandleTimeoutEvent
* Check if the transaction need to be sent to validator to verify * when time out. * Todo: Going through the list will take time if the list is too
txnpool/proc/txnpool_worker.go:141
↓ 1 callersMethodhandleTransaction
handleTransaction handles a transaction from network and http
txnpool/proc/txnpool_actor.go:92
↓ 1 callersMethodhandleTransaction
(overlay *overlaydb.OverlayDB, cache *storage.CacheDB, gasTable map[string]uint64, block *types.Block, tx *typ
core/store/ledgerstore/ledger_store.go:853
↓ 1 callersMethodhandleTransmitConsensusMsgReq
(ctx actor.Context, req *TransmitConsensusMsgReq)
p2pserver/actor/server/actor.go:225
↓ 1 callersMethodhasAlreadyInitGenesisBlock
()
core/store/ledgerstore/ledger_store.go:224
↓ 1 callersMethodhasBlockConsensused
()
consensus/vbft/service.go:2494
↓ 1 callersMethodhasMsg
(msg ConsensusMsg, msgHash common.Uint256)
consensus/vbft/msg_pool.go:83
↓ 1 callersFunctionhasRole
(native *native.NativeService, contractAddr common.Address, ontID, role []byte)
smartcontract/service/native/auth/auth.go:336
↓ 1 callersMethodheartBeatService
heartBeat send ping to nbr peers and check the timeout
p2pserver/p2pserver.go:493
↓ 1 callersMethodhookChan
hookChan loops to handle the message from the network
p2pserver/message/utils/msg_router.go:101
↓ 1 callersFunctioninit
initialize the contract, put some important info into the storage in the blockchain :return:
wasmtest/contracts-cplus/test_oep4.py:86
↓ 1 callersMethodinit
init initializes the worker with the configured settings
txnpool/proc/txnpool_worker.go:62
↓ 1 callersMethodinit
init initializes the server with the configured settings
txnpool/proc/txnpool_server.go:154
↓ 1 callersMethodinit
init initializes attribute of network server
p2pserver/net/netserver/netserver.go:94
↓ 1 callersMethodinit
init initializes the message router's attributes
p2pserver/message/utils/msg_router.go:53
↓ 1 callersMethodinit
(currBlockHeight uint32)
core/store/ledgerstore/state_store.go:109
↓ 1 callersMethodinit
()
core/store/ledgerstore/ledger_store.go:236
↓ 1 callersMethodinit
()
cmd/sigsvr/store/wallet_store.go:136
↓ 1 callersMethodinit
()
validator/db/store.go:62
↓ 1 callersFunctioninitAccount
(ctx *cli.Context)
main.go:225
↓ 1 callersFunctioninitConfig
(ctx *cli.Context)
main.go:215
↓ 1 callersFunctioninitConsensus
(ctx *cli.Context, p2pPid *actor.PID, txpoolSvr *proc.TXPoolServer, acc *account.Account)
main.go:325
↓ 1 callersFunctioninitContractAdmin
* * contract admin management */
smartcontract/service/native/auth/auth.go:48
↓ 1 callersFunctioninitGAS_TABLE
()
smartcontract/service/neovm/config.go:180
↓ 1 callersMethodinitGenesisBlock
()
core/store/ledgerstore/ledger_store.go:232
↓ 1 callersMethodinitGetHandler
init get handler
http/restful/restful/server.go:253
↓ 1 callersFunctioninitLedger
(ctx *cli.Context, stateHashHeight uint32)
main.go:252
↓ 1 callersFunctioninitLocalRpc
(ctx *cli.Context)
main.go:369
↓ 1 callersFunctioninitLog
(ctx *cli.Context)
main.go:202
← previousnext →1,801–1,900 of 3,494, ranked by callers