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,772 callers
Method
Errorf
(format string, a ...interface{})
common/log/log.go:201
↓ 258 callers
Method
Error
Close iterator
core/store/common/store.go:43
↓ 215 callers
Method
Bytes
()
common/zero_copy_sink.go:193
↓ 178 callers
Function
Infof
(format string, a ...interface{})
common/log/log.go:301
↓ 175 callers
Method
Hash
sig.SignableData
common/inventory.go:35
↓ 168 callers
Function
NewZeroCopySource
NewReader returns a new ZeroCopySource reading from b.
common/zero_copy_source.go:274
↓ 165 callers
Function
Errorf
(format string, a ...interface{})
common/log/log.go:309
↓ 156 callers
Function
GetFlagName
GetFlagName deal with short flag, and return the flag name whether flag name have short name
cmd/utils/flags.go:500
↓ 151 callers
Function
PrintInfoMsg
(format string, a ...interface{})
cmd/usage.go:444
↓ 151 callers
Method
WriteVarBytes
(data []byte)
common/zero_copy_sink.go:134
↓ 113 callers
Function
checkStackOpCode
(t *testing.T, code OpCode, origin, expected []Value)
vm/neovm/stack_opcode_test.go:95
↓ 110 callers
Method
Fatal
(a ...interface{})
common/log/log.go:205
↓ 106 callers
Function
ResponsePack
(errCode int64)
http/base/rest/result.go:25
↓ 104 callers
Method
String
()
cmd/usage.go:324
↓ 103 callers
Method
ToHexString
()
common/uint256.go:50
↓ 100 callers
Function
NewZeroCopySink
NewReader returns a new ZeroCopySink reading from b.
common/zero_copy_sink.go:186
↓ 96 callers
Function
NewErr
(errmsg string)
errors/errors.go:37
↓ 92 callers
Method
WriteString
(data string)
common/zero_copy_sink.go:142
↓ 91 callers
Function
responsePack
(errcode int64, result interface{})
http/base/rpc/result.go:31
↓ 90 callers
Function
Debugf
(format string, a ...interface{})
common/log/log.go:269
↓ 87 callers
Function
Debug
(a ...interface{})
common/log/log.go:253
↓ 85 callers
Function
NewDetailErr
(err error, errcode ErrCode, errmsg string)
errors/errors.go:41
↓ 84 callers
Method
ToBase58
ToBase58 returns base58 encoded address string
common/address.go:62
↓ 82 callers
Method
Deserialization
(source *common.ZeroCopySource)
core/types/transaction.go:312
↓ 82 callers
Method
Get
Put the key-value pair to store
core/store/common/store.go:49
↓ 80 callers
Function
EncodeVarUint
(sink *common.ZeroCopySink, value uint64)
smartcontract/service/native/utils/serialization.go:36
↓ 79 callers
Method
WriteByte
(c byte)
common/zero_copy_sink.go:95
↓ 77 callers
Function
DecodeVarBytes
(source *common.ZeroCopySource)
smartcontract/service/native/utils/serialization.go:66
↓ 77 callers
Method
Register
Register send a register message to poolId
validator/stateless/stateless_validator.go:36
↓ 71 callers
Function
Info
(a ...interface{})
common/log/log.go:285
↓ 71 callers
Method
Put
(key []byte, value []byte)
core/store/common/store.go:48
↓ 69 callers
Method
getProposer
()
consensus/vbft/types.go:41
↓ 67 callers
Function
DecodeVarUint
(source *common.ZeroCopySource)
smartcontract/service/native/utils/serialization.go:40
↓ 64 callers
Function
Warn
(a ...interface{})
common/log/log.go:289
↓ 59 callers
Method
CurrentContext
()
smartcontract/context/context.go:38
↓ 58 callers
Method
Marshal
()
merkle/merkle_tree.go:72
↓ 57 callers
Method
Write
(buf []byte)
common/limited_writer.go:44
↓ 56 callers
Function
NewAccount
(encrypt string)
account/account.go:40
↓ 55 callers
Method
WriteUint32
(data uint32)
common/zero_copy_sink.go:112
↓ 54 callers
Function
Error
(a ...interface{})
common/log/log.go:293
↓ 54 callers
Method
GetCurrentBlockNo
()
consensus/vbft/node_utils.go:36
↓ 53 callers
Function
ConcatKey
(contract common.Address, args ...[]byte)
smartcontract/service/native/utils/operation.go:39
↓ 53 callers
Method
Push
(t types.VmValue)
vm/neovm/value_stack.go:95
↓ 51 callers
Method
IntoImmutable
output has no reference to self
core/types/mutable_transaction.go:44
↓ 50 callers
Method
NextVarBytes
()
common/zero_copy_source.go:167
↓ 48 callers
Method
ToArray
()
vm/neovm/interfaces/interop.go:25
↓ 45 callers
Method
Stop
()
http/base/rest/interfaces.go:41
↓ 44 callers
Method
Emit
(op OpCode)
vm/neovm/params_builder.go:40
↓ 44 callers
Method
Fatalf
(format string, a ...interface{})
common/log/log.go:209
↓ 43 callers
Method
NextUint32
()
common/zero_copy_source.go:129
↓ 43 callers
Function
PrintErrorMsg
(format string, a ...interface{})
cmd/usage.go:434
↓ 42 callers
Method
GetID
()
p2pserver/net/protocol/server.go:36
↓ 40 callers
Method
Close
()
core/store/store.go:45
↓ 39 callers
Method
GetCommittedBlockNo
()
consensus/vbft/node_utils.go:40
↓ 38 callers
Method
GetCurrentBlockHeight
()
core/store/store.go:52
↓ 38 callers
Method
WriteVarUint
(data uint64)
common/zero_copy_sink.go:162
↓ 37 callers
Method
GetBlockNum
()
consensus/vbft/msg_types.go:58
↓ 37 callers
Method
Serialization
(sink *ZeroCopySink)
common/codec.go:24
↓ 37 callers
Method
WriteUint64
(data uint64)
common/zero_copy_sink.go:117
↓ 36 callers
Method
PopAsBytes
()
vm/neovm/value_stack_conversion.go:77
↓ 36 callers
Method
PubKey
()
account/account.go:91
↓ 36 callers
Method
Reset
()
common/zero_copy_sink.go:195
↓ 36 callers
Function
Trace
(a ...interface{})
common/log/log.go:213
↓ 35 callers
Function
encodeID
(id []byte)
smartcontract/service/native/did/utils.go:65
↓ 34 callers
Function
DecodeAddress
(source *common.ZeroCopySource)
smartcontract/service/native/utils/serialization.go:55
↓ 34 callers
Method
Send
(p *peer.Peer, msg types.Message)
p2pserver/net/protocol/server.go:52
↓ 34 callers
Method
Sender
()
txnpool/common/txnpool_common.go:66
↓ 32 callers
Method
Add
(other IntValue)
vm/neovm/types/int_value.go:311
↓ 32 callers
Method
Delete
Whether the key is exist in store
core/store/common/store.go:51
↓ 32 callers
Function
InitLog
(logLevel int, a ...interface{})
common/log/log.go:345
↓ 32 callers
Function
SerializeToBytes
(values ...Serializable)
common/codec.go:27
↓ 32 callers
Function
Warnf
(format string, a ...interface{})
common/log/log.go:305
↓ 32 callers
Function
responseSuccess
(result interface{})
http/base/rpc/result.go:28
↓ 29 callers
Method
EmitPushByteArray
(data []byte)
vm/neovm/params_builder.go:71
↓ 29 callers
Method
First
Next item. If item available return true, otherwise return false Prev() bool //previous item. If item available return true, otherwise retur
core/store/common/store.go:37
↓ 28 callers
Method
EmitPushInteger
(data *big.Int)
vm/neovm/params_builder.go:52
↓ 28 callers
Method
Pop
()
vm/neovm/value_stack.go:128
↓ 26 callers
Method
Cmp
(other IntValue)
vm/neovm/types/int_value.go:226
↓ 26 callers
Function
HandleFunc
a function to register functions to be called for specific rpc calls
http/base/rpc/rpc.go:54
↓ 26 callers
Method
Value
Return the current item key
core/store/common/store.go:41
↓ 25 callers
Method
GetPeer
(uint64)
p2pserver/net/protocol/server.go:49
↓ 25 callers
Method
NewIterator
Close store
core/store/common/store.go:57
↓ 24 callers
Function
BigIntToNeoBytes
neo encoding: https://docs.microsoft.com/en-us/dotnet/api/system.numerics.biginteger.tobytearray?view=netframework-4.7.2
common/bigint.go:36
↓ 24 callers
Function
IntValFromBigInt
(val *big.Int)
vm/neovm/types/int_value.go:105
↓ 24 callers
Method
NextString
()
common/zero_copy_source.go:212
↓ 24 callers
Method
NextUint64
()
common/zero_copy_source.go:139
↓ 24 callers
Method
Release
Return the current item value
core/store/common/store.go:42
↓ 24 callers
Method
Verify
(pub keypair.PublicKey)
consensus/vbft/msg_types.go:57
↓ 24 callers
Method
WriteBytes
(p []byte)
common/zero_copy_sink.go:67
↓ 24 callers
Method
write
(w http.ResponseWriter, data []byte)
http/restful/restful/server.go:307
↓ 23 callers
Method
SetState
SetState set sync state to peer
p2pserver/peer/peer.go:193
↓ 23 callers
Function
ValidateOwner
(native *native.NativeService, address common.Address)
smartcontract/service/native/utils/operation.go:47
↓ 22 callers
Method
NewBatch
Delete the key in store
core/store/common/store.go:52
↓ 22 callers
Method
Next
()
core/store/common/store.go:35
↓ 22 callers
Method
PushBytes
(data []byte)
core/program/program.go:61
↓ 22 callers
Function
ReadWasmMemory
(proc *exec.Process, ptr uint32, len uint32)
smartcontract/service/wasmvm/utils.go:33
↓ 22 callers
Function
VmValueFromBigInt
(val *big.Int)
vm/neovm/types/neovm_value.go:99
↓ 21 callers
Method
BatchPut
Start commit batch
core/store/common/store.go:53
↓ 21 callers
Method
GetAccountNum
GetAccountNum return total account number
account/client.go:61
↓ 21 callers
Method
GetAddr
get address
p2pserver/link/link.go:76
next →
1–100 of 3,494, ranked by callers