Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ functions
Functions
3,494 in github.com/DNAProject/DNA
⨍
Functions
3,494
◇
Types & classes
552
↓ 1 callers
Function
genEdges
(node int, nextNodes []int)
core/store/overlaydb/memdb_dot.go:66
↓ 1 callers
Function
genLBInt
()
vm/neovm/int_value_test.go:62
↓ 1 callers
Function
genLLInt
()
vm/neovm/int_value_test.go:67
↓ 1 callers
Function
genNode
(node int, k []byte, v []byte, h int)
core/store/overlaydb/memdb_dot.go:78
↓ 1 callers
Function
genTransferFromKey
(contract common.Address, state *TransferFrom)
smartcontract/service/native/gas/utils.go:127
↓ 1 callers
Function
generTestData
()
consensus/vbft/config/config_test.go:30
↓ 1 callers
Function
generateLeaves
Generate the leaves nodes
common/merkle_tree_test.go:136
↓ 1 callers
Function
getAllAttr
(srvc *native.NativeService, encID []byte)
smartcontract/service/native/did/attribute.go:168
↓ 1 callers
Method
getAllNodeWeights
getAllNodeWeights get all nodeweight and return a slice
p2pserver/block_sync.go:928
↓ 1 callers
Function
getBlock
(hash common.Uint256, getTxBytes bool)
http/base/rest/interfaces.go:106
↓ 1 callers
Method
getBlock
(blockHeight uint32)
p2pserver/block_sync.go:295
↓ 1 callers
Method
getBlockCache
(blockHeight uint32)
p2pserver/block_sync.go:684
↓ 1 callers
Function
getCallStack
(skip int, depth int)
errors/callstack.go:60
↓ 1 callers
Function
getCandidateIndex
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/utils.go:427
↓ 1 callers
Function
getChainConfig
(memdb *overlaydb.MemDB, blkNum uint32)
consensus/vbft/utils.go:271
↓ 1 callers
Method
getChainedBlock
(blockNum uint32)
consensus/vbft/block_pool.go:715
↓ 1 callers
Method
getContractStateKey
(contractHash common.Address)
core/store/ledgerstore/state_store.go:359
↓ 1 callers
Method
getContractType
(addr common.Address)
smartcontract/service/wasmvm/runtime.go:693
↓ 1 callers
Method
getCurrentTargetBlockNum
()
consensus/vbft/node_sync.go:263
↓ 1 callers
Method
getEndorsedProposal
(blkNum uint32)
consensus/vbft/block_pool.go:196
↓ 1 callers
Method
getFlightBlock
(blockHash common.Uint256, nodeId uint64)
p2pserver/block_sync.go:815
↓ 1 callers
Method
getFlightBlockCount
()
p2pserver/block_sync.go:841
↓ 1 callers
Method
getFlightBlocks
(blockHash common.Uint256)
p2pserver/block_sync.go:805
↓ 1 callers
Method
getFlightHeader
(height uint32)
p2pserver/block_sync.go:767
↓ 1 callers
Method
getFlightHeaderCount
()
p2pserver/block_sync.go:788
↓ 1 callers
Function
getGasAddress
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/utils.go:739
↓ 1 callers
Function
getGlobalGasPrice
getGlobalGasPrice returns a global gas price
txnpool/proc/txnpool_server.go:102
↓ 1 callers
Method
getHeaderIndex
(height uint32)
core/store/ledgerstore/ledger_store.go:332
↓ 1 callers
Method
getHeaderIndexListKey
(startHeight uint32)
core/store/ledgerstore/block_store.go:506
↓ 1 callers
Method
getHeight
getHeight return current block height
txnpool/proc/txnpool_server.go:236
↓ 1 callers
Method
getNeighbours
()
consensus/vbft/peer_pool.go:208
↓ 1 callers
Function
getNextNodeId
Using polling for load balance
p2pserver/block_sync.go:995
↓ 1 callers
Method
getNextValidatorPID
getNextValidatorPID returns the next pid with the verify type using roundRobin LB
txnpool/proc/txnpool_server.go:460
↓ 1 callers
Method
getNonEmptyBlockCount
()
p2pserver/block_sync.go:319
↓ 1 callers
Method
getNonEmptyBlockCount
()
p2pserver/block_sync.go:322
↓ 1 callers
Function
getPeerCost
(native *native.NativeService, contract common.Address, peerPubkey string)
smartcontract/service/native/governance/utils.go:690
↓ 1 callers
Method
getPendingListSize
getPendingListSize return the length of the pending tx list.
txnpool/proc/txnpool_server.go:229
↓ 1 callers
Method
getPendingTxs
getPendingTxs returns a currently pending tx list
txnpool/proc/txnpool_server.go:520
↓ 1 callers
Function
getPromisePos
(native *native.NativeService, contract common.Address, peerPubkey string)
smartcontract/service/native/governance/utils.go:709
↓ 1 callers
Function
getRawStorageItemFromMemDb
(memdb *overlaydb.MemDB, addr common.Address, key []byte)
consensus/vbft/utils.go:234
↓ 1 callers
Function
getRespCacheValue
getRespCacheValue get response data from cache
p2pserver/message/utils/msg_handler.go:679
↓ 1 callers
Function
getSplitCurve
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/utils.go:606
↓ 1 callers
Method
getStartHeightByHeaderIndexKey
(key []byte)
core/store/ledgerstore/block_store.go:513
↓ 1 callers
Method
getStats
getStats returns the transaction statistics
txnpool/proc/txnpool_server.go:586
↓ 1 callers
Method
getStorageKey
(key *states.StorageKey)
core/store/ledgerstore/state_store.go:367
↓ 1 callers
Method
getTransactionCount
getTransactionCount returns the tx size of the transaction pool.
txnpool/proc/txnpool_server.go:628
↓ 1 callers
Method
getTxCount
getTxCount returns current tx count, including pending and verified
txnpool/proc/txnpool_server.go:512
↓ 1 callers
Method
getTxPool
getTxPool returns a tx list for consensus.
txnpool/proc/txnpool_server.go:498
↓ 1 callers
Method
getTxStatusReq
getTxStatusReq returns a transaction's status with the transaction hash.
txnpool/proc/txnpool_server.go:616
↓ 1 callers
Function
getVarUintSize
(value uint64)
common/zero_copy_source.go:261
↓ 1 callers
Method
getVrfProof
()
consensus/vbft/types.go:72
↓ 1 callers
Method
getWalletExtra
()
cmd/sigsvr/store/wallet_store.go:198
↓ 1 callers
Method
getWalletName
()
cmd/sigsvr/store/wallet_store.go:159
↓ 1 callers
Method
getWalletScrypt
()
cmd/sigsvr/store/wallet_store.go:178
↓ 1 callers
Method
getWalletVersion
()
cmd/sigsvr/store/wallet_store.go:144
↓ 1 callers
Function
groupCmp
(a, b *Group)
smartcontract/service/native/did/group_test.go:87
↓ 1 callers
Method
grow
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 callers
Method
halt
()
consensus/dbft/dbft_service.go:257
↓ 1 callers
Method
handleBlockPersistCompleted
(block *types.Block)
consensus/dbft/dbft_service.go:149
↓ 1 callers
Method
handleGetConnectionCntReq
connection count handler
p2pserver/actor/server/actor.go:138
↓ 1 callers
Method
handleGetConnectionStateReq
connection state handler
p2pserver/actor/server/actor.go:171
↓ 1 callers
Method
handleGetIDReq
get id handler
p2pserver/actor/server/actor.go:160
↓ 1 callers
Method
handleGetMaxPeerBlockHeightReq
max peer blockheight handler
p2pserver/actor/server/actor.go:149
↓ 1 callers
Method
handleGetNeighborAddrsReq
nbr peer`s address handler
p2pserver/actor/server/actor.go:193
↓ 1 callers
Method
handleGetNodeTypeReq
peer`s service type handler
p2pserver/actor/server/actor.go:215
↓ 1 callers
Method
handleGetPortReq
get port handler
p2pserver/actor/server/actor.go:116
↓ 1 callers
Method
handleGetRelayStateReq
peer`s relay state handler
p2pserver/actor/server/actor.go:204
↓ 1 callers
Method
handleGetTimeReq
timestamp handler
p2pserver/actor/server/actor.go:182
↓ 1 callers
Method
handleGetVersionReq
version handler
p2pserver/actor/server/actor.go:127
↓ 1 callers
Method
handleRsp
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 callers
Method
handleStopServerReq
stop handler
p2pserver/actor/server/actor.go:107
↓ 1 callers
Method
handleTimeoutEvent
* 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 callers
Method
handleTransaction
handleTransaction handles a transaction from network and http
txnpool/proc/txnpool_actor.go:92
↓ 1 callers
Method
handleTransaction
(overlay *overlaydb.OverlayDB, cache *storage.CacheDB, gasTable map[string]uint64, block *types.Block, tx *typ
core/store/ledgerstore/ledger_store.go:853
↓ 1 callers
Method
handleTransmitConsensusMsgReq
(ctx actor.Context, req *TransmitConsensusMsgReq)
p2pserver/actor/server/actor.go:225
↓ 1 callers
Method
hasAlreadyInitGenesisBlock
()
core/store/ledgerstore/ledger_store.go:224
↓ 1 callers
Method
hasBlockConsensused
()
consensus/vbft/service.go:2494
↓ 1 callers
Method
hasMsg
(msg ConsensusMsg, msgHash common.Uint256)
consensus/vbft/msg_pool.go:83
↓ 1 callers
Function
hasRole
(native *native.NativeService, contractAddr common.Address, ontID, role []byte)
smartcontract/service/native/auth/auth.go:336
↓ 1 callers
Method
heartBeatService
heartBeat send ping to nbr peers and check the timeout
p2pserver/p2pserver.go:493
↓ 1 callers
Method
hookChan
hookChan loops to handle the message from the network
p2pserver/message/utils/msg_router.go:101
↓ 1 callers
Function
init
initialize the contract, put some important info into the storage in the blockchain :return:
wasmtest/contracts-cplus/test_oep4.py:86
↓ 1 callers
Method
init
init initializes the worker with the configured settings
txnpool/proc/txnpool_worker.go:62
↓ 1 callers
Method
init
init initializes the server with the configured settings
txnpool/proc/txnpool_server.go:154
↓ 1 callers
Method
init
init initializes attribute of network server
p2pserver/net/netserver/netserver.go:94
↓ 1 callers
Method
init
init initializes the message router's attributes
p2pserver/message/utils/msg_router.go:53
↓ 1 callers
Method
init
(currBlockHeight uint32)
core/store/ledgerstore/state_store.go:109
↓ 1 callers
Method
init
()
core/store/ledgerstore/ledger_store.go:236
↓ 1 callers
Method
init
()
cmd/sigsvr/store/wallet_store.go:136
↓ 1 callers
Method
init
()
validator/db/store.go:62
↓ 1 callers
Function
initAccount
(ctx *cli.Context)
main.go:225
↓ 1 callers
Function
initConfig
(ctx *cli.Context)
main.go:215
↓ 1 callers
Function
initConsensus
(ctx *cli.Context, p2pPid *actor.PID, txpoolSvr *proc.TXPoolServer, acc *account.Account)
main.go:325
↓ 1 callers
Function
initContractAdmin
* * contract admin management */
smartcontract/service/native/auth/auth.go:48
↓ 1 callers
Function
initGAS_TABLE
()
smartcontract/service/neovm/config.go:180
↓ 1 callers
Method
initGenesisBlock
()
core/store/ledgerstore/ledger_store.go:232
↓ 1 callers
Method
initGetHandler
init get handler
http/restful/restful/server.go:253
↓ 1 callers
Function
initLedger
(ctx *cli.Context, stateHashHeight uint32)
main.go:252
↓ 1 callers
Function
initLocalRpc
(ctx *cli.Context)
main.go:369
↓ 1 callers
Function
initLog
(ctx *cli.Context)
main.go:202
← previous
next →
1,801–1,900 of 3,494, ranked by callers