MCPcopy Create free account

hub / github.com/DNAProject/DNA / functions

Functions3,494 in github.com/DNAProject/DNA

↓ 21 callersMethodHasFlag
(flag ConsensusState)
consensus/dbft/consensus_state.go:36
↓ 21 callersMethodKey
First item. If item available return true, otherwise return false Last() bool //Last item. If item available return true, otherwise return f
core/store/common/store.go:40
↓ 21 callersFunctionPutBytes
(native *native.NativeService, key []byte, value []byte)
smartcontract/service/native/utils/store.go:91
↓ 21 callersMethodSerialize
(w io.Writer)
core/states/interfaces.go:29
↓ 21 callersFunctionToHexString
ToHexString convert []byte to hex string
common/common.go:38
↓ 21 callersFunctionVmValueFromBytes
(val []byte)
vm/neovm/types/neovm_value.go:71
↓ 21 callersFunctioncheckErr
(err error)
wasmtest/wasm-test.go:195
↓ 21 callersMethodgetBlockNum
()
consensus/vbft/types.go:45
↓ 20 callersMethodAppend
(item VmValue)
vm/neovm/types/struct_value.go:44
↓ 20 callersFunctionBigIntFromNeoBytes
(ba []byte)
common/bigint.go:67
↓ 20 callersMethodInvoke
()
smartcontract/context/context.go:50
↓ 20 callersFunctionNewPeer
NewPeer return new peer without publickey initial
p2pserver/peer/peer.go:143
↓ 20 callersMethodPopAsInteropValue
()
vm/neovm/value_stack_conversion.go:113
↓ 20 callersFunctionSign
Sign returns the signature of data using privKey
core/signature/signature.go:31
↓ 20 callersMethodWriteHash
(hash Uint256)
common/zero_copy_sink.go:150
↓ 20 callersMethodgetSealedBlock
(blockNum uint32)
consensus/vbft/block_pool.go:692
↓ 19 callersFunctionDecodeString
(source *common.ZeroCopySource)
smartcontract/service/native/utils/serialization.go:101
↓ 19 callersMethodGetChainedBlockNum
()
consensus/vbft/chain_store.go:74
↓ 19 callersFunctionGetStorageRole
(native *native.NativeService, key []byte)
smartcontract/service/native/global_params/utils.go:78
↓ 19 callersMethodNextByte
ReadByte implements the io.ByteReader interface.
common/zero_copy_source.go:83
↓ 19 callersMethodNextBytes
(n uint64)
common/zero_copy_sink.go:74
↓ 19 callersFunctionVmValueFromArrayVal
(array *ArrayValue)
vm/neovm/types/neovm_value.go:109
↓ 19 callersFunctionconstructServer
()
consensus/vbft/node_utils_test.go:46
↓ 19 callersFunctiongetParam
(r *http.Request, key string)
http/restful/restful/router.go:141
↓ 18 callersFunctionAddressFromPubKey
(pubkey keypair.PublicKey)
core/types/address.go:33
↓ 18 callersFunctionGetPeerPoolMap
(native *native.NativeService, contract common.Address, view uint32)
smartcontract/service/native/governance/utils.go:41
↓ 18 callersMethodGetState
GetState return sync state
p2pserver/peer/peer.go:188
↓ 18 callersFunctionNewTree
NewTree returns a CompactMerkleTree instance
merkle/merkle_tree.go:50
↓ 18 callersMethodSetAddr
set address
p2pserver/link/link.go:81
↓ 18 callersMethodType
()
consensus/vbft/msg_types.go:56
↓ 18 callersMethodUpdateInfo
UpdateInfo update peer`s information
p2pserver/peer/peer.go:310
↓ 18 callersFunctionVmValueFromStructVal
(val *StructValue)
vm/neovm/types/neovm_value.go:113
↓ 18 callersMethodgetState
()
consensus/vbft/service.go:641
↓ 17 callersFunctionAddressParseFromBytes
AddressParseFromBytes returns parsed Address
common/address.go:74
↓ 17 callersMethodDelNbrNode
(id uint64)
p2pserver/net/protocol/server.go:64
↓ 17 callersMethodGetPort
()
p2pserver/net/protocol/server.go:38
↓ 17 callersMethodInfof
(format string, a ...interface{})
common/log/log.go:185
↓ 17 callersMethodNextHash
()
common/zero_copy_source.go:201
↓ 17 callersMethodPopAsInt64
()
vm/neovm/value_stack_conversion.go:53
↓ 17 callersMethodSet
(index int, t types.VmValue)
vm/neovm/value_stack.go:86
↓ 17 callersFunctionSetRpcPort
(ctx *cli.Context)
cmd/config.go:171
↓ 17 callersFunctionconstructBlock
()
consensus/vbft/msg_types_test.go:360
↓ 17 callersMethodhash_children
(left, right common.Uint256)
merkle/merkle_hasher.go:44
↓ 16 callersMethodAddNbrNode
(*peer.Peer)
p2pserver/net/protocol/server.go:63
↓ 16 callersMethodAppend
(hash []common.Uint256)
merkle/file_hash_store.go:34
↓ 16 callersMethodCheckWitness
(address common.Address)
smartcontract/context/context.go:42
↓ 16 callersFunctionGenerateID
()
account/identity.go:44
↓ 16 callersFunctionGenerateOperatorKey
(contract common.Address)
smartcontract/service/native/global_params/utils.go:64
↓ 16 callersMethodGetAccount
()
cmd/sigsvr/common/common.go:41
↓ 16 callersFunctionNewArrayValue
()
vm/neovm/types/array_value.go:35
↓ 16 callersMethodNewExecuteEngine
Execute is smart contract execute manager According different vm type to launch different service
smartcontract/smart_contract.go:142
↓ 16 callersMethodNextVarUint
()
common/zero_copy_source.go:219
↓ 16 callersFunctionReadUint32
(reader io.Reader)
common/serialization/serialize.go:209
↓ 16 callersMethodRegisterMsgHandler
RegisterMsgHandler registers msg handler with the msg type
p2pserver/message/utils/msg_router.go:78
↓ 16 callersMethodSerialization
Serialize payload data
core/types/transaction.go:311
↓ 16 callersMethodSub
(other IntValue)
vm/neovm/types/int_value.go:317
↓ 16 callersMethodSum
(b []byte)
p2pserver/common/checksum.go:37
↓ 16 callersMethodcheckGas
(gaslimit uint64)
smartcontract/service/wasmvm/runtime.go:713
↓ 16 callersFunctionregID
Register id with account acc
smartcontract/service/native/did/ontid_test.go:57
↓ 15 callersFunctionAddressFromBase58
just to avoid dos AddressFromBase58 returns Address from encoded base58 string
common/address.go:95
↓ 15 callersMethodGetVersion
()
p2pserver/net/protocol/server.go:37
↓ 15 callersMethodSet
(key, value VmValue)
vm/neovm/types/map_value.go:35
↓ 15 callersFunctionVmValueFromBool
(val bool)
vm/neovm/types/neovm_value.go:81
↓ 14 callersMethodAppend
(item VmValue)
vm/neovm/types/array_value.go:39
↓ 14 callersFunctionCalcUnbindOng
startOffset : start timestamp offset from genesis block endOffset : end timestamp offset from genesis block
smartcontract/service/native/utils/unbind_ong.go:33
↓ 14 callersMethodCommitTo
Commit event notify to store
core/store/common/store.go:97
↓ 14 callersMethodDeserialize
(r io.Reader)
core/states/interfaces.go:30
↓ 14 callersFunctionFormatOng
(amount uint64)
cmd/utils/utils.go:71
↓ 14 callersFunctionHexToBytes
HexToBytes convert hex string to []byte
common/common.go:43
↓ 14 callersMethodSign
()
vm/neovm/types/int_value.go:152
↓ 14 callersFunctionpushEvent
(native *native.NativeService, s interface{})
smartcontract/service/native/auth/utils.go:189
↓ 14 callersFunctionputPeerPoolMap
(native *native.NativeService, contract common.Address, view uint32, peerPoolMap *PeerPoolMap)
smartcontract/service/native/governance/utils.go:68
↓ 13 callersFunctionAddressFromVmCode
(code []byte)
common/address.go:128
↓ 13 callersMethodAsInt64
()
vm/neovm/types/neovm_value.go:556
↓ 13 callersMethodDeserialize
(r io.Reader)
common/uint256.go:59
↓ 13 callersMethodGetBlockHash
(height uint32)
core/store/store.go:55
↓ 13 callersMethodGetTransaction
(txHash common.Uint256)
core/store/store.go:61
↓ 13 callersFunctionGetView
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/utils.go:110
↓ 13 callersFunctionReadVarUint
(reader io.Reader, maxint uint64)
common/serialization/serialize.go:100
↓ 13 callersMethodWriteBool
(data bool)
common/zero_copy_sink.go:99
↓ 13 callersFunctionisReady
(state ServerState)
consensus/vbft/state_mgmt.go:50
↓ 13 callersFunctionputAuthorizeInfo
(native *native.NativeService, contract common.Address, authorizeInfo *AuthorizeInfo)
smartcontract/service/native/governance/utils.go:534
↓ 12 callersMethodAddMsg
(msg ConsensusMsg, msgHash common.Uint256)
consensus/vbft/msg_pool.go:113
↓ 12 callersMethodAsBool
()
vm/neovm/types/neovm_value.go:603
↓ 12 callersMethodAsBytes
()
vm/neovm/types/neovm_value.go:136
↓ 12 callersMethodClose
Commit batch to store
core/store/common/store.go:56
↓ 12 callersFunctionDecodeUint64
(source *common.ZeroCopySource)
smartcontract/service/native/utils/serialization.go:77
↓ 12 callersFunctionFileExisted
FileExisted checks whether filename exists in filesystem
common/common.go:57
↓ 12 callersFunctionGetStorageItem
(native *native.NativeService, key []byte)
smartcontract/service/native/utils/store.go:33
↓ 12 callersFunctionI128FromInt64
(val int64)
common/int128.go:62
↓ 12 callersMethodNextUint16
()
common/zero_copy_source.go:119
↓ 12 callersFunctionParseOng
(rawAmount string)
cmd/utils/utils.go:75
↓ 12 callersMethodPushAsInteropValue
(val interfaces.Interop)
vm/neovm/value_stack_conversion.go:109
↓ 12 callersFunctionWriteVarUint
* ****************************************************************************** * public func for outside calling ********************************
common/serialization/serialize.go:77
↓ 12 callersFunctionsendRpcRequest
(method string, params []interface{})
cmd/utils/rpc.go:77
↓ 11 callersFunctionAddressFromMultiPubKeys
(pubkeys []keypair.PublicKey, m int)
core/types/address.go:39
↓ 11 callersFunctionComputeMerkleRoot
param hashes will be used as workspace
common/merkle_tree.go:28
↓ 11 callersMethodGetContract
(addr comm.Address)
smartcontract/storage/cachedb.go:89
↓ 11 callersMethodGetPID
()
consensus/consensus.go:36
↓ 11 callersFunctionIntValFromInt
(val int64)
vm/neovm/types/int_value.go:140
← previousnext →101–200 of 3,494, ranked by callers