package
23.1.6+incompatible
Repository: https://github.com/zeta-chain/node.git
Documentation: pkg.go.dev
# Functions
DefaultLoggers creates default base loggers for tests.
EnvVarLatestBlockByChain returns the environment variable for the last block by chain.
EnvVarLatestTxByChain returns the environment variable for the last tx by chain.
InitLogger initializes the base loggers.
NewObserver creates a new base observer.
NewSigner creates a new base signer.
# Constants
No description provided by the author
DefaultBlockCacheSize is the default number of blocks that the observer will keep in cache for performance (without RPC calls) Cached blocks can be used to get block information and verify transactions.
DefaultHeaderCacheSize is the default number of headers that the observer will keep in cache for performance (without RPC calls) Cached headers can be used to get header information.
EnvVarLatestBlock is the environment variable that forces the observer to scan from the latest block.
# Structs
Logger contains the base loggers.
Observer is the base structure for chain observers, grouping the common logic for each chain observer client.
ObserverLogger contains the loggers for chain observers.
Signer is the base structure for grouping the common logic between chain signers.