MCPcopy Create free account

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

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

↓ 3 callersMethodCode
()
lib/error.go:11
↓ 3 callersFunctionCommitteesDataPrefix
()
fsm/key.go:73
↓ 3 callersMethodDecode
Encode() converts the bytes into ClassGroup
lib/crypto/classgroup.go:330
↓ 3 callersFunctionDefaultDataDirPath
DefaultDataDirPath() is $USERHOME/.canopy
lib/config.go:270
↓ 3 callersFunctionDefaultMainConfig
DefaultMainConfig() sets log level to 'info'
lib/config.go:75
↓ 3 callersMethodDeleteAll
DeleteAll() deletes all key-value pairs under a set of keys
fsm/state.go:564
↓ 3 callersMethodDeleteDelegations
DeleteDelegations() removes the delegate 'membership' for an address, removing from the list and updating the supply pools
fsm/committee.go:394
↓ 3 callersMethodDeleteKey
DeleteKey() removes a private key from the store given an address and/or nickname
lib/crypto/keystore.go:185
↓ 3 callersMethodDeleteOrder
DeleteOrder() deletes an existing order in the order book for a committee in the state db
fsm/swap.go:274
↓ 3 callersMethodEmpty
Empty() indicates whether the sell order is null
lib/swap.go:28
↓ 3 callersFunctionErrAddressEmpty
()
fsm/error.go:35
↓ 3 callersFunctionErrEmptyDoubleSigner
()
lib/error.go:579
↓ 3 callersFunctionErrEmptyMessage
()
bft/error.go:42
↓ 3 callersFunctionErrFailedPluginRead
(err error)
lib/error.go:872
↓ 3 callersFunctionErrFailedRead
(err error)
p2p/error.go:44
↓ 3 callersFunctionErrFailedWrite
(err error)
p2p/error.go:48
↓ 3 callersFunctionErrGetRequest
(err error)
lib/error.go:808
↓ 3 callersFunctionErrInvalidCertificateResults
()
fsm/error.go:202
↓ 3 callersFunctionErrInvalidChainId
()
fsm/error.go:194
↓ 3 callersFunctionErrInvalidDoubleSigner
()
lib/error.go:663
↓ 3 callersFunctionErrInvalidERC20Tx
(err error)
fsm/error.go:266
↓ 3 callersFunctionErrInvalidMessageCast
()
lib/error.go:719
↓ 3 callersFunctionErrInvalidOpcode
()
fsm/error.go:218
↓ 3 callersFunctionErrInvalidPluginRespId
()
lib/error.go:888
↓ 3 callersFunctionErrInvalidQCCommitteeHeight
()
lib/error.go:487
↓ 3 callersFunctionErrInvalidSignature
()
fsm/error.go:146
↓ 3 callersFunctionErrInvalidSigner
()
lib/error.go:591
↓ 3 callersFunctionErrInvalidTxHeight
()
lib/error.go:551
↓ 3 callersFunctionErrJSONMarshal
(err error)
lib/error.go:363
↓ 3 callersFunctionErrMaxDexBatchSize
()
fsm/error.go:282
↓ 3 callersFunctionErrMismatchedProposals
()
bft/error.go:54
↓ 3 callersFunctionErrOrderLocked
()
lib/error.go:771
↓ 3 callersFunctionErrPostRequest
(err error)
lib/error.go:804
↓ 3 callersFunctionErrReadBody
(err error)
lib/error.go:816
↓ 3 callersFunctionErrUnexpectedFSMToPlugin
(t: string)
plugin/typescript/src/contract/error.ts:43
↓ 3 callersFunctionErrUnexpectedFSMToPlugin
(t reflect.Type)
plugin/go/contract/error.go:46
↓ 3 callersFunctionErrWrongBlockHeight
(got, wanted uint64)
lib/error.go:475
↓ 3 callersFunctionErrWrongPhase
()
lib/error.go:503
↓ 3 callersMethodEventDexSwap
EventDexSwap() adds an AMM token swap event to the indexer
fsm/event.go:63
↓ 3 callersMethodEventSlash
EventSlash() adds a validator slashed event
fsm/event.go:13
↓ 3 callersFunctionFilterAndSortPool
filterAndSort() removes zero and nil elements from the pool slice and then sorts the slice by amount finally setting the result to the pointer from th
fsm/account.go:675
↓ 3 callersMethodFromString
FromString() creates a new PeerAddress object from string (without meta) Peer String example: <some-public-key>@<some-net-address>
lib/peer.go:55
↓ 3 callersMethodGet
Get() returns the failed transaction associated with its hash
lib/mempool.go:379
↓ 3 callersMethodGet
Get() retrieves the latest version of a key at or before vs.version
store/versioned_store.go:113
↓ 3 callersMethodGetAccounts
GetAccounts() returns all Account structures in the state
fsm/account.go:37
↓ 3 callersMethodGetAllInfos
GetAllInfos() returns the information on connected peers and the total inbound / outbound counts
p2p/set.go:204
↓ 3 callersMethodGetAuthorizedSignersFor
GetAuthorizedSignersFor() returns the addresses that are authorized to sign for this message
fsm/message.go:638
↓ 3 callersMethodGetBlockHeaderByHeight
get a block by height
lib/store.go:72
↓ 3 callersMethodGetBlockMintStats
GetBlockMintStats() gets the latest minting information for the blockchain
fsm/committee.go:37
↓ 3 callersMethodGetCheckpoint
get if the DoubleSigner is already set for a height
lib/store.go:78
↓ 3 callersMethodGetDelegateStakedSupplyForChain
GetFromDelegateStakedSupply() retrieves the delegate committee staked supply count
fsm/account.go:525
↓ 3 callersMethodGetFeeForMessageName
GetFeeForMessageName() returns the associated cost for processing a specific type of message based on the name
fsm/message.go:592
↓ 3 callersMethodGetHeight
()
cmd/rpc/types.go:140
↓ 3 callersMethodGetKey
GetKey() returns the PrivateKeyI interface for an address and decrypts it using the password
lib/crypto/keystore.go:142
↓ 3 callersMethodGetPools
GetPools() returns all Pool structures in the state
fsm/account.go:241
↓ 3 callersMethodGetQCByHeight
get a page of blocks within the page params
lib/store.go:74
↓ 3 callersMethodGetSignBytes
GetSignBytes() returns the canonical byte representation of the Transaction for signing and signature verification
lib/tx.go:150
↓ 3 callersMethodGetUnstakingBlocks
()
fsm/gov.pb.go:403
↓ 3 callersMethodGetValidatorSet
get root-chain info 'on-demand'
lib/consensus.go:121
↓ 3 callersMethodGetValidators
GetValidators() returns a slice of all validators
fsm/validator.go:49
↓ 3 callersMethodGossipMode
GossipMode returns the current gossip mode for the P2P instance
p2p/p2p.go:672
↓ 3 callersMethodHandle
Handle
cmd/rpc/server.go:330
↓ 3 callersMethodHandleBatchWithdraw
Two-chain LP accounting: - Mirror liquidity ledger on both chains for symmetry - Outbound deposits/withdraws: update ledger + move tokens - Inbound de
fsm/dex.go:375
↓ 3 callersMethodHandleCertificateResults
HandleCertificateResults() is a handler for the results of a quorum certificate
fsm/automatic.go:130
↓ 3 callersMethodHandleMessagePause
HandleMessagePause() is the proper handler for an `Pause` message
fsm/message.go:233
↓ 3 callersMethodHandleMessageStake
HandleMessageStake() is the proper handler for a `Stake` message (Validator does not yet exist in the state)
fsm/message.go:66
↓ 3 callersMethodIdentity
Identity() returns the element that, when combined with any other element in the group, leaves the other element unchanged
lib/crypto/classgroup.go:298
↓ 3 callersMethodImport
Import() imports an encrypted private key to the store
lib/crypto/keystore.go:79
↓ 3 callersMethodIncrementNonSigners
IncrementNonSigners() upserts non-(QC)-signers by incrementing the non-signer count for the list
fsm/byzantine.go:139
↓ 3 callersFunctionIntSqrt
IntSqrt returns the integer square root of n (truncated)
lib/util.go:1003
↓ 3 callersFunctionInvalidSellOrder
()
fsm/error.go:234
↓ 3 callersFunctionIsCandidate
IsCandidate: determines if the Validator is a Candidate from their voting power and VRF output - Creates a candidacy cutoff point for a Validator base
bft/election.go:133
↓ 3 callersMethodIsProposerMessage
IsProposerMessage() determines if the message should originate from a Validator acting as a Leader
bft/msg.go:256
↓ 3 callersMethodIsReplicaMessage
IsReplicaMessage() determines if the message should originate from a Validator acting as a Replica (voter)
bft/msg.go:247
↓ 3 callersFunctionJoinLenPrefix
(...toAppend: (Buffer | Uint8Array | null | undefined)[])
plugin/typescript/src/contract/plugin.ts:406
↓ 3 callersFunctionJoinLenPrefix
JoinLenPrefix() appends the items together separated by a single byte to represent the length of the segment
plugin/go/contract/plugin.go:345
↓ 3 callersFunctionKeyForAccount
(addr crypto.AddressI)
fsm/key.go:96
↓ 3 callersFunctionKeyForNonSigner
(a []byte)
fsm/key.go:76
↓ 3 callersFunctionKeyForOrder
(chainId uint64, orderId []byte)
fsm/key.go:78
↓ 3 callersFunctionKeyForPool
(n uint64)
fsm/key.go:75
↓ 3 callersMethodLoadArray
LoadArray() fills a page from a slice
lib/util.go:133
↓ 3 callersMethodLoadCertificateHashesOnly
LoadCertificateHashesOnly() loads a quorum certificate but nullifies the block
fsm/state.go:360
↓ 3 callersMethodLoadIsOwnRoot
IsOwnRoot() returns a boolean if self chain is root
bft/bft.go:957
↓ 3 callersMethodLoadMinimumEvidenceHeight
LoadMinimumEvidenceHeight() loads the Canopy enforced minimum height for valid Byzantine Evidence
bft/bft.go:974
↓ 3 callersMethodLoadRootChainInfo
LoadRootChainInfo() returns the 'need-to-know' information for a nested chain
fsm/state.go:436
↓ 3 callersFunctionMerkleTree
MerkleTree() generates a Merkle tree and its root from a list of items
lib/util.go:580
↓ 3 callersMethodMove
Move() moves the iterator to the given key or the closest item if the key is not found
store/txn.go:556
↓ 3 callersFunctionNewFailedTx
NewFailedTx() attempts to create a new failed transaction from bytes
lib/mempool.go:342
↓ 3 callersFunctionNewHandshake
NewHandshake() executes the authentication protocol between two tcp connections to result in an encryption connection
p2p/encrypt.go:57
↓ 3 callersMethodNewHeight
NewHeight() initializes / resets consensus variables preparing for the NewHeight
bft/bft.go:658
↓ 3 callersFunctionNewKeyGroup
NewKeyGroup() generates a public key and address that pairs with the private key
lib/crypto/keystore.go:22
↓ 3 callersFunctionNewKeystoreFromFile
NewKeystoreFromFile() creates a new keystore object from a file
lib/crypto/keystore.go:53
↓ 3 callersFunctionNewMessageCache
NewMessageCache() initializes and returns a new MessageCache instance
lib/peer.go:251
↓ 3 callersFunctionNewPublicKeyED25519
NewPublicKeyED25519() returns a ED25519PublicKey reference that satisfies the PublicKeyI interface
lib/crypto/ed25519.go:96
↓ 3 callersMethodNewStreams
NewStreams() creates map of streams for the multiplexing architecture
p2p/p2p.go:385
↓ 3 callersMethodNewTestBlock
()
bft/mock_test.go:589
↓ 3 callersMethodNewTestBlock2
()
bft/mock_test.go:597
↓ 3 callersMethodNewTestBlockHash2
()
bft/mock_test.go:611
↓ 3 callersMethodNewTxn
reading and writing indexer
lib/store.go:15
↓ 3 callersFunctionNonSignerPrefix
()
fsm/key.go:67
← previousnext →601–700 of 5,387, ranked by callers