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
↓ 8 callers
Function
marshalResp
(resp map[string]interface{})
http/websocket/websocket/server.go:381
↓ 8 callers
Function
peerPool
()
consensus/vbft/node_utils_test.go:35
↓ 8 callers
Method
processConsensusMsg
(msg ConsensusMsg)
consensus/vbft/service.go:1187
↓ 7 callers
Method
Address
()
core/payload/deploy_code.go:79
↓ 7 callers
Function
AddressFromBookkeepers
(bookkeepers []keypair.PublicKey)
core/types/address.go:54
↓ 7 callers
Method
AppendHash
AppendHash appends a leaf hash to the merkle tree and returns the audit path
merkle/merkle_tree.go:161
↓ 7 callers
Method
BackUp
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 callers
Method
BatchCommit
Delete the key in batch
core/store/common/store.go:55
↓ 7 callers
Method
Div
todo: check negative value with big.Int
vm/neovm/types/int_value.go:294
↓ 7 callers
Function
GenBalanceKey
(contract, addr common.Address)
smartcontract/service/native/gas/utils.go:72
↓ 7 callers
Method
GetAccountByAddress
GetAccountByAddress return account object by address
account/client.go:45
↓ 7 callers
Method
GetBlockByHeight
(height uint32)
core/store/store.go:60
↓ 7 callers
Method
GetBlockRootWithNewTxRoots
(startHeight uint32, txRoots []common.Uint256)
core/store/store.go:64
↓ 7 callers
Method
GetCommitMsgs
(blocknum uint32)
consensus/vbft/msg_pool.go:185
↓ 7 callers
Method
GetHeaderByHash
(blockHash common.Uint256)
core/store/store.go:56
↓ 7 callers
Method
GetInConnRecordLen
GetInConnRecordLen return length of inConnRecordList
p2pserver/net/netserver/netserver.go:558
↓ 7 callers
Method
GetNeighbors
()
p2pserver/net/protocol/server.go:44
↓ 7 callers
Method
GetPID
GetPID returns an actor pid with the actor type, If the type doesn't exist, return nil.
txnpool/proc/txnpool_server.go:380
↓ 7 callers
Method
GetRelay
()
p2pserver/net/protocol/server.go:40
↓ 7 callers
Function
GetStorageUInt64
(native *native.NativeService, key []byte)
smartcontract/service/native/utils/store.go:49
↓ 7 callers
Function
HashMsg
(msg ConsensusMsg)
consensus/vbft/utils.go:62
↓ 7 callers
Method
Len
()
vm/neovm/types/array_value.go:47
↓ 7 callers
Method
NativeCall
(address common.Address, method string, args []byte)
smartcontract/service/native/native_service.go:92
↓ 7 callers
Function
NewActorSubscriber
(subscriber *actor.PID, evtHub ...*eventhub.EventHub)
events/actor_event.go:87
↓ 7 callers
Function
NewLedger
(dataDir string, stateHashHeight uint32)
core/ledger/ledger.go:44
↓ 7 callers
Function
NewOverlayDB
(store common.PersistStore)
core/store/overlaydb/overlaydb.go:41
↓ 7 callers
Function
NewValidator
NewValidator spawns a validator actor and return its pid wraped in Validator
validator/stateless/stateless_validator.go:49
↓ 7 callers
Method
NextUint8
()
common/zero_copy_source.go:93
↓ 7 callers
Method
Output
(level int, a ...interface{})
common/log/log.go:141
↓ 7 callers
Method
Serialization
(sink *comm.ZeroCopySink)
p2pserver/message/types/message.go:36
↓ 7 callers
Method
SetKeyPair
(keyinfo *keypair.ProtectedKey)
account/file_store.go:46
↓ 7 callers
Method
Subscribe
adds a new subscriber to Event.
events/event.go:41
↓ 7 callers
Function
ToArrayReverse
(arr []byte)
common/common.go:47
↓ 7 callers
Function
Verify
Verify check the signature of data using pubKey
core/signature/signature.go:41
↓ 7 callers
Function
VerifyMultiSignature
VerifyMultiSignature check whether more than m sigs are signed by the keys
core/signature/signature.go:55
↓ 7 callers
Method
WriteAddress
(addr Address)
common/zero_copy_sink.go:146
↓ 7 callers
Method
WriteI128
(i128 I128)
common/zero_copy_sink.go:158
↓ 7 callers
Method
add
(method string, path string, handler http.HandlerFunc)
http/restful/restful/router.go:69
↓ 7 callers
Function
checkWitness
(srvc *native.NativeService, key []byte)
smartcontract/service/native/did/utils.go:85
↓ 7 callers
Function
deserializeGroup
(data []byte)
smartcontract/service/native/did/group.go:108
↓ 7 callers
Function
generateParamKey
(contract common.Address, valueType paramType)
smartcontract/service/native/global_params/utils.go:50
↓ 7 callers
Function
getBalanceOf
(native *native.NativeService, addr common.Address)
smartcontract/service/native/testsuite/gas_suite_test.go:41
↓ 7 callers
Method
getNewChainConfig
()
consensus/vbft/types.go:57
↓ 7 callers
Method
getPrevBlockMerkleRoot
()
consensus/vbft/types.go:61
↓ 7 callers
Method
isCommitter
(blockNum uint32, peerIdx uint32)
consensus/vbft/node_utils.go:130
↓ 7 callers
Method
isProposer
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 callers
Function
newMsgPool
(server *Server, historyLen uint32)
consensus/vbft/msg_pool.go:97
↓ 7 callers
Function
testcase
(t *testing.T, f func(t *testing.T, n *native.NativeService))
smartcontract/service/native/did/ontid_test.go:35
↓ 7 callers
Function
transfer
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 callers
Method
Abs
()
vm/neovm/types/int_value.go:262
↓ 6 callers
Method
AddAccountData
(accData *account.AccountData)
cmd/sigsvr/store/wallet_store.go:263
↓ 6 callers
Method
BatchDelete
Put a key-value pair to batch
core/store/common/store.go:54
↓ 6 callers
Method
Bytes
()
consensus/vbft/config/config.go:79
↓ 6 callers
Function
CheckAssetAmount
(asset string, amount uint64)
cmd/utils/utils.go:87
↓ 6 callers
Function
Checksum
(data []byte)
p2pserver/common/checksum.go:48
↓ 6 callers
Function
Color
(code, msg string)
common/log/log.go:48
↓ 6 callers
Method
ConvertNeoVmValueHexString
()
vm/neovm/types/neovm_value.go:209
↓ 6 callers
Method
Deserialization
(source *common.ZeroCopySource)
consensus/dbft/consensus_message.go:34
↓ 6 callers
Method
DropMsg
(msg ConsensusMsg)
consensus/vbft/msg_pool.go:133
↓ 6 callers
Function
GenUInt64StorageItem
(value uint64)
smartcontract/service/native/utils/store.go:79
↓ 6 callers
Method
GetAccountByIndex
GetAccountByIndex return account object by index. Index start from 1
account/client.go:49
↓ 6 callers
Method
GetAccountMetadataByIndex
GetAccountMetadataByIndex return account Metadata info by index. Index start from 1
account/client.go:57
↓ 6 callers
Method
GetCurrentBlockHash
()
core/store/store.go:51
↓ 6 callers
Method
GetHttpInfoPort
()
p2pserver/net/protocol/server.go:39
↓ 6 callers
Method
GetName
()
cmd/usage.go:320
↓ 6 callers
Method
GetNeighborAddrs
()
p2pserver/net/protocol/server.go:45
↓ 6 callers
Function
GetNetworkId
()
cmd/utils/gas.go:514
↓ 6 callers
Function
GetNonce
GetNonce returns random nonce
common/common.go:31
↓ 6 callers
Method
GetOutConnRecordLen
()
p2pserver/net/protocol/server.go:56
↓ 6 callers
Method
GetPeerPubKey
(peerIdx uint32)
consensus/vbft/peer_pool.go:229
↓ 6 callers
Method
GetSessionId
()
http/websocket/session/session.go:62
↓ 6 callers
Method
GetStorageItem
(key *states.StorageKey)
core/store/store.go:68
↓ 6 callers
Method
Has
Get the value if key in store
core/store/common/store.go:50
↓ 6 callers
Function
I128FromBigInt
val should in i128 range
common/int128.go:73
↓ 6 callers
Method
MakeHeader
()
consensus/dbft/consensus_context.go:99
↓ 6 callers
Function
NewCacheDB
NewCacheDB return a new contract cache
smartcontract/storage/cachedb.go:44
↓ 6 callers
Function
NewInteropValue
(value interfaces.Interop)
vm/neovm/types/interop_value.go:33
↓ 6 callers
Function
NewMemLevelDBStore
()
core/store/leveldbstore/leveldb_store.go:80
↓ 6 callers
Function
NewParamsBuilder
(buffer *bytes.Buffer)
vm/neovm/params_builder.go:36
↓ 6 callers
Method
NextAddress
()
common/zero_copy_source.go:179
↓ 6 callers
Method
NextBool
()
common/zero_copy_source.go:99
↓ 6 callers
Function
OpenWallet
(ctx *cli.Context)
cmd/common/common.go:49
↓ 6 callers
Method
Outputf
(level int, format string, v ...interface{})
common/log/log.go:154
↓ 6 callers
Function
ReadWasmModule
(Code []byte, verify bool)
smartcontract/service/wasmvm/utils.go:85
↓ 6 callers
Function
SendRawTransaction
SendRawTransaction send a transaction to blockchain network, and return hash of the transaction
cmd/utils/gas.go:429
↓ 6 callers
Method
Serialization
(sink *common.ZeroCopySink)
consensus/dbft/consensus_message.go:33
↓ 6 callers
Method
Serialization
(sink *common.ZeroCopySink)
smartcontract/service/native/did/attribute.go:76
↓ 6 callers
Function
SerializeSigners
(s []Signer)
smartcontract/service/native/did/group.go:145
↓ 6 callers
Method
SetHeight
(uint64)
p2pserver/net/protocol/server.go:50
↓ 6 callers
Method
SetHttpInfoState
SetHttpInfoState set peer`s httpinfo state
p2pserver/peer/peer.go:286
↓ 6 callers
Function
Tracef
(format string, a ...interface{})
common/log/log.go:233
↓ 6 callers
Function
Uint256ParseFromBytes
(f []byte)
common/uint256.go:67
↓ 6 callers
Method
UnRegister
(poolId *actor.PID)
validator/stateful/stateful_validator.go:38
↓ 6 callers
Function
VmValueFromIntValue
(val IntValue)
vm/neovm/types/neovm_value.go:128
↓ 6 callers
Function
VmValueFromInteropValue
(val InteropValue)
vm/neovm/types/neovm_value.go:117
↓ 6 callers
Function
VmValueFromUint64
(val uint64)
vm/neovm/types/neovm_value.go:89
↓ 6 callers
Method
_hash_fold
(hashes []common.Uint256)
merkle/merkle_hasher.go:110
↓ 6 callers
Function
addAttributes
(srvc *native.NativeService)
smartcontract/service/native/did/method.go:279
↓ 6 callers
Function
appCallTransferOnt
(native *native.NativeService, from common.Address, to common.Address, amount uint64)
smartcontract/service/native/governance/utils.go:118
↓ 6 callers
Method
assignTxToWorker
assignTxToWorker assigns a new transaction to a worker by LB
txnpool/proc/txnpool_server.go:324
← previous
next →
301–400 of 3,494, ranked by callers