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
OnDelNode
OnDelNode removes the peer id from the block sync mgr
p2pserver/p2pserver.go:201
↓ 1 callers
Method
OnHeaderReceive
OnHeaderReceive adds the header list from network
p2pserver/p2pserver.go:206
↓ 1 callers
Method
Options
(path string, handler http.HandlerFunc)
http/restful/restful/router.go:116
↓ 1 callers
Function
ParseIPPort
ParseIPPort return ip port
p2pserver/common/p2p_common.go:170
↓ 1 callers
Function
ParseNativeParamAddress
(builder *neovm.ParamsBuilder, param string)
cmd/utils/native_param.go:240
↓ 1 callers
Function
ParseNativeParamArray
(builder *neovm.ParamsBuilder, param interface{}, arrayAbi *abi.NativeContractParamAbi)
cmd/utils/native_param.go:151
↓ 1 callers
Function
ParseNativeParamBool
(builder *neovm.ParamsBuilder, param string)
cmd/utils/native_param.go:226
↓ 1 callers
Function
ParseNativeParamByte
(builder *neovm.ParamsBuilder, param string)
cmd/utils/native_param.go:173
↓ 1 callers
Function
ParseNativeParamByteArray
(builder *neovm.ParamsBuilder, param string)
cmd/utils/native_param.go:188
↓ 1 callers
Function
ParseNativeParamInteger
(builder *neovm.ParamsBuilder, param string)
cmd/utils/native_param.go:214
↓ 1 callers
Function
ParseNativeParamString
(builder *neovm.ParamsBuilder, param string)
cmd/utils/native_param.go:209
↓ 1 callers
Function
ParseNativeParamStruct
(builder *neovm.ParamsBuilder, param interface{}, structAbi *abi.NativeContractParamAbi)
cmd/utils/native_param.go:126
↓ 1 callers
Function
ParseNativeParamUint256
(builder *neovm.ParamsBuilder, param string)
cmd/utils/native_param.go:197
↓ 1 callers
Function
ParseNeoVMContractReturnTypeBool
ParseNeoVMContractReturnTypeBool return bool value of smart contract execute code.
cmd/utils/gas.go:768
↓ 1 callers
Function
ParseNeoVMContractReturnTypeByteArray
ParseNeoVMContractReturnTypeByteArray return []byte value of smart contract execute code.
cmd/utils/gas.go:782
↓ 1 callers
Function
ParseNeoVMContractReturnTypeInteger
ParseNeoVMContractReturnTypeInteger return integer value of smart contract execute code.
cmd/utils/gas.go:773
↓ 1 callers
Function
ParseNeoVMContractReturnTypeString
ParseNeoVMContractReturnTypeString return string value of smart contract execute code.
cmd/utils/gas.go:787
↓ 1 callers
Function
ParseNeovmFunc
(rawParams []string, funcAbi *abi.NeovmContractFunctionAbi)
cmd/utils/neovm_param_abi.go:41
↓ 1 callers
Function
ParseNeovmParam
(params []string, paramsAbi []*abi.NeovmContractParamsAbi)
cmd/utils/neovm_param_abi.go:63
↓ 1 callers
Function
ParseNeovmParamBoolean
(param string)
cmd/utils/neovm_param_abi.go:108
↓ 1 callers
Function
ParseNeovmParamByteArray
(param string)
cmd/utils/neovm_param_abi.go:121
↓ 1 callers
Function
ParseNeovmParamInteger
(param string)
cmd/utils/neovm_param_abi.go:97
↓ 1 callers
Function
ParseNeovmParamString
(param string)
cmd/utils/neovm_param_abi.go:93
↓ 1 callers
Function
ParseWasmVMContractReturnTypeBool
ParseWasmVMContractReturnTypeBool return bool value of smart contract execute code.
cmd/utils/gas.go:840
↓ 1 callers
Function
ParseWasmVMContractReturnTypeByteArray
(hexStr string)
cmd/utils/gas.go:795
↓ 1 callers
Function
ParseWasmVMContractReturnTypeInteger
ParseWasmVMContractReturnTypeInteger return integer value of smart contract execute code.
cmd/utils/gas.go:829
↓ 1 callers
Function
ParseWasmVMContractReturnTypeString
ParseWasmVMContractReturnTypeString return string value of smart contract execute code.
cmd/utils/gas.go:812
↓ 1 callers
Function
PingHandle
PingHandle handle ping msg from peer
p2pserver/message/utils/msg_handler.go:129
↓ 1 callers
Function
PongHandle
PongHandle handle pong msg from peer
p2pserver/message/utils/msg_handler.go:151
↓ 1 callers
Method
PopContext
()
vm/neovm/executor.go:63
↓ 1 callers
Method
PopPairAsBool
()
vm/neovm/value_stack_conversion.go:130
↓ 1 callers
Method
PopPairAsInt64
()
vm/neovm/value_stack_conversion.go:139
↓ 1 callers
Method
PopTriple
()
vm/neovm/value_stack.go:148
↓ 1 callers
Method
PopTripleAsBytes
()
vm/neovm/value_stack_conversion.go:157
↓ 1 callers
Method
PopTripleAsIntVal
()
vm/neovm/value_stack_conversion.go:183
↓ 1 callers
Function
PreExecuteContract
PreExecuteContract from ledger
http/base/actor/ledger.go:91
↓ 1 callers
Method
PreExecuteContract
PreExecuteContract return the result of smart contract execution without commit to store
core/store/ledgerstore/ledger_store.go:1037
↓ 1 callers
Method
PreExecuteContract
(tx *types.Transaction)
core/ledger/ledger.go:181
↓ 1 callers
Function
PrepareDeployContract
( vmtype payload.VmType, code, cname, cversion, cauthor, cemail, cdesc string)
cmd/utils/gas.go:614
↓ 1 callers
Function
PrepareInvokeCodeNeoVMContract
(code []byte)
cmd/utils/gas.go:701
↓ 1 callers
Function
PrepareInvokeNeoVMContract
( contractAddress common.Address, params []interface{}, )
cmd/utils/gas.go:683
↓ 1 callers
Function
PrepareInvokeWasmVMContract
prepare invoke wasm
cmd/utils/gas.go:715
↓ 1 callers
Method
PrepareRequestReceived
(payload *p2pmsg.ConsensusPayload, message *PrepareRequest)
consensus/dbft/dbft_service.go:391
↓ 1 callers
Method
PrepareResponseReceived
(payload *p2pmsg.ConsensusPayload, message *PrepareResponse)
consensus/dbft/dbft_service.go:513
↓ 1 callers
Function
PrintJsonObject
(obj interface{})
cmd/usage.go:458
↓ 1 callers
Method
PrivKey
()
account/account.go:87
↓ 1 callers
Function
ProgramFromParams
(sigs [][]byte)
core/program/program.go:129
↓ 1 callers
Function
Pubkey
(nodeid string)
consensus/vbft/config/types.go:39
↓ 1 callers
Method
PushMany
(vals ...types.VmValue)
vm/neovm/value_stack.go:103
↓ 1 callers
Method
PushPubKey
(pubkey keypair.PublicKey)
core/program/program.go:45
↓ 1 callers
Method
PushTxResult
(contractAddrs map[string]bool, txHashStr string, resp map[string]interface{})
http/websocket/websocket/server.go:392
↓ 1 callers
Method
PushUint64
(val uint64)
vm/neovm/value_stack_conversion.go:46
↓ 1 callers
Function
ReadBool
(reader io.Reader)
common/serialization/serialize.go:291
↓ 1 callers
Method
ReadOpCode
()
vm/neovm/execution_context.go:61
↓ 1 callers
Method
ReadUint64
()
vm/neovm/utils/vm_reader.go:93
↓ 1 callers
Function
ReadUint8
(reader io.Reader)
common/serialization/serialize.go:191
↓ 1 callers
Method
ReadVarBytes
(max uint32)
vm/neovm/utils/vm_reader.go:124
↓ 1 callers
Method
ReadVarInt
(max uint64)
vm/neovm/utils/vm_reader.go:132
↓ 1 callers
Method
ReadVarString
(maxlen uint32)
vm/neovm/utils/vm_reader.go:162
↓ 1 callers
Method
RebuildMerkleRoot
()
core/types/block.go:110
↓ 1 callers
Method
Refresh
()
consensus/policy.go:37
↓ 1 callers
Method
ReloadFromLedger
()
consensus/vbft/chain_store.go:99
↓ 1 callers
Method
Remain
Remain returns the remaining tx list to cleanup
txnpool/common/transaction_pool.go:254
↓ 1 callers
Method
RemoveFromOutConnRecord
RemoveOutConnRecord remove out connection from outConnRecord
p2pserver/net/netserver/netserver.go:595
↓ 1 callers
Method
RemovePeerIndex
(nodeId string)
consensus/vbft/peer_pool.go:295
↓ 1 callers
Method
RemoveTimeoverTxHashes
remove timew over transaction hashes
http/websocket/session/session.go:109
↓ 1 callers
Method
RemoveTxsBelowGasPrice
RemoveTxsBelowGasPrice drops all transactions below the gas price
txnpool/common/transaction_pool.go:243
↓ 1 callers
Method
Reset
()
smartcontract/storage/cachedb.go:51
↓ 1 callers
Method
Restart
()
http/websocket/websocket/server.go:219
↓ 1 callers
Function
RootErr
(err error)
errors/errors.go:61
↓ 1 callers
Method
SaveBookkeeperState
SaveBookkeeperState persist book keeper state to store
core/store/ledgerstore/state_store.go:287
↓ 1 callers
Method
SaveEventNotifyByBlock
Save transaction hashes which have event notify gen
core/store/common/store.go:93
↓ 1 callers
Method
SaveEventNotifyByTx
SaveEventNotifyByTx save event notify gen by smart contract execution
core/store/common/store.go:91
↓ 1 callers
Function
SaveNotify
(eventStore scommon.EventStore, txHash common.Uint256, notify *event.ExecuteNotify)
core/store/ledgerstore/tx_handler.go:131
↓ 1 callers
Method
Seek
(key []byte)
core/store/overlaydb/memdb.go:111
↓ 1 callers
Method
Seek
(offset int64, whence int)
vm/neovm/utils/vm_reader.go:120
↓ 1 callers
Method
Send
Send transfer buffer by sync or cons link
p2pserver/peer/peer.go:278
↓ 1 callers
Method
SendRaw
(rawPacket []byte)
p2pserver/link/link.go:180
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
core/types/block.go:36
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
core/types/transaction_attribute.go:65
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
core/states/state_base.go:34
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
core/states/storage_key.go:34
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
core/states/bookkeeper.go:37
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
core/states/validator_state.go:36
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
core/states/vote_state.go:36
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
core/payload/bookkeeper.go:49
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
core/payload/invoke_code.go:49
↓ 1 callers
Method
Serialization
Serialize serialize Address into io.Writer
common/address.go:47
↓ 1 callers
Method
Serialization
()
smartcontract/service/native/utils/linked_list.go:57
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
smartcontract/service/native/auth/param.go:38
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
smartcontract/service/native/auth/param.go:61
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
smartcontract/service/native/auth/param.go:91
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
smartcontract/service/native/auth/param.go:141
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
smartcontract/service/native/auth/param.go:192
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
smartcontract/service/native/auth/param.go:241
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
smartcontract/service/native/auth/param.go:275
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
smartcontract/service/native/auth/state.go:54
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
smartcontract/service/native/auth/state.go:88
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
smartcontract/service/native/auth/state.go:118
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
smartcontract/service/native/global_params/states.go:59
← previous
next →
1,501–1,600 of 3,494, ranked by callers