MCPcopy Create free account

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

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

↓ 1 callersMethodEthSyncing
EthSyncing() returns the syncing status of the node
cmd/rpc/eth.go:182
↓ 1 callersMethodEthUninstallFilter
EthUninstallFilter() deletes a filter object
cmd/rpc/eth.go:744
↓ 1 callersMethodEventOrderBookLock
EventOrderBookLock() adds an order book lock event to the indexer when an order is reserved
fsm/event.go:46
↓ 1 callersMethodEventOrderBookReset
EventOrderBookReset() adds an order book reset event to the indexer when a locked order is reset
fsm/event.go:56
↓ 1 callersMethodEventsByAddress
EventsByAddress response with the events of address a
cmd/rpc/query.go:439
↓ 1 callersMethodEventsByChainId
(id uint64, params lib.PageParams)
cmd/rpc/client.go:97
↓ 1 callersMethodEventsByHeight
EventsByHeight response with the events at block height h
cmd/rpc/query.go:431
↓ 1 callersFunctionEvmChainIdToCanopyIds
ChainId translation design: evmChainId is High 32 bits = networkId and Low 32 bits = chainId - avoids conflicts with existing Ethereum chain IDs - mer
fsm/ethereum.go:216
↓ 1 callersFunctionExecute
()
cmd/cli/cli.go:66
↓ 1 callersFunctionExtract
Extract decompresses a tar.gz file using the `tar` command. Requires `tar` to be installed and available in the system's PATH
cmd/auto-update/updater.go:293
↓ 1 callersFunctionFailedTransactions
(page, sender)
cmd/rpc/web/wallet/components/api.js:377
↓ 1 callersMethodFindMessageDescriptorForMessageType
FindMessageDescriptorForMessageType() uses the short message name (common name) to ID the proto message descriptor
lib/codec.go:226
↓ 1 callersMethodFirst
First() positions the iterator at the first valid entry based on the traversal direction
store/txn.go:353
↓ 1 callersMethodFlush
Flush() writes the current state to the batch writer without actually committing it
store/store.go:277
↓ 1 callersFunctionFormatParamSpace
FormatParamSpace() converts a user inputted ParamSpace string into the proper ParamSpace name
fsm/gov_params.go:202
↓ 1 callersFunctionGET
(url, path)
cmd/rpc/web/explorer/components/api.js:61
↓ 1 callersFunctionGETText
(url, path)
cmd/rpc/web/wallet/components/api.js:79
↓ 1 callersMethodGenesis
(_request: any)
plugin/typescript/src/contract/contract.ts:52
↓ 1 callersMethodGenesis
Genesis() implements logic to import a json file to create the state at height 0 and export the state at any height
plugin/go/contract/contract.go:58
↓ 1 callersMethodGenesis
Genesis() is the fsm calling the genesis function of the plugin
lib/plugin.go:64
↓ 1 callersMethodGetBegin
()
plugin/go/contract/plugin.pb.go:109
↓ 1 callersMethodGetBlockByHeight
GetBlockByHeight() returns the block result by height key
store/indexer.go:119
↓ 1 callersMethodGetBlocks
get a block by height without transactions
lib/store.go:73
↓ 1 callersMethodGetBytes
()
p2p/p2p.pb.go:146
↓ 1 callersMethodGetCheck
()
plugin/go/contract/plugin.pb.go:118
↓ 1 callersMethodGetConsensus
()
fsm/gov.pb.go:147
↓ 1 callersMethodGetDeliver
()
plugin/go/contract/plugin.pb.go:127
↓ 1 callersMethodGetDexPrice
GetDexPrice() returns the chain price
fsm/dex.go:677
↓ 1 callersMethodGetDoubleSigners
GetDoubleSigners() returns all double signers save in the state IMPORTANT NOTE: this returns <address> -> <heights> NOT <pubic_key> -> <heights> CONTR
fsm/byzantine.go:134
↓ 1 callersMethodGetDoubleSignersAsOf
all double signers in the indexer
lib/store.go:76
↓ 1 callersMethodGetElectionCandidates
GetElectionCandidates() retrieves ELECTION messages, verifies, and returns the candidate(s)
bft/prop.go:84
↓ 1 callersMethodGetEnd
()
plugin/go/contract/plugin.pb.go:136
↓ 1 callersMethodGetEventsByAddress
get Events for a block height
lib/store.go:68
↓ 1 callersMethodGetEventsByBlockHeight
get Transactions for a recipient
lib/store.go:67
↓ 1 callersMethodGetEventsByChainId
get Events for an address
lib/store.go:69
↓ 1 callersMethodGetEventsNonPaginated
GetEventsNonPaginated() returns a slice of events ordered by index for a height
store/indexer.go:432
↓ 1 callersMethodGetFailedTxsPage
GetFailedTxsPage() returns a list of failed mempool transactions
controller/tx.go:319
↓ 1 callersMethodGetFee
()
fsm/gov.pb.go:161
↓ 1 callersMethodGetGenesis
()
plugin/go/contract/plugin.pb.go:100
↓ 1 callersMethodGetGovernance
()
fsm/gov.pb.go:168
↓ 1 callersMethodGetHash
GetHash() returns the cryptographic hash of the Transaction
lib/tx.go:134
↓ 1 callersMethodGetHeader
()
bft/bft.pb.go:103
↓ 1 callersMethodGetHeight
the type of message the transaction contains
lib/tx.go:44
↓ 1 callersMethodGetIndex
the block number the transaction is included in
lib/tx.go:45
↓ 1 callersMethodGetKey
()
lib/store.pb.go:168
↓ 1 callersMethodGetLatestRelease
GetLatestRelease returns the latest valid release for the system from the GitHub API
cmd/auto-update/updater.go:81
↓ 1 callersMethodGetLeadingVote
GetLeadingVote() returns the unique Vote Message that has the most power behind it and the number and percent voted that voted for it
bft/vote.go:41
↓ 1 callersMethodGetLocalDSE
GetLocalDSE() returns the double sign evidences collected by the local node
bft/evidence.go:174
↓ 1 callersMethodGetMaxBlockSize
GetMaxBlockSize() returns the maximum size of a block
fsm/state.go:425
↓ 1 callersMethodGetMaxValidators
GetMaxValidators() returns the max validators per committee
fsm/state.go:414
↓ 1 callersMethodGetMinimumEvidenceHeight
check if a double signer is valid for an address for a specific 'double sign height'
lib/consensus.go:127
↓ 1 callersMethodGetMostRecentCheckpoint
get the checkpoint block hash for a certain committee and height combination
lib/store.go:79
↓ 1 callersMethodGetOrders
get the delegate 'lottery winner' for a chain id
lib/consensus.go:123
↓ 1 callersMethodGetPendingPage
GetPendingPage() returns a page of unconfirmed mempool transactions
controller/tx.go:291
↓ 1 callersMethodGetPoolPoints
()
lib/dex.pb.go:336
↓ 1 callersMethodGetProposalBlockFromMempool
GetProposalBlockFromMempool() returns the cached proposal block
controller/tx.go:84
↓ 1 callersMethodGetProposalHash
()
fsm/gov_params.go:684
↓ 1 callersFunctionGetRawProtoField
GetRawProtoField extracts the raw bytes for field number from a proto message
lib/codec/codec.go:57
↓ 1 callersMethodGetRecipient
the sender of the transaction
lib/tx.go:42
↓ 1 callersMethodGetReference
GetReference() is an accessor for the reference string
lib/event.go:51
↓ 1 callersMethodGetRootChainInfo
get the height of the root chain
lib/consensus.go:120
↓ 1 callersMethodGetRootChainLotteryWinner
GetRootChainLotteryWinner() gets the pseudorandomly selected delegate to reward and their cut
controller/controller.go:222
↓ 1 callersMethodGetRound
()
lib/consensus.pb.go:248
↓ 1 callersMethodGetSender
()
lib/tx.go:41
↓ 1 callersMethodGetSigners
GetSigners() returns the public keys and corresponding combined voting power of those who signed
lib/consensus.go:191
↓ 1 callersMethodGetStateRead
()
lib/plugin.pb.go:160
↓ 1 callersMethodGetStateWrite
()
lib/plugin.pb.go:169
↓ 1 callersMethodGetTotalPoolPoints
()
fsm/account.pb.go:167
↓ 1 callersMethodGetTxHash
the index of the transaction in the block
lib/tx.go:46
↓ 1 callersMethodGetTxsByHeight
get the tx by the Transaction hash
lib/store.go:64
↓ 1 callersMethodGetTxsByRecipient
get Transactions for a sender
lib/store.go:66
↓ 1 callersMethodGetTxsBySender
get Transactions for a height
lib/store.go:65
↓ 1 callersMethodGetValidateMessageParams
GetValidateMessageParams() executes a blocking function to collect the params needed to validate a consensus message
bft/msg.go:284
↓ 1 callersMethodGetValidator
GetValidator() retrieves a validator from the ValidatorSet using the public key
lib/consensus.go:89
↓ 1 callersMethodGetVrf
()
bft/bft.pb.go:110
↓ 1 callersMethodGossipBlock
PUBLISHERS BELOW GossipBlock() gossips a certificate (with block) through the P2P network for a specific chainId
controller/block.go:98
↓ 1 callersMethodGossipBlock
GossipBlock() is a P2P call to gossip a completed Quorum Certificate with a Proposal
bft/bft.go:945
↓ 1 callersMethodGossipBlock
(certificate *lib.QuorumCertificate, sender []byte, timestamp uint64)
bft/mock_test.go:581
↓ 1 callersMethodGossipConsensus
GossipConsensus() gossips a consensus message through the P2P network for a specific chainId
controller/consensus.go:364
↓ 1 callersMethodGracefulShutdown
GracefulShutdown stops the coordinator while giving a grace period to the canopy process to stop
cmd/auto-update/coordinator.go:220
↓ 1 callersMethodGrandParent
GrandParent() returns the grandparent of the last node traversed (current)
store/smt.go:1115
↓ 1 callersMethodHandleCheckpoint
HandleCheckpoint() handles the `checkpoint-as-a-service` root-chain functionality NOTE: this will index self checkpoints - but allows for nested-chain
fsm/automatic.go:198
↓ 1 callersMethodHandleDex
HandleDex() populates the certificate with 'dex' information
controller/result.go:278
↓ 1 callersMethodHandleDexBatch
* Dex.go implements logic to handle AMM style atomic exchanges between root & nested chains not to be confused with 1 way order book swaps implemen
fsm/dex.go:62
↓ 1 callersMethodHandleLivenessFallback
HandleLivenessFallback() refunds orders, liquidity deposits, and mirrors the root chain's liquidity points
fsm/dex.go:561
↓ 1 callersMethodHandleOrderReceipts
HandleOrderReceipts() handles receipts for orders within our locked batch
fsm/dex.go:267
↓ 1 callersMethodHandlePhase
HandlePhase() is the main BFT Phase stepping loop
bft/bft.go:161
↓ 1 callersMethodHandleReceiptsForOurLockedBatch
HandleReceiptsForOurLockedBatch() 1. processes receipts for our locked batch
fsm/dex.go:197
↓ 1 callersMethodHandleRemoteChainLockedBatch
HandleRemoteChainLockedBatch() 2. handles the locked batch for the remote chain, producing receipts
fsm/dex.go:243
↓ 1 callersMethodHandleRetired
HandleRetired() checks if the committee is retiring and sets in the results accordingly
controller/result.go:263
↓ 1 callersMethodHandleSwaps
HandleSwaps() handles the 'buy' side of the sell orders
controller/result.go:186
↓ 1 callersMethodHandleTransactions
HandleTransactions() attempts to add a transaction to the mempool by validating, adding, and evicting overfull or newly invalid txs
controller/tx.go:198
↓ 1 callersMethodHandshake
()
plugin/typescript/src/contract/plugin.ts:90
↓ 1 callersMethodHandshake
Handshake() sends the contract configuration to the FSM and awaits a reply
plugin/go/contract/plugin.go:72
↓ 1 callersMethodHasChain
HasChain() returns if the PeerInfo has a chain under the PeerAddresses' PeerMeta
lib/peer.go:219
↓ 1 callersMethodHasNext
HasNext() returns true if there are more items after current
store/txn.go:650
↓ 1 callersFunctionHasher
* Hash is a function that takes an input message and returns a fixed-size string of bytes that is unique to the input to produce a short, fixed-l
lib/crypto/hash.go:25
↓ 1 callersFunctionHeight
()
cmd/rpc/web/wallet/components/api.js:365
↓ 1 callersMethodIncreaseVersion
flush all operations to the underlying 'writer' without committing
lib/store.go:26
↓ 1 callersMethodIndexCheckpoint
save a double signer for a height
lib/store.go:54
← previousnext →1,601–1,700 of 5,387, ranked by callers