MCPcopy Create free account

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

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

↓ 1 callersMethodNonSigners
NonSigners returns all non-quorum-certificate-signers
cmd/rpc/query.go:186
↓ 1 callersFunctionNullifyProtoField
NullifyProtoField removes a field from protobytes without unmarshalling
lib/codec/codec.go:114
↓ 1 callersMethodOn
On() returns whether there exists any filters
lib/consensus.go:453
↓ 1 callersMethodOnPeerError
OnPeerError() callback to P2P when a peer errors
p2p/p2p.go:376
↓ 1 callersFunctionOrders
(chain_id)
cmd/rpc/web/explorer/components/api.js:189
↓ 1 callersMethodParams
Params returns the aggregated ParamSpaces in a single Params object
cmd/rpc/query.go:194
↓ 1 callersMethodParseBlockForLockAndCloseOrders
ParseCloseOrders() parses the blocks for memo commands to execute specialized 'close order' functionality
fsm/swap.go:143
↓ 1 callersMethodParseCloseOrder
ParseCloseOrder() parses a transaction for an embedded close order messages in the memo field
fsm/swap.go:66
↓ 1 callersMethodParseLockOrder
BUYER SIDE LOGIC ParseLockOrder() parses a transaction for an embedded lock order messages in the memo field
fsm/swap.go:49
↓ 1 callersMethodPeerBook
PeerBook retrieves the node's peer book
cmd/rpc/admin.go:517
↓ 1 callersFunctionPeerError
(publicKey []byte, remoteAddr string, err error)
p2p/error.go:19
↓ 1 callersFunctionPeerInfo
()
cmd/rpc/web/wallet/components/api.js:717
↓ 1 callersFunctionPending
(page, _)
cmd/rpc/web/explorer/components/api.js:181
↓ 1 callersMethodPending
Pending responds with a page of unconfirmed mempool transactions
cmd/rpc/query.go:455
↓ 1 callersMethodPluginConnectSync
PluginConnectSync() blocking: enables a unix socket file where plugins can interact with the Canopy FSM
controller/controller.go:276
↓ 1 callersMethodPluginExecute
PluginExecute() executes the plugin control script to start the plugin process
controller/controller.go:255
↓ 1 callersFunctionPoll
()
cmd/rpc/web/wallet/components/api.js:306
↓ 1 callersMethodPoll
Poll returns poll results
cmd/rpc/query.go:558
↓ 1 callersMethodPollsToResults
PollsToResults() coverts the polling objects to a compressed result based on the voting power
fsm/gov.go:409
↓ 1 callersMethodPool
Pool returns a Pool structure for a specific ID
cmd/rpc/query.go:78
↓ 1 callersMethodPools
Pools returns a page of pools
cmd/rpc/query.go:86
↓ 1 callersMethodPopulateSpecialMessageFields
HandleSpecialMessageFields() populates special message fields based on the message type
fsm/transaction.go:301
↓ 1 callersMethodPrint
(msg string)
lib/log.go:38
↓ 1 callersFunctionPrivateKeyToFile
PrivateKeyToFile() writes a private key to a file located at filepath
lib/crypto/key.go:102
↓ 1 callersMethodProcessRootChainOrderBook
ProcessRootChainOrderBook() processes the order book from the root-chain and cross-references blocks on this chain to determine actions that warrant c
fsm/swap.go:79
↓ 1 callersFunctionProposals
()
cmd/rpc/web/wallet/components/api.js:310
↓ 1 callersMethodProposals
Proposals returns the proposals present
cmd/rpc/query.go:545
↓ 1 callersMethodProposalsResetForNewCommittee
ProposalsResetForNewCommittee resets proposals when the root chain sends a 'NewCommittee' reset command
bft/prop.go:61
↓ 1 callersMethodProtoReflect
()
lib/store.pb.go:130
↓ 1 callersFunctionPubIsBlacklisted
PubIsBlacklisted() prevents public keys that exploit vulnerabilities in 25519 -> x25519 conversion Reject small-order points early to prevent vulnerab
lib/crypto/ecdh.go:99
↓ 1 callersFunctionPublicKeyFromBytes
PublicKeyFromBytes() converts a byte slice into a BLS public key
lib/util.go:567
↓ 1 callersMethodPublicKeys
PublicKeys() returns the ordered list of public keys from the bitmap
lib/crypto/bls.go:328
↓ 1 callersFunctionRawTx
(json)
cmd/rpc/web/wallet/components/api.js:705
↓ 1 callersMethodRecipient
stateless validation of the message
lib/tx.go:75
↓ 1 callersFunctionRecoverPublicKey
RecoverPublicKey() recovers a public key from ethereum the transaction and validates the signature
lib/crypto/eth_secp256k1.go:114
↓ 1 callersMethodRegister
Register() registers a plugin with the global schema registry
lib/codec.go:118
↓ 1 callersMethodRemovePoints
RemovePoints() removes liquidity points for a certain provider in the pool
fsm/account.go:786
↓ 1 callersMethodRemoveSubscriber
RemoveSubscriber() gracefully deletes a RC subscriber
cmd/rpc/sock.go:560
↓ 1 callersMethodRemoveSubscription
RemoveSubscription() gracefully deletes a RC subscription
cmd/rpc/sock.go:457
↓ 1 callersFunctionRenderAmountInput
({ amount, onClick, input, inputValue })
cmd/rpc/web/wallet/components/form_inputs.jsx:151
↓ 1 callersMethodRequestBlock
RequestBlock() sends a block request to peer(s) - `heightOnly` is a request for just the peer's max height
controller/consensus.go:521
↓ 1 callersMethodReset
Reset() resets the event tracker and returns the captured events
lib/event.go:59
↓ 1 callersMethodReset
Reset() resets the new height tracker
lib/peer.go:339
↓ 1 callersMethodReset
Reset() clears the requests and resets the total request count
lib/peer.go:396
↓ 1 callersMethodReset
Reset() discard and re-sets the stores writer
store/store.go:365
↓ 1 callersMethodReset
Reset() resets the state store and the slash tracker
fsm/state.go:621
↓ 1 callersMethodResetFSM
ResetFSM() resets the finite state machine
bft/bft.go:961
↓ 1 callersFunctionResource
()
cmd/rpc/web/wallet/components/api.js:387
↓ 1 callersMethodResourceUsage
ResourceUsage retrieves node resource usage
cmd/rpc/admin.go:641
↓ 1 callersMethodRetiredCommittees
RetiredCommittees returns a list of the retired chainIds
cmd/rpc/query.go:180
↓ 1 callersMethodRoot
Root() retrieves the root hash of the StateCommitStore, representing the current root of the Sparse Merkle Tree. This hash is used for verifying the i
store/store.go:349
↓ 1 callersMethodRootChainHeight
RootChainHeight() returns the height of the canopy root-chain
controller/controller.go:403
↓ 1 callersMethodRootChainHeight
()
bft/mock_test.go:573
↓ 1 callersMethodRunVDF
RunVDF() runs the verifiable delay service
bft/bft.go:831
↓ 1 callersMethodSaveRoutine
SaveRoutine() periodically saves the book to a json file
p2p/book.go:414
↓ 1 callersMethodSelfIsValidator
SelfIsValidator() returns true if this node is part of the ValSet
bft/bft.go:815
↓ 1 callersMethodSelfSendBlock
SendToSelf() is a P2P call to directly send a completed Quorum Certificate to self
bft/bft.go:949
↓ 1 callersMethodSend
Send() queues the sending of a message to a specific Stream
p2p/conn.go:147
↓ 1 callersMethodSendBlock
SendBlock() responds to a `blockRequest` message to a peer - always sending the self.MaxHeight and sometimes sending the actual block and supporting Q
controller/consensus.go:556
↓ 1 callersMethodSendPeerBookRequests
SendPeerBookRequests() is the requesting service of the peer exchange Sends a peer request out to a random peer and waits PeerBookRequestTimeoutS for
p2p/book.go:69
↓ 1 callersMethodSetAt
(key, value []byte, version uint64)
store/txn.go:77
↓ 1 callersMethodSetDelegate
SetDelegate() sets a delegate in state using the delegate prefix
fsm/committee.go:413
↓ 1 callersMethodSetGossipMode
SetGossipMode sets the gossip mode for the P2P instance
p2p/p2p.go:667
↓ 1 callersMethodSetPoolPoints
SetPoolPoints() updates the pool points with correct values
fsm/account.go:373
↓ 1 callersMethodSetStartupBlock
SetStartupBlock() sets the block height when the node first completed syncing after startup
lib/metrics.go:734
↓ 1 callersMethodSetString
(paramName string, value string)
fsm/gov_params.go:35
↓ 1 callersMethodSetTimerForNextPhase
SetTimerForNextPhase() calculates the wait time for a specific phase/Round, resets the Phase wait timer
bft/bft.go:709
↓ 1 callersFunctionShortHash
ShortHash() executes the global hashing algorithm on input bytes and truncates the output to 20 bytes
lib/crypto/hash.go:35
↓ 1 callersMethodShouldGossip
ShouldGossip() controls whether a consensus message should be gossiped
controller/consensus.go:344
↓ 1 callersMethodShouldUpdate
ShouldUpdate determines whether the given release should be applied
cmd/auto-update/updater.go:132
↓ 1 callersMethodSign
PEER META CODE BELOW Sign() adds a digital signature to the PeerMeta for remote public key verification
lib/peer.go:169
↓ 1 callersMethodSign
Sign() returns digital signature bytes from the message
lib/crypto/secp256k1.go:95
↓ 1 callersMethodSignBytes
SignBytes() returns the canonical byte representation used to digitally sign the bytes
lib/peer.go:177
↓ 1 callersMethodSortCommittees
SortCommittees() sorts the committees list by amount (stake) high to low
fsm/account.go:668
↓ 1 callersMethodSortDelegations
SortCommittees() sorts the delegations list by amount (stake) high to low
fsm/account.go:671
↓ 1 callersMethodStart
Start() begins send and receive services for a MultiConn
p2p/conn.go:123
↓ 1 callersMethodStart
Start() begins the P2P service
p2p/p2p.go:101
↓ 1 callersMethodStart
Start() configures and starts subscriber lifecycle goroutines
cmd/rpc/sock.go:578
↓ 1 callersMethodStartChurnManagement
StartChurnManagement() evicts inactive peers from the PeerBook by periodically attempting to connect with each peer
p2p/book.go:225
↓ 1 callersMethodStartCleanService
StartCleanService() periodically removes transactions from the cache that are older than 5 minutes
lib/mempool.go:427
↓ 1 callersMethodStartListeners
StartListeners() runs all listeners on separate threads
controller/controller.go:154
↓ 1 callersMethodStartPeerBookService
StartPeerBookService() begins: - Peer Exchange service: exchange known peers with currently active set - Churn management service: evict inactive peer
p2p/book.go:216
↓ 1 callersFunctionStartPlugin
(c: Config)
plugin/typescript/src/contract/plugin.ts:321
↓ 1 callersFunctionStartPoll
(address, json, password)
cmd/rpc/web/wallet/components/api.js:322
↓ 1 callersMethodState
State exports the blockchain state at the requested height
cmd/rpc/query.go:471
↓ 1 callersMethodStateDiff
StateDiff returns the different between the state at two block heights
cmd/rpc/query.go:491
↓ 1 callersMethodStop
Stop() gracefully stops the telemetry server
lib/metrics.go:478
↓ 1 callersMethodString
String() returns the hex string representation of the private key
lib/crypto/secp256k1.go:110
↓ 1 callersMethodString
String() returns the hex string representation of the public key
lib/crypto/secp256k1.go:190
↓ 1 callersMethodString
String() returns the hex string representation of the public key
lib/crypto/eth_secp256k1.go:108
↓ 1 callersMethodString
String() returns the hex string representation of the private key
lib/crypto/ed25519.go:54
↓ 1 callersMethodString
String() returns the hex string representation of the public key
lib/crypto/ed25519.go:134
↓ 1 callersMethodString
String() returns the hex string representation of the public key
lib/crypto/bls.go:243
↓ 1 callersFunctionStringToCommittees
StringToCommittees converts a comma separated string of committees to uint64
cmd/rpc/server.go:446
↓ 1 callersMethodSubFromDelegateSupply
SubFromDelegateSupply() removes from the delegated supply count
fsm/account.go:493
↓ 1 callersMethodSubsidizedCommittees
SubsidizedCommittees returns a list of chainIds that receive a portion of the 'block reward'
cmd/rpc/query.go:174
↓ 1 callersMethodSupply
Supply returns the Supply structure
cmd/rpc/query.go:463
↓ 1 callersMethodSupportsTransaction
SupportsTransaction() indicates if the transaction type is supported 'or not'
lib/plugin.go:206
↓ 1 callersMethodSync
Sync() downloads the blockchain from peers until 'synced' to the latest 'height' 1) Get the height and begin block params from the state_machine 2) Ge
controller/consensus.go:69
↓ 1 callersMethodToBlock
ToBlock() converts the BlockResult into a Block object
lib/block.go:279
← previousnext →1,801–1,900 of 5,387, ranked by callers