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
Serialization
(sink *common.ZeroCopySink)
smartcontract/service/native/global_params/states.go:88
↓ 1 callers
Method
Serialization
(sink *common.ZeroCopySink)
smartcontract/states/contract.go:43
↓ 1 callers
Method
Serialize
(w io.Writer)
cmd/utils/export.go:57
↓ 1 callers
Method
Serialize
Write data to writer
common/serialization/serialize.go:38
↓ 1 callers
Method
Serialize
()
smartcontract/service/native/did/group.go:46
↓ 1 callers
Method
SessionTimeoverCheck
sesseion time over check
http/websocket/session/session.go:99
↓ 1 callers
Method
SetHeight
SetHeight set height to peer
p2pserver/peer/peer.go:183
↓ 1 callers
Method
SetHeight
SetHeight sets the local's height
p2pserver/net/netserver/netserver.go:144
↓ 1 callers
Function
SetNeoServiceParamAndEngine
(addr common.Address, engine context.Engine, stack *neovm.ValueStack)
smartcontract/service/util/util.go:70
↓ 1 callers
Method
SetOwnAddress
(addr string)
p2pserver/net/protocol/server.go:67
↓ 1 callers
Method
SetPID
SetPID sets p2p actor
p2pserver/p2pserver.go:227
↓ 1 callers
Method
SetSoftVersion
SetSoftVersion sets a peers's software version
p2pserver/peer/peer.go:122
↓ 1 callers
Method
SetValue
(data []byte)
smartcontract/service/native/did/attribute.go:53
↓ 1 callers
Function
SigData
(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)
cmd/sigsvr/handlers/sig_data.go:39
↓ 1 callers
Function
SigNativeInvokeTx
(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)
cmd/sigsvr/handlers/sig_native_invoke_tx.go:48
↓ 1 callers
Function
SigNeoVMInvokeAbiTx
(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)
cmd/sigsvr/handlers/sig_neovm_invoke_tx_abi.go:47
↓ 1 callers
Function
SigNeoVMInvokeTx
(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)
cmd/sigsvr/handlers/sig_neovm_invoke_tx.go:47
↓ 1 callers
Function
SigRawTransaction
(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)
cmd/sigsvr/handlers/sig_raw_tx.go:43
↓ 1 callers
Function
SigTransferTransaction
(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)
cmd/sigsvr/handlers/sig_transfer_tx.go:48
↓ 1 callers
Function
SignMsg
(account *account.Account, msg ConsensusMsg)
consensus/vbft/utils.go:46
↓ 1 callers
Method
Size
()
common/zero_copy_sink.go:72
↓ 1 callers
Method
Start
start websocket server
http/websocket/websocket/server.go:88
↓ 1 callers
Method
Start
start server
http/restful/restful/server.go:98
↓ 1 callers
Method
Start
()
consensus/vbft/service.go:199
↓ 1 callers
Method
Start2ndProposalTimer
(blockNum uint32)
consensus/vbft/event_timer.go:315
↓ 1 callers
Method
StartBackoffTimer
(blockNum uint32)
consensus/vbft/event_timer.go:301
↓ 1 callers
Function
StartLocalServer
()
http/localrpc/local_server.go:40
↓ 1 callers
Method
StartProposalBackoffTimer
(blockNum uint32)
consensus/vbft/event_timer.go:287
↓ 1 callers
Method
StartProposalTimer
(blockNum uint32)
consensus/vbft/event_timer.go:227
↓ 1 callers
Function
StartRPCServer
()
http/jsonrpc/rpc_server.go:35
↓ 1 callers
Function
StartServer
(n p2p.P2P)
http/nodeinfo/server.go:118
↓ 1 callers
Function
StartServer
()
http/websocket/server.go:41
↓ 1 callers
Function
StartServer
start restful
http/restful/server.go:30
↓ 1 callers
Method
StartTxBlockTimeout
(blockNum uint32)
consensus/vbft/event_timer.go:339
↓ 1 callers
Function
StartTxnPoolServer
StartTxnPoolServer starts the txnpool server and registers actors to handle the msgs from the network, http, consensus and validators. Meanwhile subsc
txnpool/server.go:56
↓ 1 callers
Method
Stop
()
http/websocket/websocket/server.go:213
↓ 1 callers
Method
Stop
stop restful server
http/restful/restful/server.go:326
↓ 1 callers
Function
StoreGasCost
(gasTable map[string]uint64, engine *vm.Executor)
smartcontract/service/neovm/gas_cost.go:29
↓ 1 callers
Method
Stringify
only for debug/testing
vm/neovm/types/neovm_value.go:708
↓ 1 callers
Method
Swap
(i, j int64)
vm/neovm/value_stack.go:157
↓ 1 callers
Method
SystemCall
SystemCall provide register service for smart contract to interaction with blockchain
smartcontract/service/neovm/neovm_service.go:244
↓ 1 callers
Function
TLSDial
TLSDial return net.Conn with TLS
p2pserver/net/netserver/net_utils.go:71
↓ 1 callers
Function
ToBigInt
(data interface{})
vm/neovm/common.go:48
↓ 1 callers
Method
ToBigInt
()
common/int128.go:99
↓ 1 callers
Method
ToLowSecurity
(passwords [][]byte)
account/file_store.go:176
↓ 1 callers
Method
ToNumString
()
common/int128.go:114
↓ 1 callers
Method
Trace
(a ...interface{})
common/log/log.go:165
↓ 1 callers
Method
Tracef
(format string, a ...interface{})
common/log/log.go:169
↓ 1 callers
Function
TransArryByteToHexString
(ptx *types.Transaction)
http/base/common/common.go:199
↓ 1 callers
Function
TransPayloadToHex
get tranasction payload data
http/base/common/payload_to_hex.go:82
↓ 1 callers
Function
TransactionHandle
TransactionHandle handles the transaction message from peer
p2pserver/message/utils/msg_handler.go:226
↓ 1 callers
Function
Transfer
Transfer ont|ong from account to another account
cmd/utils/gas.go:116
↓ 1 callers
Function
Transfer
(native *native.NativeService, contract common.Address, state *State)
smartcontract/service/native/gas/utils.go:76
↓ 1 callers
Function
TransferFrom
(gasPrice, gasLimit uint64, signer *account.Account, asset, sender, from, to string, amount uint64)
cmd/utils/gas.go:136
↓ 1 callers
Function
TransferedFrom
(native *native.NativeService, currentContract common.Address, state *TransferFrom)
smartcontract/service/native/gas/utils.go:98
↓ 1 callers
Method
Transmit
(target uint64, msg ptypes.Message)
consensus/actor/actor.go:78
↓ 1 callers
Method
Try
(path string, method string)
http/restful/restful/router.go:49
↓ 1 callers
Method
Type
()
core/types/transaction.go:330
↓ 1 callers
Function
Uint256ParseFromBytes
(f []byte)
p2pserver/message/types/notfound_test.go:30
↓ 1 callers
Method
UnRegisterMsgHandler
UnRegisterMsgHandler un-registers the msg handler with the msg type
p2pserver/message/utils/msg_router.go:85
↓ 1 callers
Method
UnSubscribe
UnSubscribe removes the specified subscriber
events/event.go:56
↓ 1 callers
Method
UnmarshalJSON
(data []byte)
consensus/vbft/msg_types.go:113
↓ 1 callers
Method
UpdateActiveTime
update active time
http/websocket/session/session.go:78
↓ 1 callers
Method
Valid
If there is connection return true
p2pserver/link/link.go:66
↓ 1 callers
Function
VerAckHandle
VerAckHandle handles the version ack from peer
p2pserver/message/utils/msg_handler.go:364
↓ 1 callers
Method
VerifyConsistency
* Verify the consistency between two root hashes. old_tree_size must be <= new_tree_size. Args: old_tree_size: size of the older tre
merkle/merkle_tree.go:467
↓ 1 callers
Function
VerifyHeader
(header, prevHeader *types.Header)
core/validation/block_validator.go:84
↓ 1 callers
Function
VerifyTransactionWithLedger
(tx *types.Transaction, ledger *ledger.Ledger)
core/validation/transaction_validator.go:54
↓ 1 callers
Function
VersionHandle
VersionHandle handles version handshake protocol from peer
p2pserver/message/utils/msg_handler.go:240
↓ 1 callers
Method
WaitForPeersStart
WaitForPeersStart check whether enough peer linked in loop
p2pserver/p2pserver.go:276
↓ 1 callers
Method
Warn
(a ...interface{})
common/log/log.go:189
↓ 1 callers
Method
Warnf
(format string, a ...interface{})
common/log/log.go:193
↓ 1 callers
Method
WriteInt32
(data int32)
common/zero_copy_sink.go:126
↓ 1 callers
Function
WriteUint16
(writer io.Writer, val uint16)
common/serialization/serialize.go:234
↓ 1 callers
Function
WriteUint64
(writer io.Writer, val uint64)
common/serialization/serialize.go:248
↓ 1 callers
Function
WriteUint8
(writer io.Writer, val uint8)
common/serialization/serialize.go:227
↓ 1 callers
Function
ZLibCompress
(data []byte)
cmd/utils/export.go:136
↓ 1 callers
Function
ZLibDecompress
(data []byte)
cmd/utils/export.go:147
↓ 1 callers
Method
_hash_full
(leaves []common.Uint256, l_idx, r_idx uint32)
merkle/merkle_hasher.go:85
↓ 1 callers
Method
actionLoop
()
consensus/vbft/service.go:1379
↓ 1 callers
Function
add
(a, b)
wasmtest/contracts-cplus/neo_contract.py:92
↓ 1 callers
Function
add
(a: U128, b: U128)
wasmtest/contracts-rust/helloworld/src/lib.rs:9
↓ 1 callers
Function
addAttributesByController
(srvc *native.NativeService)
smartcontract/service/native/did/controller.go:233
↓ 1 callers
Method
addBlock
(nodeID uint64, block *types.Block, merkleRoot common.Uint256)
p2pserver/block_sync.go:266
↓ 1 callers
Method
addFlightHeader
(nodeId uint64, height uint32)
p2pserver/block_sync.go:761
↓ 1 callers
Method
addHeaderCache
(header *types.Header)
core/store/ledgerstore/ledger_store.go:395
↓ 1 callers
Function
addKeyByController
(srvc *native.NativeService)
smartcontract/service/native/did/controller.go:163
↓ 1 callers
Function
addKeyByRecovery
(srvc *native.NativeService)
smartcontract/service/native/did/recovery.go:122
↓ 1 callers
Method
addMsg
(msg ConsensusMsg, msgHash common.Uint256)
consensus/vbft/msg_pool.go:56
↓ 1 callers
Method
addNewSpeed
addNewSpeed apend the new speed to tail, remove the oldest one
p2pserver/block_sync.go:963
↓ 1 callers
Method
addP2pId
(peerIdx uint32, p2pId uint64)
consensus/vbft/peer_pool.go:280
↓ 1 callers
Method
addReqRecord
addReqRecord add request record by removing outdated request records
p2pserver/link/link.go:222
↓ 1 callers
Method
addSignaturesToBlockLocked
(block *Block, forEmpty bool)
consensus/vbft/block_pool.go:585
↓ 1 callers
Method
addToRetryList
addToRetryList add retry address to ReconnectAddrs
p2pserver/p2pserver.go:545
↓ 1 callers
Function
addsync
(m *sync.Map, va int)
core/store/ledgerstore/tx_handler_test.go:78
↓ 1 callers
Function
appCallInitContractAdmin
(native *native.NativeService, adminOntID []byte)
smartcontract/service/native/governance/utils.go:635
↓ 1 callers
Function
appCallVerifyToken
(native *native.NativeService, contract common.Address, caller []byte, fn string, keyNo uint64)
smartcontract/service/native/governance/utils.go:645
↓ 1 callers
Function
assignToRole
(native *native.NativeService, param *DIDsToRoleParam)
smartcontract/service/native/auth/auth.go:209
↓ 1 callers
Function
audit_path_length
(index, tree_size uint32)
merkle/merkle_tree.go:432
↓ 1 callers
Method
blockCheckMerkleRoot
(blks BlockFromPeers)
consensus/vbft/node_sync.go:272
← previous
next →
1,601–1,700 of 3,494, ranked by callers