Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRootLogger ¶
NewRootLogger creates a new logger object with the given format and log level (copied from https://github.com/cosmos/relayer/blob/v2.4.2/cmd/root.go#L174-L202)
Types ¶
type ReporterConfig ¶
type ReporterConfig struct {
NetParams string `mapstructure:"netparams"` // should be mainnet|testnet|simnet|signet
BTCCacheSize uint64 `mapstructure:"btc_cache_size"` // size of the BTC cache
MaxHeadersInMsg uint32 `mapstructure:"max_headers_in_msg"` // maximum number of headers in a MsgInsertHeaders message
}
ReporterConfig defines configuration for the reporter.
func DefaultReporterConfig ¶
func DefaultReporterConfig() ReporterConfig
func (*ReporterConfig) Validate ¶
func (cfg *ReporterConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.