MCPcopy Create free account

hub / github.com/DNAProject/DNA / functions

Functions3,494 in github.com/DNAProject/DNA

↓ 3 callersMethodNextInt64
()
common/zero_copy_source.go:155
↓ 3 callersMethodNot
()
vm/neovm/types/int_value.go:251
↓ 3 callersMethodOr
(other IntValue)
vm/neovm/types/int_value.go:218
↓ 3 callersFunctionParseNativeParams
(builder *neovm.ParamsBuilder, params []interface{}, paramsAbi []*abi.NativeContractParamAbi)
cmd/utils/native_param.go:78
↓ 3 callersFunctionParseParams
ParseParams return interface{} array of encode params item. A param item compose of type and value, type can be: bytearray, string, int, bool Param ty
cmd/utils/params.go:59
↓ 3 callersMethodPopAsArray
()
vm/neovm/value_stack_conversion.go:85
↓ 3 callersMethodPopContext
()
smartcontract/context/context.go:41
↓ 3 callersMethodPost
(path string, handler http.HandlerFunc)
http/restful/restful/router.go:104
↓ 3 callersMethodPreExecuteContractBatch
(txes []*types.Transaction, atomic bool)
core/store/store.go:70
↓ 3 callersFunctionPrintNotice
* common - print notice when user need to choose or enter something */
cmd/common/notice.go:27
↓ 3 callersFunctionProgramFromMultiPubKey
(pubkeys []keypair.PublicKey, m int)
core/program/program.go:123
↓ 3 callersMethodPushContext
(context *Context)
smartcontract/context/context.go:37
↓ 3 callersMethodPushNotifications
(notifications []*event.NotifyEventInfo)
smartcontract/context/context.go:43
↓ 3 callersMethodPushNum
(num uint16)
core/program/program.go:50
↓ 3 callersMethodPut
(key []byte, value []byte)
core/store/overlaydb/overlaydb.go:80
↓ 3 callersFunctionRandomAddress
()
smartcontract/service/native/testsuite/gas_suite.go:39
↓ 3 callersFunctionReadByte
(reader io.Reader)
common/serialization/serialize.go:305
↓ 3 callersFunctionReadBytes
(reader io.Reader, length uint64)
common/serialization/serialize.go:183
↓ 3 callersMethodReadBytesInto
(b []byte)
vm/neovm/utils/vm_reader.go:67
↓ 3 callersFunctionReadString
(reader io.Reader)
common/serialization/serialize.go:163
↓ 3 callersMethodReadUint32
()
vm/neovm/utils/vm_reader.go:84
↓ 3 callersMethodRemoveFromConnectingList
Remove the peer from connecting list if the connection is established
p2pserver/net/netserver/netserver.go:443
↓ 3 callersMethodRemoveFromInConnRecord
(addr string)
p2pserver/net/protocol/server.go:59
↓ 3 callersMethodRemoveFromOutConnRecord
(addr string)
p2pserver/net/protocol/server.go:58
↓ 3 callersFunctionSafeAdd
(x, y uint64)
common/safeMath.go:34
↓ 3 callersMethodSaveBlockHash
SaveBlockHash persist block height and block hash to store
core/store/ledgerstore/block_store.go:349
↓ 3 callersMethodSerialization
(sink *common.ZeroCopySink)
core/payload/deploy_code.go:132
↓ 3 callersMethodSetDebugLevel
(level int)
common/log/log.go:132
↓ 3 callersMethodSetPort
SetPort sets a peer's sync port
p2pserver/peer/peer.go:92
↓ 3 callersMethodSetVersion
SetVersion sets a peer's version
p2pserver/peer/peer.go:62
↓ 3 callersMethodSize
Size returns sum of keys and values length. Note that deleted key/value will not be accounted for, but it will still consume the buffer, since the buf
core/store/overlaydb/memdb.go:405
↓ 3 callersMethodSkip
(n uint64)
common/zero_copy_source.go:70
↓ 3 callersMethodStart
()
http/base/rest/interfaces.go:40
↓ 3 callersMethodStart
()
consensus/consensus.go:34
↓ 3 callersMethodStartCommitTimer
(blockNum uint32)
consensus/vbft/event_timer.go:272
↓ 3 callersMethodStartEndorseEmptyBlockTimer
(blockNum uint32)
consensus/vbft/event_timer.go:257
↓ 3 callersMethodString
()
common/fixed64.go:60
↓ 3 callersMethodType
()
consensus/dbft/consensus_message.go:35
↓ 3 callersMethodUnsubscribe
(topic string)
events/actor_event.go:104
↓ 3 callersMethodUpdateRXTime
record latest message time
p2pserver/link/link.go:106
↓ 3 callersMethodVerifyLeafHashInclusion
* Verify a Merkle Audit PATH. leaf_hash: The hash of the leaf for which the proof was provided. leaf_index: Index of the leaf in the tree.
merkle/merkle_tree.go:365
↓ 3 callersFunctionVmTypeFromByte
(ty byte)
core/payload/deploy_code.go:39
↓ 3 callersMethodWriteInt64
(data int64)
common/zero_copy_sink.go:122
↓ 3 callersFunctionWriteString
(writer io.Writer, value string)
common/serialization/serialize.go:147
↓ 3 callersMethodXor
(other IntValue)
vm/neovm/types/int_value.go:202
↓ 3 callersFunctionapprove
owner allow spender to spend amount of token from owner account Note here, the amount should be less than the balance of owner right now.
wasmtest/contracts-cplus/test_oep4.py:196
↓ 3 callersFunctionbatchInsertAttr
(srvc *native.NativeService, encID []byte, attr []attribute)
smartcontract/service/native/did/attribute.go:137
↓ 3 callersMethodcanFastForward
(targetBlkNum uint32)
consensus/vbft/state_mgmt.go:454
↓ 3 callersFunctioncheckAttribute
(n *native.NativeService, id string, attributes []attribute)
smartcontract/service/native/did/attribute_test.go:184
↓ 3 callersFunctioncheckFileName
(ctx *cli.Context)
cmd/account.go:158
↓ 3 callersMethodclean
()
consensus/vbft/msg_pool.go:106
↓ 3 callersMethodcommitBlock
(proposal *blockProposalMsg, forEmpty bool)
consensus/vbft/service.go:1958
↓ 3 callersMethodcommitDone
check if has reached consensus on block-commit return @ consensused proposer @ for empty commit @ consensused Note: Attentions on lock content
consensus/vbft/block_pool.go:502
↓ 3 callersFunctionconcatContractAdminKey
type(this.contractAddr.Admin) = []byte
smartcontract/service/native/auth/utils.go:42
↓ 3 callersFunctionctrlAddAttr
(n *native.NativeService, id string, attr attribute, index uint64, addr common.Address)
smartcontract/service/native/did/controller_test.go:345
↓ 3 callersFunctionctrlRmAttr
(n *native.NativeService, id string, key []byte, index uint64, addr common.Address)
smartcontract/service/native/did/controller_test.go:359
↓ 3 callersFunctionctrlRmKey
(n *native.NativeService, id string, keyIndex, signIndex uint64, addr common.Address)
smartcontract/service/native/did/controller_test.go:383
↓ 3 callersMethoddelBlockLocked
(blockHeight uint32)
p2pserver/block_sync.go:304
↓ 3 callersMethoddelFlightBlock
(blockHash common.Uint256)
p2pserver/block_sync.go:830
↓ 3 callersMethoddelNode
delNode remove from node list
p2pserver/block_sync.go:634
↓ 3 callersFunctionflagCategory
(flag cli.Flag)
cmd/usage.go:294
↓ 3 callersFunctiongenAccountData
()
account/file_store_test.go:34
↓ 3 callersFunctiongetContext
(engine *vm.Executor)
smartcontract/service/neovm/storage.go:129
↓ 3 callersFunctiongetDIDToken
(native *native.NativeService, contractAddr common.Address, DID []byte)
smartcontract/service/native/auth/utils.go:112
↓ 3 callersFunctiongetGlobalParam2
get extends global params, for avoiding change default global param struct in store, add GlobalParam2 as extends struct
smartcontract/service/native/governance/utils.go:268
↓ 3 callersMethodgetPeer
(idx uint32)
consensus/vbft/peer_pool.go:265
↓ 3 callersMethodgetProposerRankLocked
(blockNum uint32, peerIdx uint32)
consensus/vbft/node_utils.go:153
↓ 3 callersFunctiongetRoleFunc
(native *native.NativeService, contractAddr common.Address, role []byte)
smartcontract/service/native/auth/utils.go:78
↓ 3 callersFunctiongetSplitFee
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/utils.go:456
↓ 3 callersFunctiongetSplitFeeAddress
(native *native.NativeService, contract common.Address, address common.Address)
smartcontract/service/native/governance/utils.go:481
↓ 3 callersFunctiongetStorageParam
(native *native.NativeService, key []byte)
smartcontract/service/native/global_params/utils.go:68
↓ 3 callersMethodgetSyncedChainConfigView
()
consensus/vbft/state_mgmt.go:325
↓ 3 callersMethodgetTransactionKey
(txHash common.Uint256)
core/store/ledgerstore/block_store.go:472
↓ 3 callersMethodhandleProposalTimeout
(evt *TimerEvent)
consensus/vbft/service.go:2320
↓ 3 callersMethodhash_empty
()
merkle/merkle_hasher.go:35
↓ 3 callersMethodisNewPeer
FIXME: should rename to isPeerConnected
consensus/vbft/peer_pool.go:78
↓ 3 callersMethodisPeerActive
(peerIdx uint32, blockNum uint32)
consensus/vbft/node_utils.go:54
↓ 3 callersMethodisPeerAlive
(peerIdx uint32, blockNum uint32)
consensus/vbft/node_utils.go:44
↓ 3 callersFunctionlogPrint
()
common/log/log_test.go:32
↓ 3 callersFunctionmakePrefixedKey
(dst []byte, prefix byte, key []byte)
smartcontract/storage/cachedb.go:62
↓ 3 callersMethodmakeProposal
(blkNum uint32, forEmpty bool)
consensus/vbft/service.go:2192
↓ 3 callersMethodnewBlockCommitment
add commit msg to CandidateInfo
consensus/vbft/block_pool.go:452
↓ 3 callersMethodnewBlockProposal
add proposalMsg to CandidateInfo
consensus/vbft/block_pool.go:134
↓ 3 callersMethodnext
()
core/store/overlaydb/iterator.go:136
↓ 3 callersFunctionparseRawParamsString
(rawParamStr string)
cmd/utils/params.go:67
↓ 3 callersFunctionputAllPk
(srvc *native.NativeService, key []byte, val []*owner)
smartcontract/service/native/did/owner.go:82
↓ 3 callersFunctionputConfig
(native *native.NativeService, contract common.Address, config *Configuration)
smartcontract/service/native/governance/utils.go:399
↓ 3 callersFunctionputPeerAttributes
(native *native.NativeService, contract common.Address, peerAttributes *PeerAttributes)
smartcontract/service/native/governance/utils.go:700
↓ 3 callersFunctionrandInt64
()
vm/neovm/int_value_test.go:37
↓ 3 callersMethodreVerifyStateful
reVerifyStateful re-verify a transaction's stateful data.
txnpool/proc/txnpool_server.go:633
↓ 3 callersMethodreachMinConnection
reachMinConnection return whether net layer have enough link under different config
p2pserver/p2pserver.go:354
↓ 3 callersFunctionregIdWithPublicKey
(srvc *native.NativeService)
smartcontract/service/native/did/method.go:38
↓ 3 callersFunctionremoveAttribute
(srvc *native.NativeService)
smartcontract/service/native/did/method.go:333
↓ 3 callersFunctionrevokeID
(srvc *native.NativeService)
smartcontract/service/native/did/method.go:399
↓ 3 callersFunctionrmCtrl
(n *native.NativeService, id string, index uint64, addr common.Address)
smartcontract/service/native/did/controller_test.go:394
↓ 3 callersFunctionrmKeyByRec
(n *native.NativeService, id string, index uint64, s []Signer, addr []common.Address)
smartcontract/service/native/did/recovery_test.go:221
↓ 3 callersMethodsaveBlock
()
p2pserver/block_sync.go:713
↓ 3 callersMethodsealBlock
(block *Block, empty bool, sigdata bool)
consensus/vbft/service.go:2059
↓ 3 callersMethodserializationUnsigned
Serialize the blockheader data without program
core/types/header.go:153
↓ 3 callersMethodsetCommitDone
@ set BlockPool as committed for given BlockNum Note: setCommitDone supposed to be called after commitDone. Because setCommitDone requires exclusive
consensus/vbft/block_pool.go:564
← previousnext →701–800 of 3,494, ranked by callers