MCPcopy Create free account

hub / github.com/DNAProject/DNA / functions

Functions3,494 in github.com/DNAProject/DNA

↓ 1 callersMethodblockConsensusDone
(blks BlockFromPeers)
consensus/vbft/node_sync.go:244
↓ 1 callersMethodblockSyncFinished
blockSyncFinished compare all nbr peers and self height at beginning
p2pserver/p2pserver.go:238
↓ 1 callersMethodbroadcastToAll
(data []byte)
consensus/vbft/node_utils.go:434
↓ 1 callersFunctionbuildNeoVmValueFromExpect
(expectlist []interface{})
wasmtest/wasm-test.go:372
↓ 1 callersMethodbuildParamToNative
(sink *common.ZeroCopySink)
vm/neovm/types/neovm_value.go:168
↓ 1 callersFunctionbuildTestBlock
(t *testing.T, lastBlock *types.Block, lgr *ledger.Ledger)
consensus/vbft/block_pool_test.go:42
↓ 1 callersFunctionbuildTestBlockPool
(t *testing.T)
consensus/vbft/block_pool_test.go:37
↓ 1 callersFunctionbuildTestConext
(testConext *TestContext)
wasmtest/common/common.go:199
↓ 1 callersFunctionbuildTestConextForNeo
when need pass testConext to neovm contract, must write contract as def Main(operation, args) api. and args need be a list.
wasmtest/common/common.go:128
↓ 1 callersFunctioncalcParticipant
(vrf vconfig.VRFValue, dposTable []uint32, k uint32)
consensus/vbft/node_utils.go:293
↓ 1 callersFunctioncalculateTotalStateHash
(overlay *overlaydb.OverlayDB)
core/store/ledgerstore/ledger_store.go:675
↓ 1 callersMethodcalculate_root_hash_from_audit_path
(leaf_hash common.Uint256, node_index uint32, audit_path []common.Uint256, tree_size uint32)
merkle/merkle_tree.go:403
↓ 1 callersMethodcancelFetcherForPeer
(peer *PeerSyncer)
consensus/vbft/node_sync.go:310
↓ 1 callersMethodcatchConsensus
TODO: refactor this
consensus/vbft/service.go:2387
↓ 1 callersMethodcheckAccountAddress
(address common.Address)
smartcontract/smart_contract.go:218
↓ 1 callersMethodcheckConsistence
(tree_size uint32)
merkle/file_hash_store.go:81
↓ 1 callersMethodcheckContractAddress
(address common.Address)
smartcontract/smart_contract.go:232
↓ 1 callersFunctioncheckCurve
(ctx *cli.Context, reader *bufio.Reader, t *string)
cmd/account.go:206
↓ 1 callersFunctioncheckExecResult
(testCase common3.TestCase, result *states.PreExecResult, execEnv ExecEnv)
wasmtest/wasm-test.go:323
↓ 1 callersMethodcheckFeaturesEnabled
(opcode OpCode)
vm/neovm/executor.go:105
↓ 1 callersFunctioncheckLabel
(ctx *cli.Context)
cmd/account.go:183
↓ 1 callersFunctioncheckMultiAltStackOpCode
(t *testing.T, code []byte, origin [2][]Value, expected [2][]Value)
vm/neovm/stack_opcode_test.go:111
↓ 1 callersFunctioncheckNumber
(ctx *cli.Context)
cmd/account.go:166
↓ 1 callersFunctioncheckOntoWasm
(m *wasm.Module)
smartcontract/service/wasmvm/utils.go:46
↓ 1 callersMethodcheckPendingBlockOk
checkPendingBlockOk checks whether a block from consensus is verified. If some transaction is invalid, return the result directly at once, no need to
txnpool/proc/txnpool_server.go:199
↓ 1 callersFunctioncheckScheme
(ctx *cli.Context, reader *bufio.Reader, t *string)
cmd/account.go:236
↓ 1 callersMethodcheckSessionsTimeout
check sessions timeout,if expire close the session
http/websocket/websocket/server.go:229
↓ 1 callersMethodcheckTimeout
()
p2pserver/block_sync.go:345
↓ 1 callersFunctioncheckTransactionPayload
(tx *types.Transaction)
core/validation/transaction_validator.go:117
↓ 1 callersFunctioncheckTransactionSignatures
(tx *types.Transaction)
core/validation/transaction_validator.go:59
↓ 1 callersFunctioncheckType
(ctx *cli.Context, reader *bufio.Reader)
cmd/account.go:190
↓ 1 callersFunctioncheckVmFlags
(vmFlags byte)
core/payload/deploy_code.go:106
↓ 1 callersMethodcircularRefAndDepthDetection
(visited map[uintptr]bool, depth int)
vm/neovm/types/neovm_value.go:492
↓ 1 callersMethodclearBlocks
(curBlockHeight uint32)
p2pserver/block_sync.go:281
↓ 1 callersMethodclearBlocks
(curBlockHeight uint32)
p2pserver/block_sync.go:287
↓ 1 callersMethodcloneMem
clone except internal hash storage
merkle/merkle_tree.go:132
↓ 1 callersFunctioncloneStruct
(s *StructValue, length *int)
vm/neovm/types/struct_value.go:61
↓ 1 callersMethodclose
()
consensus/vbft/chain_store.go:70
↓ 1 callersFunctioncompareFuncBigInt
(left, right *big.Int, opcode OpCode)
vm/neovm/int_value_test.go:163
↓ 1 callersFunctioncompareFuncIntValue
(left, right *big.Int, opcode OpCode)
vm/neovm/int_value_test.go:124
↓ 1 callersMethodconnectSeedService
connectSeedService make sure seed peer be connected
p2pserver/p2pserver.go:451
↓ 1 callersMethodconnectSeeds
connectSeeds connect the seeds in seedlist and call for nbr list
p2pserver/p2pserver.go:289
↓ 1 callersFunctionconstructBlockFetchMsg
(acc *account.Account)
consensus/vbft/msg_types_test.go:279
↓ 1 callersMethodconstructBlockFetchMsg
(blkNum uint32)
consensus/vbft/msg_builder.go:369
↓ 1 callersFunctionconstructBlockFetchRespMsg
(acc *account.Account, blk *Block)
consensus/vbft/msg_types_test.go:305
↓ 1 callersMethodconstructBlockFetchRespMsg
(blkNum uint32, blk *Block, blkHash common.Uint256)
consensus/vbft/msg_builder.go:375
↓ 1 callersFunctionconstructBlockInfoFetchMsg
(acc *account.Account)
consensus/vbft/msg_types_test.go:220
↓ 1 callersMethodconstructBlockInfoFetchMsg
(startBlkNum uint32)
consensus/vbft/msg_builder.go:383
↓ 1 callersFunctionconstructBlockInfoFetchRespMsg
(acc *account.Account)
consensus/vbft/msg_types_test.go:247
↓ 1 callersMethodconstructBlockInfoFetchRespMsg
(blockInfos []*BlockInfo_)
consensus/vbft/msg_builder.go:389
↓ 1 callersMethodconstructBlockSubmitMsg
(blkNum uint32, stateRoot common.Uint256)
consensus/vbft/msg_builder.go:402
↓ 1 callersFunctionconstructCommitMsg
(acc *account.Account, proposal *blockProposalMsg, blkHash common.Uint256)
consensus/vbft/msg_types_test.go:127
↓ 1 callersMethodconstructCommitMsg
(proposal *blockProposalMsg, endorses []*blockEndorseMsg, forEmpty bool)
consensus/vbft/msg_builder.go:325
↓ 1 callersFunctionconstructEndorseMsg
(acc *account.Account, proposal *blockProposalMsg, blkHash common.Uint256)
consensus/vbft/msg_types_test.go:93
↓ 1 callersFunctionconstructHandshakeMsg
(acc *account.Account)
consensus/vbft/msg_types_test.go:161
↓ 1 callersFunctionconstructHeartbeatMsg
(acc *account.Account)
consensus/vbft/msg_types_test.go:190
↓ 1 callersMethodconstructHeartbeatMsg
()
consensus/vbft/msg_builder.go:157
↓ 1 callersFunctionconstructProposalFetchMsg
(acc *account.Account)
consensus/vbft/msg_types_test.go:335
↓ 1 callersMethodconstructProposalFetchMsg
(blkNum uint32, proposer uint32)
consensus/vbft/msg_builder.go:395
↓ 1 callersMethodconstructProposalMsg
(blkNum uint32, sysTxs, userTxs []*types.Transaction, chainconfig *vconfig.ChainConfig)
consensus/vbft/msg_builder.go:227
↓ 1 callersMethodconvertNeoVmValueHexString
(count *int, length *int)
vm/neovm/types/neovm_value.go:222
↓ 1 callersFunctionconvertNeovmFuncName
Neovm func name in Camel-Case. For example: transfer, transferFrom
cmd/utils/neovm_param_abi.go:54
↓ 1 callersFunctioncreatPeers
(cnt uint16)
p2pserver/net/netserver/netserver_test.go:40
↓ 1 callersFunctioncreateListener
createListener creates a net listener on the port
p2pserver/net/netserver/net_utils.go:39
↓ 1 callersFunctioncreatePeers
(cnt uint16)
p2pserver/peer/nbr_peer_test.go:30
↓ 1 callersMethodcreategovernaceTransaction
creategovernaceTransaction invoke governance native contract commit_pos
consensus/vbft/service.go:2134
↓ 1 callersFunctiondecimals
:return: the decimals of the token
wasmtest/contracts-cplus/test_oep4.py:124
↓ 1 callersFunctiondeepCopy
(peersInfo []*config.VBFTPeerStakeInfo)
consensus/vbft/config/genesis.go:55
↓ 1 callersMethoddelBlockCache
(blockHeight uint32)
p2pserver/block_sync.go:691
↓ 1 callersMethoddelTransaction
delTransaction deletes a transaction in the tx pool.
txnpool/proc/txnpool_server.go:565
↓ 1 callersFunctiondelegate
* * if 'from' has the authority and 'to' has not been authorized 'role', * then make changes to storage as follows: */
smartcontract/service/native/auth/auth.go:362
↓ 1 callersFunctiondeleteAllAttr
(srvc *native.NativeService, encID []byte)
smartcontract/service/native/did/attribute.go:210
↓ 1 callersMethoddeleteSubscribe
(sessionId string)
http/websocket/websocket/server.go:375
↓ 1 callersMethoddeleteTxHashes
(sessionId string)
http/websocket/websocket/server.go:366
↓ 1 callersFunctiondeployAuthContract
()
core/genesis/genesis.go:162
↓ 1 callersFunctiondeployOntIDContract
()
core/genesis/genesis.go:175
↓ 1 callersFunctiondepositPenaltyStake
(native *native.NativeService, contract common.Address, peerPubkey string, initPos uint64, authorizePos uint64
smartcontract/service/native/governance/method.go:624
↓ 1 callersMethoddeserializationUnsigned
(source *common.ZeroCopySource)
core/types/header.go:91
↓ 1 callersMethoddeserializationUnsigned
(source *common.ZeroCopySource)
core/types/header.go:226
↓ 1 callersMethoddeserializationUnsigned
(source *common.ZeroCopySource)
core/types/transaction.go:145
↓ 1 callersMethoddeserialize
(source *common.ZeroCopySource, depth int)
vm/neovm/types/neovm_value.go:297
↓ 1 callersMethoddropMsg
(msg ConsensusMsg)
consensus/vbft/msg_pool.go:66
↓ 1 callersMethoddump
()
vm/neovm/types/neovm_value.go:767
↓ 1 callersFunctionensureBuffer
(b []byte, n int)
smartcontract/storage/cachedb.go:55
↓ 1 callersFunctionexecuteAddressSplit
(native *native.NativeService, contract common.Address, authorizeInfo *AuthorizeInfo, preIfConsensus, ifConsen
smartcontract/service/native/governance/method.go:993
↓ 1 callersFunctionexecuteCommitDpos1
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/method.go:1030
↓ 1 callersFunctionexecuteCommitDpos2
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/method.go:1171
↓ 1 callersFunctionexecutePeerSplit
(native *native.NativeService, contract common.Address, peerAddress common.Address, totalAmount uint64)
smartcontract/service/native/governance/method.go:1017
↓ 1 callersFunctionexecuteSplit
(native *native.NativeService, contract common.Address, view uint32)
smartcontract/service/native/governance/method.go:720
↓ 1 callersFunctionexecuteSplit2
(native *native.NativeService, contract common.Address, view uint32)
smartcontract/service/native/governance/method.go:820
↓ 1 callersFunctionexecuteTransaction
(tx *types.Transaction, cache *storage.CacheDB)
smartcontract/service/native/testsuite/gas_suite.go:79
↓ 1 callersMethodfetchedBlock
(blkNum uint32, block *Block)
consensus/vbft/node_sync.go:499
↓ 1 callersMethodfindLast
()
core/store/overlaydb/memdb.go:261
↓ 1 callersFunctionfindPk
(srvc *native.NativeService, encID, pub []byte)
smartcontract/service/native/did/owner.go:128
↓ 1 callersFunctionfindSigner
(id []byte, signers []Signer)
smartcontract/service/native/did/group.go:180
↓ 1 callersMethodfirst
()
core/store/overlaydb/iterator.go:68
↓ 1 callersFunctionfromApprove
(native *native.NativeService, fromApproveKey []byte, value uint64)
smartcontract/service/native/gas/utils.go:132
↓ 1 callersFunctiongenAddressUnboundOffsetKey
(contract, address common.Address)
smartcontract/service/native/gas/utils.go:173
↓ 1 callersFunctiongenBBInt
()
vm/neovm/int_value_test.go:45
↓ 1 callersMethodgenBlock
()
consensus/solo/solo.go:147
← previousnext →1,701–1,800 of 3,494, ranked by callers