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
Method
DeserializationUnsigned
(source *common.ZeroCopySource)
p2pserver/message/types/consensus_payload.go:132
↓ 1 callers
Method
Deserialize
(r io.Reader)
cmd/utils/export.go:85
↓ 1 callers
Method
Deserialize
(data []byte)
consensus/vbft/msg_types.go:348
↓ 1 callers
Function
DeserializeMessage
(data []byte)
consensus/dbft/consensus_message.go:45
↓ 1 callers
Function
DisconnectHandle
DisconnectHandle handles the disconnect events
p2pserver/message/utils/msg_handler.go:581
↓ 1 callers
Method
Dump
()
vm/neovm/value_stack.go:181
↓ 1 callers
Function
EncodeList
(sink *common.ZeroCopySink, list []interface{})
vm/crossvm_codec/codec.go:243
↓ 1 callers
Function
EncodeParamProgramInto
(sink *common.ZeroCopySink, sigs [][]byte)
core/program/program.go:138
↓ 1 callers
Function
EncodeValue
currently only used by test case
vm/crossvm_codec/codec.go:80
↓ 1 callers
Function
ErrerCode
(err error)
errors/errcode.go:112
↓ 1 callers
Function
ExactTestCase
(code []byte)
wasmtest/wasm-test.go:125
↓ 1 callers
Function
ExportAccount
(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)
cmd/sigsvr/handlers/export_account.go:44
↓ 1 callers
Function
FileOpen
(path string)
common/log/log.go:317
↓ 1 callers
Method
First
()
core/store/overlaydb/memdb.go:81
↓ 1 callers
Method
ForEachSession
(visit func(*Session))
http/websocket/session/sessionlist.go:84
↓ 1 callers
Function
GasBalanceOf
(native *native.NativeService)
smartcontract/service/native/gas/gas.go:196
↓ 1 callers
Function
GasTransfer
(native *native.NativeService)
smartcontract/service/native/gas/gas.go:114
↓ 1 callers
Function
GenBestBlockHeaderKey
()
validator/db/key_prefix.go:53
↓ 1 callers
Function
GenGenesisBlockKey
()
validator/db/key_prefix.go:47
↓ 1 callers
Function
GenNeoTextCaseTransaction
(contract common.Address, database *ledger.Ledger)
wasmtest/wasm-test.go:91
↓ 1 callers
Function
GenerateNeoVMParamEvalStack
create paramters for neovm contract
smartcontract/service/util/util.go:51
↓ 1 callers
Method
Get
(key []byte)
smartcontract/storage/cachedb.go:120
↓ 1 callers
Method
GetAccountDataByIndex
(index uint32)
cmd/sigsvr/store/wallet_store.go:358
↓ 1 callers
Method
GetAccountMetadataByAddress
(address string)
account/client.go:272
↓ 1 callers
Method
GetAccountMetadataByLabel
(label string)
account/client.go:282
↓ 1 callers
Function
GetAccountMulti
(wallet account.Client, passwd []byte, accAddr string)
cmd/common/common.go:64
↓ 1 callers
Method
GetAllPubKeys
()
consensus/vbft/peer_pool.go:240
↓ 1 callers
Function
GetAllowance
(asset, from, to string)
cmd/utils/gas.go:102
↓ 1 callers
Method
GetBestBlock
()
validator/db/store.go:113
↓ 1 callers
Method
GetBlockByHash
GetBlockByHash return block by block hash. Wrap function of BlockStore.GetBlockByHash
core/store/ledgerstore/ledger_store.go:972
↓ 1 callers
Function
GetBlockData
(hashOrHeight interface{})
cmd/utils/gas.go:527
↓ 1 callers
Method
GetBlockMerkleTree
GetBlockMerkleTree return merkle tree size an tree node
core/store/ledgerstore/state_store.go:143
↓ 1 callers
Method
GetBlockNum
()
consensus/vbft/msg_types.go:105
↓ 1 callers
Method
GetBlockRootWithNewTxRoots
GetBlockRootWithNewTxRoots return the block root(merkle root of blocks) after add a new tx root of block
core/store/ledgerstore/ledger_store.go:914
↓ 1 callers
Method
GetBlockSubmitMsgNums
(blocknum uint32)
consensus/vbft/msg_pool.go:200
↓ 1 callers
Function
GetBytesUint64
(b []byte)
smartcontract/service/native/governance/utils.go:234
↓ 1 callers
Function
GetCLIErrorDesc
(errorCode int)
cmd/sigsvr/common/errors.go:51
↓ 1 callers
Method
GetCallStack
()
errors/callstack.go:31
↓ 1 callers
Function
GetCallStacks
(err error)
errors/callstack.go:38
↓ 1 callers
Method
GetConn
get connection
p2pserver/link/link.go:96
↓ 1 callers
Method
GetConnectionCnt
GetConnectionCnt return the established connect count
p2pserver/p2pserver.go:91
↓ 1 callers
Method
GetContactTime
GetContactTime return peer`s latest contact time in Time struct
p2pserver/peer/peer.go:242
↓ 1 callers
Function
GetContractAllowance
(cVersion byte, contractAddr, fromAddr, toAddr common.Address)
http/base/common/common.go:343
↓ 1 callers
Function
GetContractBalance
(cVersion byte, contractAddres []common.Address, accAddr common.Address, atomic bool)
http/base/common/common.go:307
↓ 1 callers
Method
GetCurrentHeaderHeight
GetCurrentHeaderHeight return the current header height. In block sync states, Header height is usually higher than block height that is has already c
core/store/ledgerstore/ledger_store.go:344
↓ 1 callers
Method
GetDefaultAccountMetadata
GetDefaultAccountMetadata return default account Metadata info
account/client.go:59
↓ 1 callers
Method
GetErrCode
()
errors/errcode.go:29
↓ 1 callers
Method
GetEventNotifyByTx
GetEventNotifyByTx return event notify by trasanction hash
core/store/ledgerstore/event_store.go:83
↓ 1 callers
Method
GetEventNotifyByTx
GetEventNotifyByTx return event notify by transaction hash
core/store/common/store.go:95
↓ 1 callers
Method
GetFailedTimes
GetFailedTimes return failed times of a node
p2pserver/block_sync.go:188
↓ 1 callers
Method
GetHandler
(method string)
cmd/sigsvr/httpsvr.go:71
↓ 1 callers
Method
GetHeight
GetHeight return peer`s block height
p2pserver/peer/peer.go:178
↓ 1 callers
Method
GetHeight
GetHeight return peer's heigh
p2pserver/net/netserver/netserver.go:149
↓ 1 callers
Method
GetHttpInfoState
GetHttpInfoState return peer`s httpinfo state
p2pserver/peer/peer.go:295
↓ 1 callers
Method
GetID
GetID return peer`s id
p2pserver/peer/peer.go:222
↓ 1 callers
Function
GetLogFileSize
()
common/log/log.go:373
↓ 1 callers
Method
GetMapSortedKey
()
vm/neovm/types/map_value.go:72
↓ 1 callers
Function
GetMaxLogChangeInterval
(maxLogSize int64)
common/log/log.go:381
↓ 1 callers
Method
GetMsgChan
()
p2pserver/net/protocol/server.go:53
↓ 1 callers
Method
GetNativeAbi
(address string)
cmd/abi/abi_mgr.go:45
↓ 1 callers
Method
GetNeighborAddrs
GetNeighborAddrs return all the nbr peer`s addr
p2pserver/net/netserver/netserver.go:190
↓ 1 callers
Method
GetNeighborHeights
GetNeighborHeights return the id-height map of nbr peers
p2pserver/peer/nbr_peers.go:136
↓ 1 callers
Method
GetNeighborMostHeight
GetNeighborMostHeight return the most height of nbr peers
p2pserver/peer/nbr_peers.go:150
↓ 1 callers
Method
GetNeighbors
GetNeighbors return all nbr peer
p2pserver/net/netserver/netserver.go:215
↓ 1 callers
Method
GetNeoCode
()
core/payload/deploy_code.go:98
↓ 1 callers
Method
GetNext
()
smartcontract/service/native/utils/linked_list.go:41
↓ 1 callers
Method
GetNextAccountIndex
()
cmd/sigsvr/store/wallet_store.go:209
↓ 1 callers
Function
GetOpcodeUpdateCheckHeight
(id uint32)
common/config/config.go:116
↓ 1 callers
Method
GetOutConnRecordLen
GetOutConnRecordLen return length of outConnRecord
p2pserver/net/netserver/netserver.go:602
↓ 1 callers
Function
GetParamInfo
note output has reference of input `program`
core/program/program.go:357
↓ 1 callers
Function
GetPassword
GetPassword gets password from user input
common/password/password_windows.go:33
↓ 1 callers
Method
GetPayload
()
smartcontract/service/native/utils/linked_list.go:45
↓ 1 callers
Method
GetPeer
GetPeer returns a peer with the peer id
p2pserver/net/netserver/netserver.go:180
↓ 1 callers
Method
GetPeerFromAddr
find exist peer from addr map
p2pserver/net/netserver/netserver.go:465
↓ 1 callers
Function
GetPeersConfig
(memdb *overlaydb.MemDB)
consensus/vbft/utils.go:188
↓ 1 callers
Method
GetPort
GetPort return peer`s sync port
p2pserver/peer/peer.go:198
↓ 1 callers
Function
GetPublicKeyByID
(srvc *native.NativeService)
smartcontract/service/native/did/query.go:34
↓ 1 callers
Function
GetPublicKeys
(srvc *native.NativeService)
smartcontract/service/native/did/query.go:130
↓ 1 callers
Function
GetRawTransaction
(txHash string)
cmd/utils/gas.go:490
↓ 1 callers
Method
GetRelay
GetRelay return peer`s relay state
p2pserver/peer/peer.go:227
↓ 1 callers
Method
GetRoot
()
errors/errors.go:34
↓ 1 callers
Method
GetServices
GetServices return peer`s service state
p2pserver/peer/peer.go:232
↓ 1 callers
Method
GetSignatureAddresses
()
core/types/transaction.go:284
↓ 1 callers
Method
GetSize
()
core/types/transaction_attribute.go:58
↓ 1 callers
Function
GetSmartContractEventInfo
(txHash string)
cmd/utils/gas.go:478
↓ 1 callers
Method
GetStartTime
GetStartTime return the start time of request
p2pserver/block_sync.go:213
↓ 1 callers
Method
GetStateMerkleRoot
(height uint32)
core/store/ledgerstore/ledger_store.go:521
↓ 1 callers
Method
GetStateMerkleTree
GetStateMerkleTree return merkle tree size an tree node
core/store/ledgerstore/state_store.go:137
↓ 1 callers
Method
GetStorageState
GetStorageItem return the storage value of the key in smart contract.
core/store/ledgerstore/state_store.go:299
↓ 1 callers
Function
GetStorageUInt32
(native *native.NativeService, key []byte)
smartcontract/service/native/utils/store.go:64
↓ 1 callers
Method
GetSysFeeAmount
GetSysFeeAmount return the sys fee for block by block hash
core/store/ledgerstore/block_store.go:210
↓ 1 callers
Method
GetTime
GetTime return the last contact time of self peer
p2pserver/net/netserver/netserver.go:154
↓ 1 callers
Method
GetTimeStamp
GetTimeStamp return peer`s latest contact time in ticks
p2pserver/peer/peer.go:237
↓ 1 callers
Function
GetToUInt64StorageItem
(toBalance, value uint64)
smartcontract/service/native/gas/utils.go:62
↓ 1 callers
Method
GetTransaction
GetTransaction returns a transaction if it is contained in the pool and nil otherwise.
txnpool/common/transaction_pool.go:167
↓ 1 callers
Method
GetTransaction
GetTransaction return transaction by transaction hash
core/store/ledgerstore/block_store.go:372
↓ 1 callers
Method
GetTransactionWithHeight
(txHash common.Uint256)
core/ledger/ledger.go:122
↓ 1 callers
Function
GetTxHeight
(txHash string)
cmd/utils/gas.go:561
↓ 1 callers
Method
GetTxStatus
GetTxStatus returns a transaction status if it is contained in the pool and nil otherwise.
txnpool/common/transaction_pool.go:178
↓ 1 callers
Function
GetUint64Bytes
(num uint64)
smartcontract/service/native/governance/utils.go:228
← previous
next →
1,301–1,400 of 3,494, ranked by callers