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
blockConsensusDone
(blks BlockFromPeers)
consensus/vbft/node_sync.go:244
↓ 1 callers
Method
blockSyncFinished
blockSyncFinished compare all nbr peers and self height at beginning
p2pserver/p2pserver.go:238
↓ 1 callers
Method
broadcastToAll
(data []byte)
consensus/vbft/node_utils.go:434
↓ 1 callers
Function
buildNeoVmValueFromExpect
(expectlist []interface{})
wasmtest/wasm-test.go:372
↓ 1 callers
Method
buildParamToNative
(sink *common.ZeroCopySink)
vm/neovm/types/neovm_value.go:168
↓ 1 callers
Function
buildTestBlock
(t *testing.T, lastBlock *types.Block, lgr *ledger.Ledger)
consensus/vbft/block_pool_test.go:42
↓ 1 callers
Function
buildTestBlockPool
(t *testing.T)
consensus/vbft/block_pool_test.go:37
↓ 1 callers
Function
buildTestConext
(testConext *TestContext)
wasmtest/common/common.go:199
↓ 1 callers
Function
buildTestConextForNeo
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 callers
Function
calcParticipant
(vrf vconfig.VRFValue, dposTable []uint32, k uint32)
consensus/vbft/node_utils.go:293
↓ 1 callers
Function
calculateTotalStateHash
(overlay *overlaydb.OverlayDB)
core/store/ledgerstore/ledger_store.go:675
↓ 1 callers
Method
calculate_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 callers
Method
cancelFetcherForPeer
(peer *PeerSyncer)
consensus/vbft/node_sync.go:310
↓ 1 callers
Method
catchConsensus
TODO: refactor this
consensus/vbft/service.go:2387
↓ 1 callers
Method
checkAccountAddress
(address common.Address)
smartcontract/smart_contract.go:218
↓ 1 callers
Method
checkConsistence
(tree_size uint32)
merkle/file_hash_store.go:81
↓ 1 callers
Method
checkContractAddress
(address common.Address)
smartcontract/smart_contract.go:232
↓ 1 callers
Function
checkCurve
(ctx *cli.Context, reader *bufio.Reader, t *string)
cmd/account.go:206
↓ 1 callers
Function
checkExecResult
(testCase common3.TestCase, result *states.PreExecResult, execEnv ExecEnv)
wasmtest/wasm-test.go:323
↓ 1 callers
Method
checkFeaturesEnabled
(opcode OpCode)
vm/neovm/executor.go:105
↓ 1 callers
Function
checkLabel
(ctx *cli.Context)
cmd/account.go:183
↓ 1 callers
Function
checkMultiAltStackOpCode
(t *testing.T, code []byte, origin [2][]Value, expected [2][]Value)
vm/neovm/stack_opcode_test.go:111
↓ 1 callers
Function
checkNumber
(ctx *cli.Context)
cmd/account.go:166
↓ 1 callers
Function
checkOntoWasm
(m *wasm.Module)
smartcontract/service/wasmvm/utils.go:46
↓ 1 callers
Method
checkPendingBlockOk
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 callers
Function
checkScheme
(ctx *cli.Context, reader *bufio.Reader, t *string)
cmd/account.go:236
↓ 1 callers
Method
checkSessionsTimeout
check sessions timeout,if expire close the session
http/websocket/websocket/server.go:229
↓ 1 callers
Method
checkTimeout
()
p2pserver/block_sync.go:345
↓ 1 callers
Function
checkTransactionPayload
(tx *types.Transaction)
core/validation/transaction_validator.go:117
↓ 1 callers
Function
checkTransactionSignatures
(tx *types.Transaction)
core/validation/transaction_validator.go:59
↓ 1 callers
Function
checkType
(ctx *cli.Context, reader *bufio.Reader)
cmd/account.go:190
↓ 1 callers
Function
checkVmFlags
(vmFlags byte)
core/payload/deploy_code.go:106
↓ 1 callers
Method
circularRefAndDepthDetection
(visited map[uintptr]bool, depth int)
vm/neovm/types/neovm_value.go:492
↓ 1 callers
Method
clearBlocks
(curBlockHeight uint32)
p2pserver/block_sync.go:281
↓ 1 callers
Method
clearBlocks
(curBlockHeight uint32)
p2pserver/block_sync.go:287
↓ 1 callers
Method
cloneMem
clone except internal hash storage
merkle/merkle_tree.go:132
↓ 1 callers
Function
cloneStruct
(s *StructValue, length *int)
vm/neovm/types/struct_value.go:61
↓ 1 callers
Method
close
()
consensus/vbft/chain_store.go:70
↓ 1 callers
Function
compareFuncBigInt
(left, right *big.Int, opcode OpCode)
vm/neovm/int_value_test.go:163
↓ 1 callers
Function
compareFuncIntValue
(left, right *big.Int, opcode OpCode)
vm/neovm/int_value_test.go:124
↓ 1 callers
Method
connectSeedService
connectSeedService make sure seed peer be connected
p2pserver/p2pserver.go:451
↓ 1 callers
Method
connectSeeds
connectSeeds connect the seeds in seedlist and call for nbr list
p2pserver/p2pserver.go:289
↓ 1 callers
Function
constructBlockFetchMsg
(acc *account.Account)
consensus/vbft/msg_types_test.go:279
↓ 1 callers
Method
constructBlockFetchMsg
(blkNum uint32)
consensus/vbft/msg_builder.go:369
↓ 1 callers
Function
constructBlockFetchRespMsg
(acc *account.Account, blk *Block)
consensus/vbft/msg_types_test.go:305
↓ 1 callers
Method
constructBlockFetchRespMsg
(blkNum uint32, blk *Block, blkHash common.Uint256)
consensus/vbft/msg_builder.go:375
↓ 1 callers
Function
constructBlockInfoFetchMsg
(acc *account.Account)
consensus/vbft/msg_types_test.go:220
↓ 1 callers
Method
constructBlockInfoFetchMsg
(startBlkNum uint32)
consensus/vbft/msg_builder.go:383
↓ 1 callers
Function
constructBlockInfoFetchRespMsg
(acc *account.Account)
consensus/vbft/msg_types_test.go:247
↓ 1 callers
Method
constructBlockInfoFetchRespMsg
(blockInfos []*BlockInfo_)
consensus/vbft/msg_builder.go:389
↓ 1 callers
Method
constructBlockSubmitMsg
(blkNum uint32, stateRoot common.Uint256)
consensus/vbft/msg_builder.go:402
↓ 1 callers
Function
constructCommitMsg
(acc *account.Account, proposal *blockProposalMsg, blkHash common.Uint256)
consensus/vbft/msg_types_test.go:127
↓ 1 callers
Method
constructCommitMsg
(proposal *blockProposalMsg, endorses []*blockEndorseMsg, forEmpty bool)
consensus/vbft/msg_builder.go:325
↓ 1 callers
Function
constructEndorseMsg
(acc *account.Account, proposal *blockProposalMsg, blkHash common.Uint256)
consensus/vbft/msg_types_test.go:93
↓ 1 callers
Function
constructHandshakeMsg
(acc *account.Account)
consensus/vbft/msg_types_test.go:161
↓ 1 callers
Function
constructHeartbeatMsg
(acc *account.Account)
consensus/vbft/msg_types_test.go:190
↓ 1 callers
Method
constructHeartbeatMsg
()
consensus/vbft/msg_builder.go:157
↓ 1 callers
Function
constructProposalFetchMsg
(acc *account.Account)
consensus/vbft/msg_types_test.go:335
↓ 1 callers
Method
constructProposalFetchMsg
(blkNum uint32, proposer uint32)
consensus/vbft/msg_builder.go:395
↓ 1 callers
Method
constructProposalMsg
(blkNum uint32, sysTxs, userTxs []*types.Transaction, chainconfig *vconfig.ChainConfig)
consensus/vbft/msg_builder.go:227
↓ 1 callers
Method
convertNeoVmValueHexString
(count *int, length *int)
vm/neovm/types/neovm_value.go:222
↓ 1 callers
Function
convertNeovmFuncName
Neovm func name in Camel-Case. For example: transfer, transferFrom
cmd/utils/neovm_param_abi.go:54
↓ 1 callers
Function
creatPeers
(cnt uint16)
p2pserver/net/netserver/netserver_test.go:40
↓ 1 callers
Function
createListener
createListener creates a net listener on the port
p2pserver/net/netserver/net_utils.go:39
↓ 1 callers
Function
createPeers
(cnt uint16)
p2pserver/peer/nbr_peer_test.go:30
↓ 1 callers
Method
creategovernaceTransaction
creategovernaceTransaction invoke governance native contract commit_pos
consensus/vbft/service.go:2134
↓ 1 callers
Function
decimals
:return: the decimals of the token
wasmtest/contracts-cplus/test_oep4.py:124
↓ 1 callers
Function
deepCopy
(peersInfo []*config.VBFTPeerStakeInfo)
consensus/vbft/config/genesis.go:55
↓ 1 callers
Method
delBlockCache
(blockHeight uint32)
p2pserver/block_sync.go:691
↓ 1 callers
Method
delTransaction
delTransaction deletes a transaction in the tx pool.
txnpool/proc/txnpool_server.go:565
↓ 1 callers
Function
delegate
* * 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 callers
Function
deleteAllAttr
(srvc *native.NativeService, encID []byte)
smartcontract/service/native/did/attribute.go:210
↓ 1 callers
Method
deleteSubscribe
(sessionId string)
http/websocket/websocket/server.go:375
↓ 1 callers
Method
deleteTxHashes
(sessionId string)
http/websocket/websocket/server.go:366
↓ 1 callers
Function
deployAuthContract
()
core/genesis/genesis.go:162
↓ 1 callers
Function
deployOntIDContract
()
core/genesis/genesis.go:175
↓ 1 callers
Function
depositPenaltyStake
(native *native.NativeService, contract common.Address, peerPubkey string, initPos uint64, authorizePos uint64
smartcontract/service/native/governance/method.go:624
↓ 1 callers
Method
deserializationUnsigned
(source *common.ZeroCopySource)
core/types/header.go:91
↓ 1 callers
Method
deserializationUnsigned
(source *common.ZeroCopySource)
core/types/header.go:226
↓ 1 callers
Method
deserializationUnsigned
(source *common.ZeroCopySource)
core/types/transaction.go:145
↓ 1 callers
Method
deserialize
(source *common.ZeroCopySource, depth int)
vm/neovm/types/neovm_value.go:297
↓ 1 callers
Method
dropMsg
(msg ConsensusMsg)
consensus/vbft/msg_pool.go:66
↓ 1 callers
Method
dump
()
vm/neovm/types/neovm_value.go:767
↓ 1 callers
Function
ensureBuffer
(b []byte, n int)
smartcontract/storage/cachedb.go:55
↓ 1 callers
Function
executeAddressSplit
(native *native.NativeService, contract common.Address, authorizeInfo *AuthorizeInfo, preIfConsensus, ifConsen
smartcontract/service/native/governance/method.go:993
↓ 1 callers
Function
executeCommitDpos1
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/method.go:1030
↓ 1 callers
Function
executeCommitDpos2
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/method.go:1171
↓ 1 callers
Function
executePeerSplit
(native *native.NativeService, contract common.Address, peerAddress common.Address, totalAmount uint64)
smartcontract/service/native/governance/method.go:1017
↓ 1 callers
Function
executeSplit
(native *native.NativeService, contract common.Address, view uint32)
smartcontract/service/native/governance/method.go:720
↓ 1 callers
Function
executeSplit2
(native *native.NativeService, contract common.Address, view uint32)
smartcontract/service/native/governance/method.go:820
↓ 1 callers
Function
executeTransaction
(tx *types.Transaction, cache *storage.CacheDB)
smartcontract/service/native/testsuite/gas_suite.go:79
↓ 1 callers
Method
fetchedBlock
(blkNum uint32, block *Block)
consensus/vbft/node_sync.go:499
↓ 1 callers
Method
findLast
()
core/store/overlaydb/memdb.go:261
↓ 1 callers
Function
findPk
(srvc *native.NativeService, encID, pub []byte)
smartcontract/service/native/did/owner.go:128
↓ 1 callers
Function
findSigner
(id []byte, signers []Signer)
smartcontract/service/native/did/group.go:180
↓ 1 callers
Method
first
()
core/store/overlaydb/iterator.go:68
↓ 1 callers
Function
fromApprove
(native *native.NativeService, fromApproveKey []byte, value uint64)
smartcontract/service/native/gas/utils.go:132
↓ 1 callers
Function
genAddressUnboundOffsetKey
(contract, address common.Address)
smartcontract/service/native/gas/utils.go:173
↓ 1 callers
Function
genBBInt
()
vm/neovm/int_value_test.go:45
↓ 1 callers
Method
genBlock
()
consensus/solo/solo.go:147
← previous
next →
1,701–1,800 of 3,494, ranked by callers