MCPcopy Create free account

hub / github.com/DNAProject/DNA / functions

Functions3,494 in github.com/DNAProject/DNA

↓ 2 callersMethodgenBlockMerkleTreeKey
()
core/store/ledgerstore/state_store.go:383
↓ 2 callersFunctiongenConsensusPayload
(cfg *config.VBFTConfig, txhash common.Uint256, height uint32)
consensus/vbft/config/genesis.go:69
↓ 2 callersFunctiongenEventNotifyByBlockKey
(height uint32)
core/store/ledgerstore/event_store.go:182
↓ 2 callersFunctiongenEventNotifyByTxKey
(txHash common.Uint256)
core/store/ledgerstore/event_store.go:189
↓ 2 callersFunctiongenRandKeyVal
()
smartcontract/storage/cachedb_test.go:32
↓ 2 callersMethodgenStateMerkleRootKey
(height uint32)
core/store/ledgerstore/state_store.go:391
↓ 2 callersMethodgenStateMerkleTreeKey
()
core/store/ledgerstore/state_store.go:387
↓ 2 callersMethodget
(prefix common.DataEntryPrefix, key []byte)
smartcontract/storage/cachedb.go:124
↓ 2 callersMethodgetActivePeerCount
()
consensus/vbft/peer_pool.go:108
↓ 2 callersFunctiongetAttrKeys
(attr []attribute)
smartcontract/service/native/did/attribute.go:202
↓ 2 callersMethodgetBlockHashKey
(height uint32)
core/store/ledgerstore/block_store.go:487
↓ 2 callersMethodgetBookkeeperKey
()
core/store/ledgerstore/state_store.go:352
↓ 2 callersFunctiongetController
(srvc *native.NativeService, encId []byte)
smartcontract/service/native/did/controller.go:309
↓ 2 callersMethodgetCurrentBlockKey
()
core/store/ledgerstore/state_store.go:348
↓ 2 callersMethodgetCurrentBlockKey
()
core/store/ledgerstore/block_store.go:494
↓ 2 callersMethodgetCurrentBlockKey
()
core/store/ledgerstore/event_store.go:178
↓ 2 callersMethodgetEventTimeout
(evtType TimerEventType)
consensus/vbft/event_timer.go:157
↓ 2 callersMethodgetExecWriteSet
(blkNum uint32)
consensus/vbft/block_pool.go:791
↓ 2 callersFunctiongetGasPriceConfig
getGasPriceConfig returns the bigger one between global and cmd configured
txnpool/proc/txnpool_server.go:140
↓ 2 callersMethodgetHeaderCache
(blockHash common.Uint256)
core/store/ledgerstore/ledger_store.go:407
↓ 2 callersMethodgetMerkleTree
(key []byte)
core/store/ledgerstore/state_store.go:147
↓ 2 callersMethodgetNextAccountIndex
()
cmd/sigsvr/store/wallet_store.go:320
↓ 2 callersMethodgetNode
getNode returns the peer with the id
p2pserver/p2pserver.go:376
↓ 2 callersMethodgetNodeWithMinFailedTimes
(flightInfo *SyncFlightInfo, curBlockHeight uint32)
p2pserver/block_sync.go:890
↓ 2 callersFunctiongetOngBalance
(native *native.NativeService, address common.Address)
smartcontract/service/native/governance/utils.go:181
↓ 2 callersMethodgetP2pId
(peerIdx uint32)
consensus/vbft/peer_pool.go:287
↓ 2 callersMethodgetParams
get request params
http/restful/restful/server.go:208
↓ 2 callersFunctiongetParticipantSelectionSeed
(block *Block)
consensus/vbft/utils.go:80
↓ 2 callersMethodgetPath
(url string)
http/restful/restful/server.go:169
↓ 2 callersFunctiongetPenaltyStake
(native *native.NativeService, contract common.Address, peerPubkey string)
smartcontract/service/native/governance/utils.go:544
↓ 2 callersFunctiongetPreConfig
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/utils.go:404
↓ 2 callersMethodgetProposerRank
(blockNum uint32, peerIdx uint32)
consensus/vbft/node_utils.go:100
↓ 2 callersMethodgetState
()
consensus/vbft/state_mgmt.go:105
↓ 2 callersFunctiongetStoredHashNum
(tree_size uint32)
merkle/file_hash_store.go:71
↓ 2 callersFunctiongetSubTreeSize
1 based n
merkle/merkle_tree.go:199
↓ 2 callersFunctiongetTotalStake
(native *native.NativeService, contract common.Address, address common.Address)
smartcontract/service/native/governance/utils.go:579
↓ 2 callersMethodgetVersionKey
()
core/store/ledgerstore/block_store.go:502
↓ 2 callersMethodhandleBlockPersistCompleted
(block *types.Block)
consensus/vbft/service.go:208
↓ 2 callersFunctionhasAlreadySig
(data []byte, pk keypair.PublicKey, sigDatas [][]byte)
cmd/utils/gas.go:379
↓ 2 callersFunctionhashData
(data []byte)
consensus/vbft/utils.go:56
↓ 2 callersMethodheartbeat
()
consensus/vbft/node_utils.go:372
↓ 2 callersFunctioninitTestPeer
()
p2pserver/peer/peer_test.go:29
↓ 2 callersFunctioninitVbftBlock
(block *types.Block, prevMerkleRoot common.Uint256)
consensus/vbft/types.go:141
↓ 2 callersMethodisContractExist
(contractAddress common.Address)
smartcontract/service/wasmvm/contract.go:221
↓ 2 callersFunctionisContractParamValid
(engine *vm.Executor)
smartcontract/service/neovm/contract.go:147
↓ 2 callersMethodloadRawHeader
(blockHash common.Uint256)
core/store/ledgerstore/block_store.go:239
↓ 2 callersFunctionmakeBlock
(acc *account.Account, txs []*types.Transaction)
wasmtest/wasm-test.go:419
↓ 2 callersMethodmakeSealed
(proposal *blockProposalMsg, forEmpty bool)
consensus/vbft/service.go:2255
↓ 2 callersFunctionmakeTransfer
(native *native.NativeService, from, to common.Address, value uint64)
smartcontract/service/native/testsuite/gas_suite_test.go:50
↓ 2 callersMethodnewBlockEndorsement
add endorsement msg to CandidateInfo
consensus/vbft/block_pool.go:297
↓ 2 callersFunctionnewBlockPool
(server *Server, historyLen uint32, store *ChainStore)
consensus/vbft/block_pool.go:80
↓ 2 callersFunctionnewParamContract
()
core/genesis/genesis.go:135
↓ 2 callersFunctionnewParamInit
()
core/genesis/genesis.go:223
↓ 2 callersFunctionnewStateMgr
(server *Server)
consensus/vbft/state_mgmt.go:95
↓ 2 callersFunctionnewSyncer
(server *Server)
consensus/vbft/node_sync.go:86
↓ 2 callersFunctionnewTestChainStore
(t *testing.T)
consensus/vbft/chain_store_test.go:74
↓ 2 callersFunctionnewUtilityToken
()
core/genesis/genesis.go:122
↓ 2 callersFunctionnormalQuit
(native *native.NativeService, contract common.Address, peerPoolItem *PeerPoolItem)
smartcontract/service/native/governance/method.go:272
↓ 2 callersMethodonLiveTick
(evt *StateEvent)
consensus/vbft/state_mgmt.go:281
↓ 2 callersMethodonPeerDisconnected
(peerIdx uint32)
consensus/vbft/state_mgmt.go:265
↓ 2 callersMethodonPeerUpdate
(peerState *PeerState)
consensus/vbft/state_mgmt.go:182
↓ 2 callersFunctionparseNotify
input byte array should be the following format evt\0(4byte) + type(1byte) + usize( bytearray or list) (4 bytes) + data...
vm/crossvm_codec/notify_codec.go:69
↓ 2 callersFunctionparseRawParamValue
(pType string, pValue string)
cmd/utils/params.go:175
↓ 2 callersMethodpeerHandshake
(peerIdx uint32, msg *peerHandshakeMsg)
consensus/vbft/peer_pool.go:174
↓ 2 callersMethodpeerHeartbeat
(peerIdx uint32, msg *peerHeartbeatMsg)
consensus/vbft/peer_pool.go:188
↓ 2 callersMethodpingTo
pings send pkgs to get pong msg from others
p2pserver/p2pserver.go:517
↓ 2 callersFunctionpreExecCheck
preExecCheck checks whether preExec pass
txnpool/proc/txnpool_actor.go:77
↓ 2 callersFunctionpubKeysEqual
(pks1, pks2 []keypair.PublicKey)
cmd/utils/gas.go:389
↓ 2 callersFunctionpushEvent
(contractAddrs map[string]bool, txHash string, errcode int64, action string, result interface{})
http/websocket/server.go:94
↓ 2 callersMethodput
(prefix common.DataEntryPrefix, key []byte, value []byte)
smartcontract/storage/cachedb.go:84
↓ 2 callersFunctionputDelegateStatus
(native *native.NativeService, contractAddr common.Address, DID []byte, status *Status)
smartcontract/service/native/auth/utils.go:164
↓ 2 callersFunctionputGlobalParam
(native *native.NativeService, contract common.Address, globalParam *GlobalParam)
smartcontract/service/native/governance/utils.go:262
↓ 2 callersFunctionputGovernanceView
(native *native.NativeService, contract common.Address, governanceView *GovernanceView)
smartcontract/service/native/governance/utils.go:101
↓ 2 callersFunctionputPromisePos
(native *native.NativeService, contract common.Address, promisePos *PromisePos)
smartcontract/service/native/governance/utils.go:729
↓ 2 callersFunctionputRecovery
(srvc *native.NativeService, encID, data []byte)
smartcontract/service/native/did/recovery.go:214
↓ 2 callersFunctionputSplitCurve
(native *native.NativeService, contract common.Address, splitCurve *SplitCurve)
smartcontract/service/native/governance/utils.go:626
↓ 2 callersFunctionputSplitFee
(native *native.NativeService, contract common.Address, splitFee uint64)
smartcontract/service/native/governance/utils.go:475
↓ 2 callersFunctionputSplitFeeAddress
(native *native.NativeService, contract common.Address, address common.Address, splitFeeAddress *SplitFeeAddre
smartcontract/service/native/governance/utils.go:502
↓ 2 callersFunctionputTotalStake
(native *native.NativeService, contract common.Address, totalStake *TotalStake)
smartcontract/service/native/governance/utils.go:600
↓ 2 callersMethodreencrypt
(passwords [][]byte, param *keypair.ScryptParam)
account/file_store.go:184
↓ 2 callersFunctionregIdWithController
(srvc *native.NativeService)
smartcontract/service/native/did/controller.go:34
↓ 2 callersFunctionregisterCandidate
(native *native.NativeService, flag string)
smartcontract/service/native/governance/method.go:37
↓ 2 callersMethodresponse
response
http/restful/restful/server.go:315
↓ 2 callersFunctionrevokeByCtrl
(n *native.NativeService, id string, s []Signer, addr []common.Address)
smartcontract/service/native/did/controller_test.go:426
↓ 2 callersFunctionrevokePkByIndex
(srvc *native.NativeService, encID []byte, index uint32)
smartcontract/service/native/did/owner.go:165
↓ 2 callersMethodsaveBlockToEventStore
(block *types.Block)
core/store/ledgerstore/ledger_store.go:741
↓ 2 callersMethodsaveBlockToStateStore
(block *types.Block, result store.ExecuteResult)
core/store/ledgerstore/ledger_store.go:705
↓ 2 callersMethodsendReq2StatefulV
sendReq2StatefulV sends a check request to the stateful validator
txnpool/proc/txnpool_worker.go:250
↓ 2 callersMethodsendReq2Validator
sendReq2Validator sends a check request to the validators
txnpool/proc/txnpool_worker.go:231
↓ 2 callersMethodsetHeaderIndex
(height uint32, blockHash common.Uint256)
core/store/ledgerstore/ledger_store.go:326
↓ 2 callersMethodsetHeight
setHeight set current block height
txnpool/proc/txnpool_server.go:243
↓ 2 callersFunctionsetOldRecovery
deprecated retain for conpatibility
smartcontract/service/native/did/recovery.go:345
↓ 2 callersMethodsetPendingTx
setPendingTx adds a transaction to the pending list, if the transaction is already in the pending list, just return false.
txnpool/proc/txnpool_server.go:302
↓ 2 callersFunctionsplitCurve
(native *native.NativeService, contract common.Address, pos uint64, avg uint64, yita uint64)
smartcontract/service/native/governance/utils.go:193
↓ 2 callersFunctionsplitNodeFee
(native *native.NativeService, contract common.Address, peerPubkey string, peerAddress common.Address, preIfCo
smartcontract/service/native/governance/method.go:1337
↓ 2 callersMethodstart
Start is the main event loop.
txnpool/proc/txnpool_worker.go:302
↓ 2 callersMethodstartNewProposal
(blkNum uint32)
consensus/vbft/service.go:746
↓ 2 callersMethodstop
stop closes/releases channels and stops timer
txnpool/proc/txnpool_worker.go:334
↓ 2 callersFunctionstopAllTimers
(timers map[uint32]*time.Timer)
consensus/vbft/event_timer.go:104
↓ 2 callersMethodstopTxTicker
(blockNum uint32)
consensus/vbft/event_timer.go:392
← previousnext →1,101–1,200 of 3,494, ranked by callers