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
↓ 4 callers
Method
BroadcastToSubscribers
(contractAddrs map[string]bool, sub int, resp map[string]interface{})
http/websocket/websocket/server.go:417
↓ 4 callers
Method
BuildParamToNative
(sink *common.ZeroCopySink)
vm/neovm/types/neovm_value.go:157
↓ 4 callers
Method
CallingContext
()
smartcontract/context/context.go:39
↓ 4 callers
Function
DecodeUint32
(source *common.ZeroCopySource)
smartcontract/service/native/utils/serialization.go:84
↓ 4 callers
Method
DeleteContract
(address comm.Address)
smartcontract/storage/cachedb.go:116
↓ 4 callers
Method
Deserialization
Transaction has internal reference of param `source`
core/types/transaction.go:74
↓ 4 callers
Method
Deserialization
(source *common.ZeroCopySource)
smartcontract/service/native/global_params/states.go:67
↓ 4 callers
Method
Deserialize
(data []byte)
consensus/vbft/types.go:88
↓ 4 callers
Method
ForEach
(f func(key, val []byte))
core/store/overlaydb/memdb.go:367
↓ 4 callers
Function
GetAccountMetadataMulti
(wallet account.Client, accAddr string)
cmd/common/common.go:101
↓ 4 callers
Method
GetBookkeepers
()
common/config/config.go:456
↓ 4 callers
Function
GetConfirmedPassword
GetConfirmedPassword gets double confirmed password from user input
common/password/password.go:43
↓ 4 callers
Method
GetContractState
(contractHash common.Address)
core/store/store.go:66
↓ 4 callers
Method
GetCurrentHeaderHash
()
core/store/store.go:54
↓ 4 callers
Function
GetGovernanceView
(memdb *overlaydb.MemDB)
consensus/vbft/utils.go:258
↓ 4 callers
Method
GetInstructionPointer
()
vm/neovm/execution_context.go:48
↓ 4 callers
Method
GetKeyPair
()
account/file_store.go:56
↓ 4 callers
Method
GetNetWork
GetNetWork returns the low level netserver
p2pserver/p2pserver.go:132
↓ 4 callers
Method
GetNodeId
GetNodeId return current node id for sending msg
p2pserver/block_sync.go:166
↓ 4 callers
Method
GetPeerFromAddr
(addr string)
p2pserver/net/protocol/server.go:54
↓ 4 callers
Method
GetRawHeaderByHash
(blockHash common.Uint256)
core/store/store.go:57
↓ 4 callers
Function
GetStorageValue
(memdb *overlaydb.MemDB, backend *ledger.Ledger, addr common.Address, key []byte)
consensus/vbft/utils.go:242
↓ 4 callers
Method
GetTxnPool
(byCount bool, height uint32)
consensus/actor/actor.go:40
↓ 4 callers
Function
GetValueFromRawStorageItem
(raw []byte)
core/states/storage_item.go:61
↓ 4 callers
Method
GetWalletData
Get the underlying wallet data
account/client.go:79
↓ 4 callers
Function
Init
()
events/actor_event.go:36
↓ 4 callers
Method
Init
Init creates a new transaction pool to gather.
txnpool/common/transaction_pool.go:58
↓ 4 callers
Method
Init
initialize nbr list
p2pserver/peer/nbr_peers.go:96
↓ 4 callers
Method
Init
(path string)
cmd/abi/abi_mgr.go:53
↓ 4 callers
Method
IntoMutable
note: ownership transfered to output
core/types/transaction.go:123
↓ 4 callers
Method
InventoryType
return inventory type
p2pserver/message/types/consensus_payload.go:70
↓ 4 callers
Method
Len
Len returns the number of entries in the MemDB.
core/store/overlaydb/memdb.go:415
↓ 4 callers
Method
Lsh
(other IntValue)
vm/neovm/types/int_value.go:75
↓ 4 callers
Method
MakePayload
(message ConsensusMessage)
consensus/dbft/consensus_context.go:125
↓ 4 callers
Method
NewAccountData
(typeCode keypair.KeyType, curveCode byte, sigScheme s.SignatureScheme, passwd []byte)
cmd/sigsvr/store/wallet_store.go:241
↓ 4 callers
Function
NewDeployCodeTransaction
NewDeployCodeTransaction return a smart contract deploy transaction instance
cmd/utils/gas.go:748
↓ 4 callers
Method
NewExecuteEngine
(code []byte, txtype types.TransactionType)
smartcontract/context/context.go:44
↓ 4 callers
Function
NewExecutor
(code []byte, feature VmFeatureFlag)
vm/neovm/executor.go:43
↓ 4 callers
Function
NewLevelDBStore
NewLevelDBStore return LevelDBStore instance
core/store/leveldbstore/leveldb_store.go:46
↓ 4 callers
Function
NewMockP2p
()
p2pserver/message/utils/msg_handler_test.go:68
↓ 4 callers
Function
NewStorageContext
NewStorageContext return a new smart contract storage context
smartcontract/service/neovm/storage_context.go:37
↓ 4 callers
Function
NewStringSet
NewStringSet creates a StringSet from a list of values.
p2pserver/common/set/string_set.go:34
↓ 4 callers
Function
NewWalletData
()
account/file_store.go:81
↓ 4 callers
Method
NodeEstablished
(uint64)
p2pserver/net/protocol/server.go:65
↓ 4 callers
Method
NodeExisted
NodeExisted return when peer in nbr list
p2pserver/peer/nbr_peers.go:54
↓ 4 callers
Method
Notify
Notify subscribers that Subscribe specified event
events/event.go:73
↓ 4 callers
Function
PrintJsonData
(data []byte)
cmd/usage.go:448
↓ 4 callers
Method
PushBytes
(val []byte)
vm/neovm/value_stack_conversion.go:69
↓ 4 callers
Method
PushOpCode
(op neovm.OpCode)
core/program/program.go:40
↓ 4 callers
Method
PushUint32
(val uint32)
vm/neovm/value_stack_conversion.go:49
↓ 4 callers
Method
ReadByte
()
vm/neovm/utils/vm_reader.go:43
↓ 4 callers
Method
ReadBytes
()
core/program/program.go:212
↓ 4 callers
Method
ReadBytes
(count int)
vm/neovm/utils/vm_reader.go:48
↓ 4 callers
Function
ReadVarBytes
(reader io.Reader)
common/serialization/serialize.go:151
↓ 4 callers
Method
RemoveAt
(index int64)
vm/neovm/types/array_value.go:51
↓ 4 callers
Method
RemoveFromConnectingList
(addr string)
p2pserver/net/protocol/server.go:57
↓ 4 callers
Method
Reset
Reset resets the MemDB to initial empty state. Allows reuse the buffer.
core/store/overlaydb/memdb.go:420
↓ 4 callers
Method
Rsh
(other IntValue)
vm/neovm/types/int_value.go:40
↓ 4 callers
Method
Save
(path string)
account/file_store.go:144
↓ 4 callers
Method
SaveCurrentBlock
SaveCurrentBlock persist current block to state store
core/store/ledgerstore/state_store.go:339
↓ 4 callers
Function
SendRawTransactionData
(txData string)
cmd/utils/gas.go:434
↓ 4 callers
Method
Serialization
(sink *common.ZeroCopySink)
core/types/header.go:138
↓ 4 callers
Function
SerializeVbftMsg
(msg ConsensusMsg)
consensus/vbft/msg_builder.go:126
↓ 4 callers
Method
SetChan
set message channel for link layer
p2pserver/link/link.go:71
↓ 4 callers
Method
SetInstructionPointer
(offset int64)
vm/neovm/execution_context.go:52
↓ 4 callers
Method
SetRelay
SerRelay sets a peer's relay
p2pserver/peer/peer.go:82
↓ 4 callers
Method
SetServices
SetServices sets a peer's services
p2pserver/peer/peer.go:72
↓ 4 callers
Method
SignAndRelay
(payload *p2pmsg.ConsensusPayload)
consensus/dbft/dbft_service.go:613
↓ 4 callers
Method
StartEndorsingTimer
(blockNum uint32)
consensus/vbft/event_timer.go:242
↓ 4 callers
Function
StringsDedupAndSort
remove duplicates in the slice of string and sorts the slice in increasing order.
smartcontract/service/native/auth/utils.go:171
↓ 4 callers
Method
ToArray
()
core/states/storage_item.go:57
↓ 4 callers
Method
ToJson
()
smartcontract/service/native/did/group.go:41
↓ 4 callers
Function
TransferTx
(gasPrice, gasLimit uint64, asset, from, to string, amount uint64)
cmd/utils/gas.go:208
↓ 4 callers
Method
Verify
()
common/inventory.go:36
↓ 4 callers
Function
WriteMessage
(sink *comm.ZeroCopySink, msg Message)
p2pserver/message/types/message.go:90
↓ 4 callers
Function
WriteVarBytes
(writer io.Writer, value []byte)
common/serialization/serialize.go:138
↓ 4 callers
Method
addBlockEndorsementLocked
(blkNum uint32, endorser uint32, eSig *CandidateEndorseSigInfo, commitment bool)
consensus/vbft/block_pool.go:265
↓ 4 callers
Function
addKeyByRec
(n *native.NativeService, id string, pk []byte, s []Signer, addr []common.Address)
smartcontract/service/native/did/recovery_test.go:210
↓ 4 callers
Method
addTxList
addTxList adds a valid transaction to the tx pool.
txnpool/proc/txnpool_server.go:570
↓ 4 callers
Function
allowance
check how many token the spender is allowed to spend from owner account :param owner: token owner :param spender: token spender :ret
wasmtest/contracts-cplus/test_oep4.py:265
↓ 4 callers
Function
appCallTransferFromOng
(native *native.NativeService, sender common.Address, from common.Address, to common.Address, amount uint64)
smartcontract/service/native/governance/utils.go:159
↓ 4 callers
Function
checkAltStackOpCode
(t *testing.T, code OpCode, origin [2][]Value, expected [2][]Value)
vm/neovm/stack_opcode_test.go:99
↓ 4 callers
Method
checkNeedUpdateChainConfig
checkNeedUpdateChainConfig use blockcount
consensus/vbft/service.go:2142
↓ 4 callers
Method
committedForBlock
(blockNum uint32)
consensus/vbft/block_pool.go:401
↓ 4 callers
Function
compareIntOpInner
(t *testing.T, left, right *big.Int, func1, func2 IntOp)
vm/neovm/int_value_test.go:75
↓ 4 callers
Function
constructEventTimer
()
consensus/vbft/event_timer_test.go:26
↓ 4 callers
Function
depositTotalStake
(native *native.NativeService, contract common.Address, address common.Address, stake uint64)
smartcontract/service/native/governance/method.go:569
↓ 4 callers
Method
endorseFailed
(blkNum uint32, C uint32)
consensus/vbft/block_pool.go:354
↓ 4 callers
Method
endorsedForBlock
(blkNum uint32)
consensus/vbft/block_pool.go:178
↓ 4 callers
Method
executeBlock
(block *types.Block)
core/store/ledgerstore/ledger_store.go:620
↓ 4 callers
Method
fetchProposal
(blkNum uint32, proposer uint32)
consensus/vbft/service.go:2311
↓ 4 callers
Function
genStorageKey
(address common.Address, key []byte)
smartcontract/service/neovm/storage.go:144
↓ 4 callers
Method
getAccountMetadata
(accData *AccountData)
account/client.go:334
↓ 4 callers
Method
getBlock
(blockNum uint32)
consensus/vbft/chain_store.go:171
↓ 4 callers
Function
getCommitConsensus
check if commit msgs has reached consensus return @ consensused proposer @ consensused for empty commit
consensus/vbft/node_utils.go:322
↓ 4 callers
Function
getContractAdmin
(native *native.NativeService, contractAddr common.Address)
smartcontract/service/native/auth/utils.go:50
↓ 4 callers
Function
getDelegateStatus
(native *native.NativeService, contractAddr common.Address, DID []byte)
smartcontract/service/native/auth/utils.go:146
↓ 4 callers
Function
getListHead
(native *native.NativeService, index []byte)
smartcontract/service/native/utils/linked_list.go:85
↓ 4 callers
Method
getMapSortedKey
()
vm/neovm/types/map_value.go:81
↓ 4 callers
Method
getMinActivePeerCount
()
consensus/vbft/state_mgmt.go:316
← previous
next →
501–600 of 3,494, ranked by callers