MCPcopy Create free account

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

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

↓ 1 callersMethodIndexEvent
EVENTS CODE BELOW IndexEvent() indexes the event by hash, height, address and chainId
store/indexer.go:390
↓ 1 callersMethodIndexTx
TRANSACTION CODE BELOW IndexTx() indexes the transaction by hash, height, sender and receiver the tx bytes is indexed by hash and then that hash is in
store/indexer.go:238
↓ 1 callersMethodIndexerBlobsCached
IndexerBlobsCached() is a helper function for the indexer blobs implementation
cmd/rpc/query.go:595
↓ 1 callersMethodIsFeatureEnabled
UPGRADE CODE BELOW IsFeatureEnabled() checks if a feature is enabled based on the protocol version stored in the state compared to the required activa
fsm/gov.go:501
↓ 1 callersMethodIterator
collective number of bytes in the pool
lib/mempool.go:26
↓ 1 callersMethodKey
Key() returns the transaction at the current iterator position
lib/mempool.go:201
↓ 1 callersMethodKey
Key() returns a unique string key for the cache
lib/crypto/key_batch.go:191
↓ 1 callersFunctionKeyForFeeParams
()
plugin/typescript/src/contract/contract.ts:315
↓ 1 callersFunctionKeyForFeeParams
KeyForFeeParams() returns the state database key for governance controlled 'fee parameters'
plugin/go/contract/contract.go:278
↓ 1 callersFunctionKeyForFeePool
(chainId: Long)
plugin/typescript/src/contract/contract.ts:320
↓ 1 callersFunctionKeyForFeePool
KeyForFeeParams() returns the state database key for governance controlled 'fee parameters'
plugin/go/contract/contract.go:283
↓ 1 callersFunctionKeystore
()
cmd/rpc/web/wallet/components/api.js:282
↓ 1 callersFunctionKeystore
()
cmd/rpc/web/wallet/components/account.jsx:56
↓ 1 callersMethodKeystore
Keystore responds with the local keystore
cmd/rpc/admin.go:27
↓ 1 callersMethodKeystoreDelete
KeystoreDelete removes a key from the keystore using either the address or nickname
cmd/rpc/admin.go:94
↓ 1 callersFunctionKeystoreGet
(address, password, nickname)
cmd/rpc/web/wallet/components/api.js:286
↓ 1 callersMethodKeystoreGet
(addrOrNickname AddrOrNickname, password string)
cmd/rpc/client.go:484
↓ 1 callersFunctionKeystoreImport
(pk, password, nickname)
cmd/rpc/web/wallet/components/api.js:294
↓ 1 callersMethodKeystoreImport
KeystoreImport adds a new key to the keystore using an encrypted private key
cmd/rpc/admin.go:62
↓ 1 callersMethodKeystoreImportRaw
KeystoreImportRaw adds a new key to the keystore using a raw private key
cmd/rpc/admin.go:78
↓ 1 callersMethodKeystoreNewKey
KeystoreNewKey adds a new key to the keystore
cmd/rpc/admin.go:40
↓ 1 callersMethodLastProposers
LastProposers returns the last Proposer addresses
cmd/rpc/query.go:336
↓ 1 callersMethodListenForBlock
* This file contains the high level functionality of block / proposal processing */ ListenForBlock() listens for inbound block messages, internally ro
controller/block.go:21
↓ 1 callersMethodListenForBlockRequests
ListenForBlockRequests() listen for inbound block request messages from syncing peers, handles and answer them
controller/consensus.go:381
↓ 1 callersMethodListenForConsensus
SUBSCRIBERS BELOW ListenForConsensus() listens and internally routes inbound consensus messages
controller/consensus.go:294
↓ 1 callersMethodListenForInbound
()
plugin/typescript/src/contract/plugin.ts:128
↓ 1 callersMethodListenForInbound
ListenForInbound() routes inbound requests from the plugin
plugin/go/contract/plugin.go:123
↓ 1 callersMethodListenForInbound
ListenForInbound() routes inbound requests from the plugin
lib/plugin.go:223
↓ 1 callersMethodListenForInboundPeers
ListenForInboundPeers() starts a rate-limited tcp listener service to accept inbound peers
p2p/p2p.go:128
↓ 1 callersMethodListenForMustConnects
ListenForMustConnects() is an internal listener that receives 'must connect peers' updates from the controller
p2p/p2p.go:475
↓ 1 callersMethodListenForPeerBookRequests
ListenForPeerBookRequests()
p2p/book.go:158
↓ 1 callersMethodListenForPeerBookResponses
()
p2p/book.go:90
↓ 1 callersMethodListenForTx
ListenForTx() listen for inbound tx messages, internally route them, and gossip them to peers
controller/tx.go:31
↓ 1 callersMethodLoadCertificate
LoadCertificate() gets the certificate for from the indexer at a specific height
controller/controller.go:334
↓ 1 callersMethodLoadCommittee
LoadCommittee() gets the ValidatorSet that is authorized to come to Consensus agreement on the Proposal for a specific height/chainId
controller/controller.go:212
↓ 1 callersMethodLoadLastCommitTime
LoadLastCommitTime() gets a timestamp from the most recent Quorum Block
controller/controller.go:357
↓ 1 callersMethodLoadMaxBlockSize
LoadMaxBlockSize() gets the max block size from the state
controller/controller.go:344
↓ 1 callersMethodLoadMaxBlockSize
LoadMaxBlockSize() loads the chain enforced maximum block size for valid blocks
bft/bft.go:978
↓ 1 callersMethodLoadRootChainOrderBook
LoadRootChainOrderBook() gets the order book from the root-chain
controller/controller.go:217
↓ 1 callersMethodLogNonSigners
(validatorList *ConsensusValidators, proposerPubKey []byte, height, chainId uint64, logger LoggerI)
lib/consensus.go:220
↓ 1 callersFunctionLogs
()
cmd/rpc/web/wallet/components/api.js:298
↓ 1 callersMethodLogs
()
cmd/rpc/client.go:863
↓ 1 callersFunctionMarshal
(message: any)
plugin/typescript/src/contract/plugin.ts:365
↓ 1 callersFunctionMaxBitmapSize
(numValidators uint64)
lib/crypto/bls.go:354
↓ 1 callersMethodMaxPossibleInbound
MaxPossibleInbound() sums the MaxIn, MaxCommitteeConnects and trusted peer IDs
p2p/p2p.go:462
↓ 1 callersMethodMaybeCompact
MaybeCompact() checks if it is time to compact the LSS and HSS respectively
store/store.go:465
↓ 1 callersFunctionMerkleTree
MerkleTree creates a merkle tree from a slice of bytes. A linear slice was chosen since it uses about half as much memory as a tree example: items = {
lib/crypto/hash.go:49
↓ 1 callersMethodMintToAccount
MintToAccount() adds newly created tokens to an Account. NOTE: This should only be used in deterministic, consensus-safe paths.
fsm/account.go:331
↓ 1 callersMethodModule
Returns the error code
lib/error.go:12
↓ 1 callersMethodMonitor
Monitor runs the process while waiting for it to stop
cmd/auto-update/coordinator.go:72
↓ 1 callersFunctionMustMarshalJSON
MustMarshalJSON() serializes a message into a JSON without error checking
lib/util.go:440
↓ 1 callersMethodNetListening
NetListening() canopy is always listening for peers
cmd/rpc/eth.go:174
↓ 1 callersMethodNetPeerCount
NetPeerCount() returns the number of peers
cmd/rpc/eth.go:177
↓ 1 callersMethodNetVersion
NetVersion() returns the network id
cmd/rpc/eth.go:169
↓ 1 callersFunctionNew
New() creates a new instance of a Controller, this is the entry point when initializing an instance of a Canopy application
controller/controller.go:49
↓ 1 callersFunctionNew
New() creates a new instance of a StoreI either in memory or an actual disk DB
store/store.go:83
↓ 1 callersFunctionNewBLS12381PrivateKeyFromFile
NewBLS12381PrivateKeyFromFile() creates a new PrivateKeyI interface from a BLS12381 json file
lib/crypto/bls.go:66
↓ 1 callersFunctionNewBTreeIterator
NewBTreeIterator() creates a new iterator starting at the closest item to the given key
store/txn.go:535
↓ 1 callersFunctionNewBigIntPool
NewBigIntPool() constructs a big int pool
lib/crypto/classgroup.go:541
↓ 1 callersFunctionNewBlockTracker
NewBlockTracker() constructs a NewHeightTracker
lib/peer.go:297
↓ 1 callersFunctionNewCertificateResultsTx
NewCertificateResultsTx() creates a CertificateResultsTransaction object in the interface form of TransactionI
fsm/transaction.go:432
↓ 1 callersFunctionNewChangeParamTxUint64
NewChangeParamTxUint64() creates a ChangeParamTransaction object (for uint64s) in the interface form of TransactionI
fsm/transaction.go:390
↓ 1 callersFunctionNewCloseOrderTx
NewCloseOrderTx() completes the purchase of a sell order using a send-tx and the memo field
fsm/transaction.go:524
↓ 1 callersMethodNewConnection
NewConnection() creates and starts a new instance of a MultiConn
p2p/conn.go:79
↓ 1 callersFunctionNewCoordinator
NewCoordinator creates a new Coordinator instance
cmd/auto-update/coordinator.go:154
↓ 1 callersFunctionNewCreateOrderTx
NewCreateOrderTx() creates a CreateOrderTransaction object in the interface form of TransactionI
fsm/transaction.go:447
↓ 1 callersFunctionNewDAOTransferTx
NewDAOTransferTx() creates a DAOTransferTransaction object in the interface form of TransactionI
fsm/transaction.go:422
↓ 1 callersFunctionNewDeleteOrderTx
NewDeleteOrderTx() creates an DeleteOrderTransaction object in the interface form of TransactionI
fsm/transaction.go:475
↓ 1 callersFunctionNewDexLimitOrder
NewDexLimitOrder() creates a DexLimitOrder object in the interface form of TransactionI
fsm/transaction.go:487
↓ 1 callersFunctionNewDexLiquidityDeposit
NewDexLiquidityDeposit() creates a DexLiquidityDeposit object in the interface form of TransactionI
fsm/transaction.go:497
↓ 1 callersFunctionNewDexLiquidityWithdraw
NewDexLiquidityWithdraw() creates a DexLiquidityWithdrawal object in the interface form of TransactionI
fsm/transaction.go:506
↓ 1 callersFunctionNewDiscriminant
NewDiscriminant generates a 2048-bit discriminant using a seed The discriminant % 8 == 7 and is a negated random prime p between 13 - 2^4096
lib/crypto/classgroup.go:362
↓ 1 callersFunctionNewEditOrderTx
NewEditOrderTx() creates an EditOrderTransaction object in the interface form of TransactionI
fsm/transaction.go:459
↓ 1 callersFunctionNewEditStakeTx
NewEditStakeTx() creates a EditStakeTransaction object in the interface form of TransactionI
fsm/transaction.go:363
↓ 1 callersFunctionNewLockOrderTx
NewLockOrderTx() reserves a sell order using a send-tx and the memo field
fsm/transaction.go:515
↓ 1 callersFunctionNewMempool
NewMempool() creates a new instance of a Mempool structure
controller/tx.go:175
↓ 1 callersFunctionNewMempoolIterator
NewMempoolIterator() initializes a new iterator for the mempool transactions
lib/mempool.go:189
↓ 1 callersFunctionNewMetricsServer
NewMetricsServer() creates a new telemetry server
lib/metrics.go:170
↓ 1 callersFunctionNewPauseTx
NewPauseTx() creates a PauseTransaction object in the interface form of TransactionI
fsm/transaction.go:380
↓ 1 callersFunctionNewPeerBook
NewPeerBook() instantiates a PeerBook object from a file, it creates a file if none exist
p2p/book.go:39
↓ 1 callersFunctionNewPeerSet
(c lib.Config, priv crypto.PrivateKeyI, metrics *lib.Metrics, logger lib.LoggerI)
p2p/set.go:33
↓ 1 callersFunctionNewPlugin
NewPlugin() creates and starts a plguin
lib/plugin.go:40
↓ 1 callersFunctionNewPluginSchemaRegistry
NewPluginSchemaRegistry()
lib/codec.go:109
↓ 1 callersMethodNewPoll
NewPoll() creates a new poll from the start poll embed
fsm/gov_params.go:519
↓ 1 callersFunctionNewRCManager
NewRCManager() constructs a new instance of a RCManager
cmd/rpc/sock.go:54
↓ 1 callersMethodNewReadOnly
make a clone of the store
lib/store.go:20
↓ 1 callersFunctionNewRetry
NewRetry() constructs a new Retry given parameters
lib/util.go:831
↓ 1 callersFunctionNewServer
NewServer constructs and returns a new Canopy RPC server
cmd/rpc/server.go:67
↓ 1 callersFunctionNewSnapshotManager
NewSnapshotManager creates a new SnapshotManager
cmd/auto-update/updater.go:205
↓ 1 callersFunctionNewStakeTx
NewStakeTx() creates a StakeTransaction object in the interface form of TransactionI
fsm/transaction.go:350
↓ 1 callersFunctionNewStartPollTransaction
NewStartPollTransaction() isn't an actual transaction type - rather it's a protocol built on top of send transactions to allow simple straw polling on
fsm/gov_params.go:571
↓ 1 callersFunctionNewStore
NewStore() creates a new instance of a disk DB˙
store/store.go:91
↓ 1 callersFunctionNewSubsidyTx
NewSubsidyTx() creates a SubsidyTransaction object in the interface form of TransactionI
fsm/transaction.go:437
↓ 1 callersFunctionNewSupervisor
NewSupervisor creates a new ProcessSupervisor instance
cmd/auto-update/coordinator.go:32
↓ 1 callersFunctionNewUnpauseTx
NewUnpauseTx() creates a UnpauseTransaction object in the interface form of TransactionI
fsm/transaction.go:385
↓ 1 callersFunctionNewUnstakeTx
NewUnstakeTx() creates a UnstakeTransaction object in the interface form of TransactionI
fsm/transaction.go:375
↓ 1 callersFunctionNewUpdateManager
NewUpdateManager creates a new UpdateManager instance
cmd/auto-update/updater.go:57
↓ 1 callersFunctionNewVDFService
NewVDFService() creates a new instance of the VDF service
lib/vdf.go:39
↓ 1 callersFunctionNewVotePollTransaction
NewVotePollTransaction() isn't an actual transaction type - rather it's a protocol built on top of send transactions to allow simple straw polling on
fsm/gov_params.go:602
↓ 1 callersMethodNextDexBatch
NextDexBatch retrieves the 'up-next' dex batch for a committee
cmd/rpc/query.go:324
← previousnext →1,701–1,800 of 5,387, ranked by callers