MCPcopy Create free account

hub / github.com/canopy-network/canopy / functions

Functions5,387 in github.com/canopy-network/canopy

↓ 1 callersFunctionAccount
(height, address)
cmd/rpc/web/wallet/components/api.js:302
↓ 1 callersFunctionAccount
(height, address)
cmd/rpc/web/explorer/components/api.js:137
↓ 1 callersMethodAccount
Account responds with an account for the specified address
cmd/rpc/query.go:62
↓ 1 callersFunctionAccountWithTxs
(height, address, nickname, page)
cmd/rpc/web/wallet/components/api.js:330
↓ 1 callersFunctionAccountWithTxs
(height, address, page)
cmd/rpc/web/explorer/components/api.js:141
↓ 1 callersFunctionAccounts
(page, _)
cmd/rpc/web/explorer/components/api.js:121
↓ 1 callersMethodAccounts
Accounts responds with accounts based on the page parameters
cmd/rpc/query.go:70
↓ 1 callersMethodAdd
Add() adds a failed transaction with its error to the cache
lib/mempool.go:367
↓ 1 callersMethodAdd
Add() records a 'new height' for a sender and height
lib/peer.go:307
↓ 1 callersMethodAdd
Add() adds a peer to the book in sorted order by public key
p2p/book.go:293
↓ 1 callersMethodAddIfHas
AddIfHas() records a 'new height' for a sender and height only if it already contains this block
lib/peer.go:329
↓ 1 callersMethodAddPacemakerMessage
[ public_key_string ] -> View message AddPacemakerMessage() adds the 'View' message to the list (keyed by public key string)
bft/bft.go:586
↓ 1 callersMethodAddPartialQC
[ PayloadHash ] -> Partial QC AddPartialQC() saves a non-majority Quorum Certificate which is a big hint of faulty behavior
bft/evidence.go:250
↓ 1 callersMethodAddSlash
AddSlash() adds a slash for an address at by a committee for a certain percent
fsm/byzantine.go:418
↓ 1 callersMethodAddSubscriber
Add() adds the client to the manager
cmd/rpc/sock.go:543
↓ 1 callersMethodAddSubscription
Add() adds the client to the manager
cmd/rpc/sock.go:448
↓ 1 callersFunctionAddVote
(json, approve)
cmd/rpc/web/wallet/components/api.js:314
↓ 1 callersFunctionAnyFromJSONForMessageType
AnyFromJSONForMessageType() converts JSON into anypb
lib/codec.go:73
↓ 1 callersFunctionAnyFromProtoJSON
AnyFromProtoJSON() converts JSON into a protobuf.Any
lib/codec.go:61
↓ 1 callersFunctionAppendWithBuffer
AppendWithBuffer() appends a and b into a fresh []byte using a buffer to reduce allocations. The result is safe to retain and use independently of a/b
lib/util.go:954
↓ 1 callersMethodApplyUpdate
ApplyUpdate coordinates the update process, stopping the old process and starting the new one while applying a snapshot if required
cmd/auto-update/coordinator.go:262
↓ 1 callersMethodBeginBlock
(_request: any)
plugin/typescript/src/contract/contract.ts:58
↓ 1 callersMethodBeginBlock
BeginBlock() is code that is executed at the start of `applying` the block
plugin/go/contract/contract.go:63
↓ 1 callersFunctionBigLess
BigLess() compares two big.Int values and returns true if the first is less
lib/util.go:593
↓ 1 callersMethodBitmap
Bitmap() returns a bitfield where each bit represents the signing status of a specific signer in the public key list. A set bit (1) indicates the sign
lib/crypto/bls.go:338
↓ 1 callersFunctionBlockByHash
(hash)
cmd/rpc/web/explorer/components/api.js:165
↓ 1 callersMethodBlockByHash
BlockByHash responds with block with hash h
cmd/rpc/query.go:407
↓ 1 callersFunctionBlockByHeight
(height)
cmd/rpc/web/explorer/components/api.js:161
↓ 1 callersMethodBlockByHeight
BlockByHeight responds with the block data found at a specific height
cmd/rpc/query.go:395
↓ 1 callersMethodBlocks
Blocks responds with a page of blocks based on the page parameters
cmd/rpc/query.go:413
↓ 1 callersMethodBytes
Bytes() casts the private key to bytes
lib/crypto/ed25519.go:57
↓ 1 callersFunctionBytesToBLS12381PrivateKey
BytesToBLS12381PrivateKey creates a private key from bytes
plugin/go/crypto/bls.go:25
↓ 1 callersFunctionBytesToBLS12381PrivateKey
BytesToBLS12381PrivateKey creates a private key from bytes
plugin/go/tutorial/crypto/bls.go:25
↓ 1 callersFunctionBytesToBLS12381PublicKey
BytesToBLS12381PublicKey creates a public key from bytes
plugin/go/crypto/bls.go:77
↓ 1 callersFunctionBytesToBLS12381PublicKey
BytesToBLS12381PublicKey creates a public key from bytes
plugin/go/tutorial/crypto/bls.go:77
↓ 1 callersMethodCalculateRewardRecipients
CalculateRewardRecipients() calculates the block reward recipients of the proposal
controller/result.go:74
↓ 1 callersMethodCertByHeight
CertByHeight response with the quorum certificate at height h
cmd/rpc/query.go:401
↓ 1 callersMethodCheck
Check() validates the QC by cross-checking the aggregate signature against the ValidatorSet isPartialQC means a valid aggregate signature, but not eno
lib/certificate.go:115
↓ 1 callersMethodCheck
Check() validates the Validator params
fsm/gov_params.go:244
↓ 1 callersMethodCheck
Check() validates the Fee params
fsm/gov_params.go:369
↓ 1 callersMethodCheck
Check() validates the Governance params
fsm/gov_params.go:428
↓ 1 callersMethodCheckAndApplyUpdate
CheckAndApplyUpdate performs a single update check and applies if needed
cmd/auto-update/coordinator.go:234
↓ 1 callersMethodCheckAndSetLastCertificate
CheckAndSetLastCertificate() validates the last quorum certificate included in the block and sets it in the ephemeral indexer NOTE: This must come bef
controller/block.go:586
↓ 1 callersMethodCheckBasic
CheckBasic() validates the basic structure and length of the AggregateSignature
lib/consensus.go:133
↓ 1 callersMethodCheckBasic
QUORUM CERTIFICATE CODE BELOW CheckBasic() performs 'sanity' checks on the Quorum Certificate structure
lib/certificate.go:36
↓ 1 callersMethodCheckForPollTransaction
CheckForPollTransaction() populates the poll.json file from embeds if the embed exists in the memo field
fsm/gov_params.go:500
↓ 1 callersMethodCheckHighQC
CheckHighQC() performs validation on the special `HighQC` (justify unlock QC)
lib/certificate.go:191
↓ 1 callersMethodCheckMempool
CheckMempool() periodically checks the mempool: - Validates all transactions in the mempool - Caches a proposal block based on the current state and t
controller/tx.go:92
↓ 1 callersMethodCheckMessageSend
(msg: any)
plugin/typescript/src/contract/contract.ts:70
↓ 1 callersMethodCheckMessageSend
CheckMessageSend() statelessly validates a 'send' message
plugin/go/contract/contract.go:126
↓ 1 callersMethodCheckProposerMessage
CheckProposerMessage() validates an inbound message from the Leader Validator
bft/msg.go:56
↓ 1 callersMethodCheckReplicaMessage
CheckReplicaMessage() validates an inbound message from a Replica Validator
bft/msg.go:151
↓ 1 callersMethodCheckTx
(contract: Contract, request: any)
plugin/typescript/src/contract/contract.ts:96
↓ 1 callersMethodCheckTx
CheckTx() is code that is executed to statelessly validate a transaction
plugin/go/contract/contract.go:68
↓ 1 callersMethodClear
retrieve transactions from the highest fee to lowest
lib/mempool.go:23
↓ 1 callersMethodCombine
Combine() merges the Reward Recipients' Payment Percents of the current Proposal with those of another Proposal such that the Payment Percentages may
lib/certificate.go:1075
↓ 1 callersMethodCommitCertificate
CommitCertificate() is executed after the quorum agrees on a block - applies block against the fsm - indexes the block and its transactions - removes
controller/block.go:229
↓ 1 callersMethodCommitParallel
CommitParallel(): sorts the operations in 8 subtree threads, executes those threads in parallel and combines them into the master tree
store/smt.go:193
↓ 1 callersFunctionCommittee
(page, chain_id)
cmd/rpc/web/explorer/components/api.js:129
↓ 1 callersMethodCommittee
Committee returns a page of committee members ordered from the highest stake to lowest
cmd/rpc/query.go:110
↓ 1 callersMethodCommitteeData
CommitteeData retrieves the committee data for the specified chain id
cmd/rpc/query.go:158
↓ 1 callersMethodCommitteesData
CommitteesData retrieves all committee data
cmd/rpc/query.go:166
↓ 1 callersMethodCompact
Compact runs Pebble range compaction over the latest and optional historic state prefixes.
store/store.go:489
↓ 1 callersMethodConfig
Config retrieves the node's configuration file
cmd/rpc/admin.go:522
↓ 1 callersFunctionConsensusInfo
()
cmd/rpc/web/wallet/components/api.js:713
↓ 1 callersMethodConsensusSummary
ConsensusSummary() for the RPC - returns the summary json object of the bft for a specific chainID
controller/consensus.go:743
↓ 1 callersMethodCopy
Copy() makes a deep copy of the limit order
lib/dex.go:50
↓ 1 callersMethodCopy
Copy() returns a reference to a clone of the View
lib/consensus.go:513
↓ 1 callersMethodCopy
PEER ADDRESS CODE BELOW Copy() returns a deep clone of the PeerAddress
lib/peer.go:40
↓ 1 callersMethodCopy
Copy() returns a reference to a clone of the PeerMeta
lib/peer.go:191
↓ 1 callersMethodCopy
PEER INFO CODE BELOW Copy() returns a reference to a clone of the PeerInfo
lib/peer.go:207
↓ 1 callersMethodCopyOrders
CopyOrders() creates 2 copies of the dex limit orders with hash keys
lib/dex.go:88
↓ 1 callersFunctionDAO
(height, _)
cmd/rpc/web/explorer/components/api.js:133
↓ 1 callersFunctionDefaultConfig
DefaultConfig() returns the default configuration
plugin/go/contract/plugin.go:380
↓ 1 callersMethodDel
Del() removes a GovProposalWithVote from the list
fsm/gov_params.go:712
↓ 1 callersFunctionDelVote
(json)
cmd/rpc/web/wallet/components/api.js:318
↓ 1 callersMethodDelVote
DelVote removes a vote from a proposal
cmd/rpc/admin.go:615
↓ 1 callersMethodDelete
Delete() marks a key for deletion in the txn operations
store/txn.go:128
↓ 1 callersMethodDeleteAt
(key []byte, version uint64)
store/txn.go:78
↓ 1 callersMethodDeleteAt
DeleteAt() marks a key as deleted at the given version
store/versioned_store.go:103
↓ 1 callersMethodDeleteAtIndex
AddFailedDialAttempt() increments the failed dial attempt counter for a BookPeer
p2p/book.go:381
↓ 1 callersMethodDeleteCheckpointsForChain
deletes a certificate for a height
lib/store.go:58
↓ 1 callersMethodDeleteCommitteeMember
DeleteCommitteeMember() removes the address from being a 'member' of the committee in the state
fsm/committee.go:325
↓ 1 callersMethodDeleteDelegate
DeleteDelegate() removes a delegate from the state using the delegate prefix
fsm/committee.go:418
↓ 1 callersMethodDeleteTxsForHeight
DeleteTxsForHeight() deletes the transaction object for a specific height
store/indexer.go:300
↓ 1 callersMethodDeliverMessageSend
(contract: Contract, msg: any, fee: Long | number | undefined)
plugin/typescript/src/contract/contract.ts:170
↓ 1 callersMethodDeliverMessageSend
DeliverMessageSend() handles a 'send' message
plugin/go/contract/contract.go:144
↓ 1 callersMethodDeliverTx
(contract: Contract, request: any)
plugin/typescript/src/contract/contract.ts:150
↓ 1 callersMethodDeliverTx
DeliverTx() is code that is executed to apply a transaction
plugin/go/contract/contract.go:105
↓ 1 callersMethodDeliverTx
DeliverTx() is the fsm calling the deliver_tx function of the plugin
lib/plugin.go:150
↓ 1 callersMethodDescriptor
()
lib/consensus.pb.go:136
↓ 1 callersMethodDescriptor
Deprecated: Use View.ProtoReflect.Descriptor instead.
lib/consensus.pb.go:216
↓ 1 callersMethodDescriptor
()
fsm/gov.pb.go:78
↓ 1 callersMethodDescriptor
Deprecated: Use Params.ProtoReflect.Descriptor instead.
fsm/gov.pb.go:143
↓ 1 callersFunctionDexBatch
(committee_id)
cmd/rpc/web/explorer/components/api.js:193
↓ 1 callersMethodDexPrice
DexPrice retrieves the latest dex price for a committee
cmd/rpc/query.go:300
↓ 1 callersMethodDialForOutboundPeers
DialForOutboundPeers() uses the config and peer book to try to max out the outbound peer connections
p2p/p2p.go:176
↓ 1 callersMethodDiscard
Discard() clears all in-memory operations and resets the sorted key list
store/txn.go:183
↓ 1 callersMethodDistributeCommitteeReward
DistributeCommitteeReward() issues a single committee reward unit based on an individual 'Payment Stub'
fsm/committee.go:178
↓ 1 callersMethodDistributeCommitteeRewards
DistributeCommitteeRewards() distributes the committee mint based on the PaymentPercents from the result of the QuorumCertificate
fsm/committee.go:115
← previousnext →1,301–1,400 of 5,387, ranked by callers