MCPcopy Create free account

hub / github.com/DNAProject/DNA / functions

Functions3,494 in github.com/DNAProject/DNA

↓ 2 callersMethodSaveTransaction
SaveTransaction persist transaction to store
core/store/ledgerstore/block_store.go:355
↓ 2 callersMethodSaveVersion
SaveVersion persist version to store
core/store/ledgerstore/block_store.go:443
↓ 2 callersMethodScheme
()
core/signature/signer.go:37
↓ 2 callersMethodSend
Send tranfer buffer to peer
p2pserver/p2pserver.go:180
↓ 2 callersMethodSendRaw
SendTo call sync link to send buffer
p2pserver/peer/peer.go:203
↓ 2 callersMethodSerialization
(sink *common.ZeroCopySink)
core/states/storage_item.go:36
↓ 2 callersMethodSerialization
(sink *common.ZeroCopySink)
smartcontract/service/native/gas/states.go:62
↓ 2 callersMethodSerialize
(w io.Writer)
common/uint256.go:54
↓ 2 callersMethodSerialize
()
consensus/vbft/msg_types.go:339
↓ 2 callersMethodSerialize
Serialize the ChainConfig
consensus/vbft/config/config.go:95
↓ 2 callersFunctionSetBlockchainConfig
(ctx *cli.Context)
cmd/config.go:35
↓ 2 callersMethodSetConn
set connection
p2pserver/link/link.go:101
↓ 2 callersMethodSetDefaultAccount
Set a new account to default account
account/client.go:71
↓ 2 callersMethodSetHttpInfoPort
SetHttpInfoPort set peer`s httpinfo port
p2pserver/peer/peer.go:305
↓ 2 callersMethodSetID
SetID sets a peer's id
p2pserver/peer/peer.go:52
↓ 2 callersMethodSetLabel
Set a new label to accont
account/client.go:73
↓ 2 callersMethodSetNodeId
SetNodeId set a new node id
p2pserver/block_sync.go:173
↓ 2 callersFunctionSigMutilRawTransaction
(req *clisvrcom.CliRpcRequest, resp *clisvrcom.CliRpcResponse)
cmd/sigsvr/handlers/sig_mutil_raw_tx.go:46
↓ 2 callersFunctionSign
Sign sign return the signature to the data of private key
cmd/utils/gas.go:416
↓ 2 callersMethodSize
()
p2pserver/common/checksum.go:33
↓ 2 callersMethodStart
InitListen start listening on the config port
p2pserver/net/netserver/netserver.go:129
↓ 2 callersMethodStart
start a actor called net_server
p2pserver/actor/server/actor.go:47
↓ 2 callersMethodStartTimer
(Idx uint32, timeout time.Duration)
consensus/vbft/event_timer.go:125
↓ 2 callersMethodSubscribe
(topic string)
events/actor_event.go:100
↓ 2 callersMethodSwap
(i, j int)
vm/neovm/common.go:33
↓ 2 callersMethodTimeout
()
consensus/dbft/dbft_service.go:636
↓ 2 callersMethodToBEHex
to big endian hex string
common/int128.go:110
↓ 2 callersMethodToBigInt
()
common/int128.go:89
↓ 2 callersMethodToNeoBytes
()
vm/neovm/types/int_value.go:131
↓ 2 callersFunctionTransferFromTx
(gasPrice, gasLimit uint64, asset, sender, from, to string, amount uint64)
cmd/utils/gas.go:240
↓ 2 callersMethodTreeSize
()
merkle/merkle_tree.go:68
↓ 2 callersFunctionUint256FromHexString
(s string)
common/uint256.go:77
↓ 2 callersMethodUnRegisterActor
UnRegisterActor cancels the actor with the actor type.
txnpool/proc/txnpool_server.go:394
↓ 2 callersMethodVerifyBlock
(txs []*types.Transaction, height uint32)
consensus/actor/actor.go:52
↓ 2 callersFunctionVerifyTransaction
VerifyTransaction verifys received single transaction
core/validation/transaction_validator.go:40
↓ 2 callersMethodVerifyType
()
validator/stateful/stateful_validator.go:111
↓ 2 callersMethodVerifyType
()
validator/stateless/stateless_validator.go:92
↓ 2 callersMethodWeight
Weight calculate node's weight for sort. Highest weight node will be accessed first for next request.
p2pserver/block_sync.go:112
↓ 2 callersFunctionWriteByte
(writer io.Writer, val byte)
common/serialization/serialize.go:297
↓ 2 callersMethodXmit
(msg types.Message)
p2pserver/net/protocol/server.go:66
↓ 2 callersMethod_update
(tree_size uint32, hashes []common.Uint256)
merkle/merkle_tree.go:99
↓ 2 callersFunctionaccumulateHash
(hasher hash.Hash, iter scom.StoreIterator)
core/store/ledgerstore/ledger_store.go:695
↓ 2 callersMethodaddAccountData
(accData *AccountData)
account/client.go:176
↓ 2 callersMethodaddBlockCache
(nodeID uint64, block *types.Block, merkleRoot common.Uint256)
p2pserver/block_sync.go:677
↓ 2 callersMethodaddErrorRespCnt
addErrorRespCnt incre a node's error resp count
p2pserver/block_sync.go:947
↓ 2 callersMethodaddFlightBlock
(nodeId uint64, height uint32, blockHash common.Uint256)
p2pserver/block_sync.go:799
↓ 2 callersMethodaddTimeoutCnt
addTimeoutCnt incre a node's timeout count
p2pserver/block_sync.go:939
↓ 2 callersFunctionappCallTransfer
(native *native.NativeService, contract common.Address, from common.Address, to common.Address, amount uint64)
smartcontract/service/native/governance/utils.go:134
↓ 2 callersFunctionappCallTransferFrom
(native *native.NativeService, contract common.Address, sender common.Address, from common.Address, to common.
smartcontract/service/native/governance/utils.go:167
↓ 2 callersFunctionappCallTransferFromOnt
(native *native.NativeService, sender common.Address, from common.Address, to common.Address, amount uint64)
smartcontract/service/native/governance/utils.go:151
↓ 2 callersFunctionarrayEqual
(a1, a2 []interface{})
cmd/utils/params_test.go:89
↓ 2 callersFunctionassertEqual
(t *testing.T, expect, actual types.VmValue)
vm/neovm/stack_opcode_test.go:53
↓ 2 callersFunctionauthorizeForPeer
(native *native.NativeService, flag string)
smartcontract/service/native/governance/method.go:150
↓ 2 callersFunctionbalanceOf
:param account: :return: the token balance of account
wasmtest/contracts-cplus/test_oep4.py:138
↓ 2 callersFunctionblackQuit
(native *native.NativeService, contract common.Address, peerPoolItem *PeerPoolItem)
smartcontract/service/native/governance/method.go:324
↓ 2 callersMethodblockRange
()
validator/increment/increment.go:64
↓ 2 callersFunctionbuildArray
(item []VmValue)
vm/neovm/types/neovm_value_test.go:44
↓ 2 callersMethodbuildParticipantConfig
call this method with metaLock locked
consensus/vbft/node_utils.go:197
↓ 2 callersFunctionbytesReverse
(u []byte)
common/bigint.go:26
↓ 2 callersFunctioncalcGasByCodeLen
(codeLen int, codeGas uint64)
core/store/ledgerstore/tx_handler.go:180
↓ 2 callersFunctioncalcParticipantPeers
(cfg *BlockParticipantConfig, chain *vconfig.ChainConfig)
consensus/vbft/node_utils.go:221
↓ 2 callersMethodcheckContexts
()
smartcontract/smart_contract.go:124
↓ 2 callersFunctioncheckStorageContext
(service *NeoVmService, context *StorageContext)
smartcontract/service/neovm/storage.go:121
↓ 2 callersMethodcheckTx
checkTx checks whether a transaction is in the pending list or the transacton pool
txnpool/proc/txnpool_server.go:598
↓ 2 callersMethodcheckUpdateChainConfig
checkUpdateChainConfig query leveldb check is force update
consensus/vbft/service.go:2156
↓ 2 callersFunctionchecksum
(data []byte)
account/identity.go:101
↓ 2 callersFunctionchooseCurve
(reader *bufio.Reader)
cmd/account.go:142
↓ 2 callersFunctionchooseKeyType
wait for user to choose options
cmd/account.go:111
↓ 2 callersFunctionchooseScheme
(reader *bufio.Reader)
cmd/account.go:126
↓ 2 callersFunctioncleanTestChainStore
()
consensus/vbft/chain_store_test.go:122
↓ 2 callersMethodcleanTransactionList
cleanTransactionList cleans the txs in the block from the ledger
txnpool/proc/txnpool_server.go:531
↓ 2 callersFunctioncompareIntOp
(t *testing.T, func1, func2 IntOp)
vm/neovm/int_value_test.go:86
↓ 2 callersMethodcompareTxHeight
compareTxHeight compares a verifed transaction's height with the next block height from consensus. If the height is less than the next block height, r
txnpool/common/transaction_pool.go:115
↓ 2 callersFunctioncomputeMerkleRootOld
input a []uint256, create a merkleTree & calc the root hash
common/merkle_tree_test.go:178
↓ 2 callersFunctioncomputeVrf
(sk keypair.PrivateKey, blkNum uint32, prevVrf []byte)
consensus/vbft/utils.go:101
↓ 2 callersFunctionconcatDIDTokenKey
type(this.contractAddr.RoleP.ontID) = roleTokens
smartcontract/service/native/auth/utils.go:103
↓ 2 callersFunctionconcatDelegateStatusKey
type(this.contractAddr.DelegateStatus.ontID)
smartcontract/service/native/auth/utils.go:137
↓ 2 callersFunctionconcatRoleFuncKey
type(this.contractAddr.RoleFunc.role) = roleFuncs
smartcontract/service/native/auth/utils.go:69
↓ 2 callersFunctionconsensusToConsensus
(native *native.NativeService, contract common.Address, peerPoolItem *PeerPoolItem)
smartcontract/service/native/governance/method.go:396
↓ 2 callersFunctionconsensusToUnConsensus
(native *native.NativeService, contract common.Address, peerPoolItem *PeerPoolItem)
smartcontract/service/native/governance/method.go:482
↓ 2 callersMethodconstructBlock
(blkNum uint32, prevBlkHash common.Uint256, txs []*types.Transaction, consensusPayload []byte, blocktimestamp
consensus/vbft/msg_builder.go:189
↓ 2 callersFunctionconstructConfig
()
consensus/vbft/config/genesis_test.go:32
↓ 2 callersMethodconstructEndorseMsg
(proposal *blockProposalMsg, forEmpty bool)
consensus/vbft/msg_builder.go:287
↓ 2 callersFunctionconstructMsg
()
consensus/vbft/msg_builder_test.go:31
↓ 2 callersMethoddelFlightHeader
(height uint32)
p2pserver/block_sync.go:777
↓ 2 callersMethoddelHeaderCache
(blockHash common.Uint256)
core/store/ledgerstore/ledger_store.go:401
↓ 2 callersMethoddelete
Delete item from cache
smartcontract/storage/cachedb.go:143
↓ 2 callersFunctiondeleteAttr
(srvc *native.NativeService, encID, path []byte)
smartcontract/service/native/did/attribute.go:157
↓ 2 callersFunctiondeleteID
(srvc *native.NativeService, encID []byte)
smartcontract/service/native/did/utils.go:115
↓ 2 callersMethoddisconnectNotify
disconnectNotify push disconnect msg to channel
p2pserver/link/link.go:152
↓ 2 callersFunctiondoubleSha256
(s []Uint256)
common/merkle_tree_test.go:88
↓ 2 callersMethodendorsedForEmptyBlock
(blkNum uint32)
consensus/vbft/block_pool.go:218
↓ 2 callersFunctionexecTxCheckRes
(tx *types.Transaction, testCase common3.TestCase, database *ledger.Ledger, addr common.Address, acct *account
wasmtest/wasm-test.go:201
↓ 2 callersFunctionexecuteCommitDpos
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/method.go:683
↓ 2 callersMethodfastForwardBlock
(block *Block)
consensus/vbft/service.go:2037
↓ 2 callersMethodfindLT
(key []byte)
core/store/overlaydb/memdb.go:243
↓ 2 callersFunctionformatCommand
(cmds []cli.Command)
cmd/usage.go:330
↓ 2 callersFunctionformatFlags
(flags []cli.Flag)
cmd/usage.go:353
↓ 2 callersFunctionfromTransfer
(native *native.NativeService, fromKey []byte, value uint64)
smartcontract/service/native/gas/utils.go:147
↓ 2 callersFunctiongenBLInt
()
vm/neovm/int_value_test.go:54
← previousnext →1,001–1,100 of 3,494, ranked by callers