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
↓ 11 callers
Function
NewStructValue
()
vm/neovm/types/struct_value.go:40
↓ 11 callers
Method
PopAsIntValue
()
vm/neovm/value_stack_conversion.go:61
↓ 11 callers
Method
PreExecuteContract
(tx *types.Transaction)
core/store/store.go:69
↓ 11 callers
Function
PrintWarnMsg
(format string, a ...interface{})
cmd/usage.go:439
↓ 11 callers
Method
PushBool
(val bool)
vm/neovm/value_stack_conversion.go:29
↓ 11 callers
Function
VerifyID
(id string)
account/identity.go:71
↓ 11 callers
Function
VmValueFromMapValue
(val *MapValue)
vm/neovm/types/neovm_value.go:120
↓ 11 callers
Method
cancelEventTimer
internal helper, should call with lock held
consensus/vbft/event_timer.go:218
↓ 11 callers
Function
checkMultiOpCode
(t *testing.T, code []byte, origin []Value, expected []Value)
vm/neovm/stack_opcode_test.go:119
↓ 11 callers
Function
checkMultiStackOpCode
(t *testing.T, code []OpCode, origin, expected []Value)
vm/neovm/stack_opcode_test.go:104
↓ 11 callers
Method
hash_leaf
(data []byte)
merkle/merkle_hasher.go:39
↓ 11 callers
Function
simplifyNeoBytes
(buf []byte)
common/bigint_test.go:131
↓ 11 callers
Method
startEventTimer
internal helper, should call with lock held
consensus/vbft/event_timer.go:193
↓ 10 callers
Method
CmdType
()
p2pserver/message/types/message.go:38
↓ 10 callers
Function
EncodeAddress
(sink *common.ZeroCopySink, addr common.Address)
smartcontract/service/native/utils/serialization.go:32
↓ 10 callers
Method
Equals
(other StackItems)
vm/neovm/types/stackitems.go:31
↓ 10 callers
Method
GetHeight
()
p2pserver/net/protocol/server.go:41
↓ 10 callers
Method
GetProposalMsgs
(blocknum uint32)
consensus/vbft/msg_pool.go:155
↓ 10 callers
Function
NewFileHashStore
NewFileHashStore returns a HashStore implement in file
merkle/file_hash_store.go:46
↓ 10 callers
Function
NewMapValue
()
vm/neovm/types/map_value.go:32
↓ 10 callers
Function
NewMemDB
NewMemDB creates a new initialized in-memdb key/value MemDB. The capacity is the initial key/value buffer capacity. The capacity is advisory, not enfo
core/store/overlaydb/memdb.go:445
↓ 10 callers
Method
NextBytes
Read implements the io.ZeroCopySource interface.
common/zero_copy_source.go:57
↓ 10 callers
Function
ParseOnt
(rawAmount string)
cmd/utils/utils.go:83
↓ 10 callers
Method
Peek
(index int64)
vm/neovm/value_stack.go:63
↓ 10 callers
Method
PushInt64
(val int64)
vm/neovm/value_stack_conversion.go:42
↓ 10 callers
Method
RegisterActor
RegisterActor registers an actor with the actor type and pid.
txnpool/proc/txnpool_server.go:389
↓ 10 callers
Method
Remove
(index int64)
vm/neovm/value_stack.go:74
↓ 10 callers
Method
Root
Root returns root hash of merkle tree
merkle/merkle_tree.go:112
↓ 10 callers
Function
TransactionFromRawBytes
if no error, ownership of param raw is transfered to Transaction
core/types/transaction.go:60
↓ 10 callers
Method
VmType
()
core/payload/deploy_code.go:115
↓ 10 callers
Method
WriteUint16
(data uint16)
common/zero_copy_sink.go:107
↓ 10 callers
Function
WriteUint32
(writer io.Writer, val uint32)
common/serialization/serialize.go:241
↓ 10 callers
Function
assertEq
(a interface{}, b interface{})
wasmtest/wasm-test.go:463
↓ 10 callers
Function
checkAltStackOpCodeNew
(t *testing.T, code []byte, origin [2][]Value, expected [2][]Value)
vm/neovm/stack_opcode_test.go:128
↓ 10 callers
Function
checkVal
(t *testing.T, value VmValue)
vm/neovm/types/neovm_value_test.go:474
↓ 10 callers
Function
getGlobalParam
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/utils.go:242
↓ 10 callers
Function
getListNode
(native *native.NativeService, index []byte, item []byte)
smartcontract/service/native/utils/linked_list.go:100
↓ 10 callers
Method
increaseStats
increaseStats increases the count with the stats type
txnpool/proc/txnpool_server.go:579
↓ 10 callers
Method
intOp
(other IntValue, littleintFunc overflowFn, bigintFunc bigintFn)
vm/neovm/types/int_value.go:326
↓ 9 callers
Method
AddBlock
(block *types.Block, stateMerkleRoot common.Uint256)
core/store/store.go:47
↓ 9 callers
Method
AsMapValue
()
vm/neovm/types/neovm_value.go:627
↓ 9 callers
Method
AsStructValue
()
vm/neovm/types/neovm_value.go:636
↓ 9 callers
Function
BuildGenesisBlock
BuildGenesisBlock returns the genesis block with default consensus bookkeeper list
core/genesis/genesis.go:64
↓ 9 callers
Method
Deserialize
(source *common.ZeroCopySource)
vm/neovm/types/neovm_value.go:293
↓ 9 callers
Function
Fatal
(a ...interface{})
common/log/log.go:297
↓ 9 callers
Function
FormatOnt
(amount uint64)
cmd/utils/utils.go:79
↓ 9 callers
Method
GetCurrentBlockHeight
GetCurrentBlockHeight return the current block height
core/store/ledgerstore/ledger_store.go:389
↓ 9 callers
Method
GetCurrentHeaderHeight
()
core/store/store.go:53
↓ 9 callers
Method
GetDefaultAccount
GetDefaultAccount return default account
account/client.go:51
↓ 9 callers
Method
GetServices
()
p2pserver/net/protocol/server.go:43
↓ 9 callers
Method
Has
Has returns true if and only if item is contained in the set.
p2pserver/common/set/string_set.go:69
↓ 9 callers
Function
MessageTest
(t *testing.T, msg Message)
p2pserver/message/types/address_test.go:33
↓ 9 callers
Method
Mul
(other IntValue)
vm/neovm/types/int_value.go:305
↓ 9 callers
Function
Open
(path string)
account/client.go:82
↓ 9 callers
Method
PopAsBool
()
vm/neovm/value_stack_conversion.go:33
↓ 9 callers
Method
RegHandler
(method string, handler func(req *common.CliRpcRequest, resp *common.CliRpcResponse))
cmd/sigsvr/httpsvr.go:67
↓ 9 callers
Method
Register
(poolId *actor.PID)
validator/stateful/stateful_validator.go:37
↓ 9 callers
Method
Serialize
()
consensus/vbft/msg_types.go:59
↓ 9 callers
Function
SignTransaction
(signer *account.Account, tx *types.MutableTransaction)
cmd/utils/gas.go:292
↓ 9 callers
Method
ToArray
()
vm/neovm/params_builder.go:97
↓ 9 callers
Method
WriteUint8
(data uint8)
common/zero_copy_sink.go:90
↓ 9 callers
Method
broadcast
(msg ConsensusMsg)
consensus/vbft/node_utils.go:427
↓ 9 callers
Function
constructPeerPool
(connect bool)
consensus/vbft/peer_pool_test.go:32
↓ 9 callers
Function
generateAdminKey
(contract common.Address, isTransferAdmin bool)
smartcontract/service/native/global_params/utils.go:56
↓ 9 callers
Function
initTestNbrPeers
()
p2pserver/peer/nbr_peer_test.go:50
↓ 9 callers
Function
insertPk
(srvc *native.NativeService, encID, pk []byte)
smartcontract/service/native/did/owner.go:96
↓ 9 callers
Function
isValid
(srvc *native.NativeService, encID []byte)
smartcontract/service/native/did/utils.go:34
↓ 9 callers
Function
newEvent
(srvc *native.NativeService, st interface{})
smartcontract/service/native/did/event.go:31
↓ 8 callers
Method
AsArrayValue
()
vm/neovm/types/neovm_value.go:645
↓ 8 callers
Method
CircularRefAndDepthDetection
()
vm/neovm/types/neovm_value.go:488
↓ 8 callers
Method
Clean
()
validator/increment/increment.go:50
↓ 8 callers
Function
ClearPasswd
(passwd []byte)
cmd/common/common.go:173
↓ 8 callers
Method
Count
()
vm/neovm/value_stack.go:44
↓ 8 callers
Method
Deserialization
(source *common.ZeroCopySource)
smartcontract/service/native/governance/states.go:199
↓ 8 callers
Function
EncodeInt128
(sink *common.ZeroCopySink, val common.I128)
vm/crossvm_codec/codec.go:229
↓ 8 callers
Function
Fatalf
(format string, a ...interface{})
common/log/log.go:313
↓ 8 callers
Method
GetHash
(pos uint32)
merkle/file_hash_store.go:37
↓ 8 callers
Method
GetHeaderByHeight
(height uint32)
core/store/store.go:58
↓ 8 callers
Method
GetRawCode
()
core/payload/deploy_code.go:86
↓ 8 callers
Method
GetStateMerkleRoot
called by consensus
core/store/store.go:50
↓ 8 callers
Function
GetUint32Bytes
(num uint32)
smartcontract/service/native/governance/utils.go:212
↓ 8 callers
Function
GetVarUintSize
(value uint64)
common/serialization/serialize.go:171
↓ 8 callers
Method
Insert
Insert adds items to the set.
p2pserver/common/set/string_set.go:53
↓ 8 callers
Method
NewAccount
NewAccount create a new account.
account/client.go:41
↓ 8 callers
Function
NewNetServer
NewNetServer return the net object in p2p
p2pserver/net/netserver/netserver.go:44
↓ 8 callers
Function
NewTxPoolServer
NewTxPoolServer creates a new tx pool server to schedule workers to handle and filter inbound transactions from the network, http, and consensus.
txnpool/proc/txnpool_server.go:95
↓ 8 callers
Function
NewValueStack
(limit int64)
vm/neovm/value_stack.go:37
↓ 8 callers
Method
PopPair
()
vm/neovm/value_stack.go:139
↓ 8 callers
Function
PrepareSendRawTransaction
(txData string)
cmd/utils/gas.go:447
↓ 8 callers
Method
Put
Put sets the value for the given key. It overwrites any previous value for that key; a MemDB is not a multi-map. It is safe to modify the contents of
core/store/overlaydb/memdb.go:282
↓ 8 callers
Method
ReadOpCode
()
core/program/program.go:158
↓ 8 callers
Method
Reset
(bkAccount *account.Account)
consensus/dbft/consensus_context.go:195
↓ 8 callers
Method
SetPort
set port number
p2pserver/link/link.go:86
↓ 8 callers
Function
VmValueFromInt64
(val int64)
vm/neovm/types/neovm_value.go:67
↓ 8 callers
Method
addPeer
(config *vconfig.PeerConfig)
consensus/vbft/peer_pool.go:89
↓ 8 callers
Method
checkSigScheme
(keyType, sigScheme string)
account/client.go:536
↓ 8 callers
Function
getConfig
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/utils.go:380
↓ 8 callers
Method
getLastConfigBlockNum
()
consensus/vbft/types.go:53
↓ 8 callers
Method
isEndorser
(blockNum uint32, peerIdx uint32)
consensus/vbft/node_utils.go:107
↓ 8 callers
Function
makeLinkedlistNode
(next []byte, prev []byte, payload []byte)
smartcontract/service/native/utils/linked_list.go:49
← previous
next →
201–300 of 3,494, ranked by callers