MCPcopy Create free account

hub / github.com/DNAProject/DNA / functions

Functions3,494 in github.com/DNAProject/DNA

↓ 3 callersFunctionstartActor
startActor starts an actor with the proxy and unique id, and return the pid.
txnpool/server.go:39
↓ 3 callersFunctionstartActor
(obj interface{})
txnpool/test/txnpool_test.go:112
↓ 3 callersMethodstartNewRound
()
consensus/vbft/service.go:668
↓ 3 callersMethodstartTxTicker
(blockNum uint32)
consensus/vbft/event_timer.go:385
↓ 3 callersMethodsubmitBlock
saveBlock do the job of execution samrt contract and commit block to store.
core/store/ledgerstore/ledger_store.go:778
↓ 3 callersFunctiontriggerRegisterEvent
(srvc *native.NativeService, id []byte)
smartcontract/service/native/did/event.go:39
↓ 3 callersFunctionvalidateDeployCode
(dep *DeployCode)
core/payload/deploy_code.go:190
↓ 3 callersFunctionverifyGroupCtrl
(n *native.NativeService, id string, s []Signer, addr []common.Address)
smartcontract/service/native/did/controller_test.go:417
↓ 3 callersMethodverifyHeader
(header *types.Header, vbftPeerInfo map[string]uint32)
core/store/ledgerstore/ledger_store.go:417
↓ 3 callersMethodverifyPrevBlockHash
(blkNum uint32, proposal *blockProposalMsg)
consensus/vbft/service.go:2477
↓ 3 callersFunctionverifyThreshold
(g *Group, signers []Signer)
smartcontract/service/native/did/group.go:189
↓ 3 callersFunctionwithdrawTotalStake
(native *native.NativeService, contract common.Address, address common.Address, stake uint64)
smartcontract/service/native/governance/method.go:595
↓ 2 callersMethodAddHeaders
(headers []*types.Header)
core/store/store.go:46
↓ 2 callersMethodAddTransaction
AddTransaction add transaction to block cache
core/store/ledgerstore/block_cache.go:86
↓ 2 callersMethodAddrValid
AddrValid whether the addr could be connect or accept
p2pserver/net/netserver/netserver.go:609
↓ 2 callersFunctionAddressFromHexString
AddressParseFromHexString returns parsed Address
common/address.go:85
↓ 2 callersFunctionApproveTx
(gasPrice, gasLimit uint64, asset string, from, to string, amount uint64)
cmd/utils/gas.go:177
↓ 2 callersMethodAsBigInt
urgly hack: only used in cmp opcode to lift the 32byte limit of integer
vm/neovm/types/neovm_value.go:572
↓ 2 callersMethodAttachChan
AttachChan set msg chan to sync link
p2pserver/peer/peer.go:273
↓ 2 callersFunctionBigIntZip
(ints1 *big.Int, ints2 *big.Int, op OpCode)
vm/neovm/common.go:102
↓ 2 callersFunctionBuildWasmVMInvokeCode
build param bytes for wasm contract
core/utils/transaction_builder.go:190
↓ 2 callersMethodCallingContext
CallingContext return smart contract caller context
smartcontract/smart_contract.go:81
↓ 2 callersMethodCancelTxBlockTimeout
(blockNum uint32)
consensus/vbft/event_timer.go:346
↓ 2 callersMethodCheckExpectedView
(viewNumber byte)
consensus/dbft/dbft_service.go:165
↓ 2 callersMethodCheckSignatures
()
consensus/dbft/dbft_service.go:195
↓ 2 callersMethodCheckSubmitBlock
(blkNum uint32, stateRoot common.Uint256)
consensus/vbft/service.go:235
↓ 2 callersMethodCheckUseGas
(gas uint64)
smartcontract/context/context.go:45
↓ 2 callersFunctionCheckVBFTConfig
(configuration *config.VBFTConfig)
smartcontract/service/native/governance/utils.go:315
↓ 2 callersMethodCleanTransactionList
CleanTransactionList cleans the transaction list included in the ledger.
txnpool/common/transaction_pool.go:83
↓ 2 callersFunctionClosePrintLog
()
common/log/log.go:402
↓ 2 callersMethodCloseSession
(session *Session)
http/websocket/session/sessionlist.go:57
↓ 2 callersMethodConsistencyProof
ConsistencyProof returns consistency proof
merkle/merkle_tree.go:245
↓ 2 callersMethodContainBlock
ContainBlock return whether block is in cache
core/store/ledgerstore/block_cache.go:81
↓ 2 callersMethodContainsFunc
(fn string)
smartcontract/service/native/auth/state.go:44
↓ 2 callersMethodCopyTo
(stack *ValueStack)
vm/neovm/value_stack.go:173
↓ 2 callersFunctionCreateID
(nonce []byte)
account/identity.go:53
↓ 2 callersFunctionDataReqHandle
DataReqHandle handles the data req(block/Transaction) from peer
p2pserver/message/utils/msg_handler.go:429
↓ 2 callersMethodDelete
Delete removes all items from the set.
p2pserver/common/set/string_set.go:61
↓ 2 callersMethodDeleteAccount
DeleteAccount delete account
account/client.go:63
↓ 2 callersMethodDeserialization
(source *common.ZeroCopySource)
core/states/storage_key.go:39
↓ 2 callersMethodDeserialization
(source *common.ZeroCopySource)
core/states/bookkeeper.go:51
↓ 2 callersMethodDeserialization
(source *common.ZeroCopySource)
core/states/validator_state.go:42
↓ 2 callersMethodDeserialization
(source *common.ZeroCopySource)
core/states/vote_state.go:46
↓ 2 callersMethodDeserialization
note: InvokeCode.Code has data reference of param source
core/payload/invoke_code.go:36
↓ 2 callersMethodDeserialization
note: DeployCode.Code has data reference of param source
core/payload/deploy_code.go:143
↓ 2 callersMethodDeserialization
(source *common.ZeroCopySource)
smartcontract/service/native/global_params/states.go:96
↓ 2 callersMethodDeserialization
(source *common.ZeroCopySource)
smartcontract/service/native/governance/param.go:235
↓ 2 callersMethodDeserialization
(source *common.ZeroCopySource)
smartcontract/service/native/governance/states.go:105
↓ 2 callersMethodDeserialization
`ContractInvokeParam.Args` has reference of `source`
smartcontract/states/wasmContract.go:41
↓ 2 callersFunctionDeserializeCallParam
input byte array should be the following format version(1byte) + type(1byte) + data...
vm/crossvm_codec/vmcall_codec.go:32
↓ 2 callersFunctionDeserializeVbftMsg
(msgPayload []byte)
consensus/vbft/msg_builder.go:44
↓ 2 callersFunctionEncodeAddress
(sink *common.ZeroCopySink, addr common.Address)
vm/crossvm_codec/codec.go:210
↓ 2 callersFunctionEncodeH256
(sink *common.ZeroCopySink, hash common.Uint256)
vm/crossvm_codec/codec.go:224
↓ 2 callersFunctionEncodeMultiPubKeyProgramInto
(sink *common.ZeroCopySink, pubkeys []keypair.PublicKey, m int)
core/program/program.go:103
↓ 2 callersFunctionEncodeNotify
(t *testing.T, value interface{})
vm/crossvm_codec/codec_test.go:39
↓ 2 callersFunctionEncodeSinglePubKeyProgramInto
(sink *common.ZeroCopySink, pubkey keypair.PublicKey)
core/program/program.go:97
↓ 2 callersFunctionEncodeString
(sink *common.ZeroCopySink, buf string)
vm/crossvm_codec/codec.go:204
↓ 2 callersMethodEntryContext
()
smartcontract/context/context.go:40
↓ 2 callersMethodError
()
core/store/overlaydb/iterator.go:195
↓ 2 callersMethodExecuteOp
(opcode OpCode, context *ExecutionContext)
vm/neovm/executor.go:116
↓ 2 callersMethodExpectEOF
()
core/program/program.go:174
↓ 2 callersMethodFinish
()
core/program/program.go:83
↓ 2 callersMethodFlush
()
merkle/file_hash_store.go:35
↓ 2 callersFunctionFormatAssetAmount
FormatAssetAmount return asset amount multiplied by math.Pow10(precision) to raw float string For example 1000000000123456789 => 1000000000.123456789
cmd/utils/utils.go:43
↓ 2 callersFunctionGasPrice
(gasTable map[string]uint64, engine *vm.Executor, name string)
smartcontract/service/neovm/gas_cost.go:45
↓ 2 callersFunctionGenDataTransactionKey
(hash common.Uint256)
validator/db/key_prefix.go:59
↓ 2 callersFunctionGenesisChainConfig
GenesisChainConfig return chainconfig
consensus/vbft/config/genesis.go:119
↓ 2 callersMethodGet
if key is deleted, value == nil
core/store/overlaydb/overlaydb.go:61
↓ 2 callersMethodGetAccountAddress
(index uint32)
cmd/sigsvr/store/wallet_store.go:369
↓ 2 callersFunctionGetAccountBalance
(address, asset string)
cmd/utils/gas.go:84
↓ 2 callersMethodGetAccountByAddress
(address string)
account/file_store.go:128
↓ 2 callersMethodGetAccountDataByAddress
(address string)
cmd/sigsvr/store/wallet_store.go:331
↓ 2 callersFunctionGetAccountIndexKey
(index uint32)
cmd/sigsvr/store/common.go:59
↓ 2 callersMethodGetAccountMetadataByLabel
GetAccountMetadataByLabel return account Metadata info by label
account/client.go:55
↓ 2 callersMethodGetAccountNumber
()
cmd/sigsvr/store/wallet_store.go:386
↓ 2 callersFunctionGetAccountPassword
GetPassword gets node's wallet password from command line or user input
common/password/password.go:72
↓ 2 callersFunctionGetAttributes
(srvc *native.NativeService)
smartcontract/service/native/did/query.go:164
↓ 2 callersFunctionGetBalance
Return balance of address in base58 code
cmd/utils/gas.go:67
↓ 2 callersFunctionGetBalanceValue
(native *native.NativeService, flag byte)
smartcontract/service/native/gas/gas.go:204
↓ 2 callersFunctionGetBlock
(hashOrHeight interface{})
cmd/utils/gas.go:502
↓ 2 callersMethodGetBlock
GetBlock return block by block hash
core/store/ledgerstore/block_store.go:110
↓ 2 callersFunctionGetBlockCount
()
cmd/utils/gas.go:548
↓ 2 callersMethodGetBookkeeperState
()
core/store/store.go:67
↓ 2 callersFunctionGetBytesUint32
(b []byte)
smartcontract/service/native/governance/utils.go:220
↓ 2 callersMethodGetConnectionCnt
GetConnectionCnt return the total number of valid connections
p2pserver/net/netserver/netserver.go:195
↓ 2 callersMethodGetConnectionState
Todo: remove it if no use
p2pserver/p2pserver.go:217
↓ 2 callersMethodGetCurrentBlock
GetCurrentBlock return current block height and current hash in state store
core/store/ledgerstore/state_store.go:319
↓ 2 callersMethodGetCurrentBlock
GetCurrentBlock return the current block height, and block hash. Current block means the latest block in store.
core/store/ledgerstore/ledger_store.go:375
↓ 2 callersFunctionGetDDO
(srvc *native.NativeService)
smartcontract/service/native/did/query.go:64
↓ 2 callersMethodGetData
()
common/fixed64.go:56
↓ 2 callersMethodGetErrorRespCnt
GetErrorRespCnt get the error response count
p2pserver/block_sync.go:95
↓ 2 callersMethodGetEventNotifyByTx
(tx common.Uint256)
core/store/store.go:71
↓ 2 callersFunctionGetGID
()
common/log/log.go:82
↓ 2 callersMethodGetHeader
GetHeader return the header specified by block hash
core/store/ledgerstore/block_store.go:189
↓ 2 callersMethodGetHeaderByHeight
GetHeaderByHash return the block header by block height
core/store/ledgerstore/ledger_store.go:956
↓ 2 callersMethodGetHeaderIndexList
GetHeaderIndexList return the head index store in header index list
core/store/ledgerstore/block_store.go:291
↓ 2 callersFunctionGetHeadersFromHash
get blk hdrs from starthash to stophash
p2pserver/message/utils/msg_handler.go:599
↓ 2 callersMethodGetIpCountInInConnRecord
GetIpCountInInConnRecord return count of in connections with single ip
p2pserver/net/netserver/netserver.go:565
↓ 2 callersFunctionGetJsonObjectFromFile
(filePath string, jsonObject interface{})
cmd/utils/utils.go:99
↓ 2 callersMethodGetNbrNodeCnt
GetNbrNodeCnt return count of establish peers in nbrlist
p2pserver/peer/nbr_peers.go:180
← previousnext →801–900 of 3,494, ranked by callers