Documentation
¶
Overview ¶
Package chainwatcher implements a standalone chain watcher that monitors payer report events on the settlement chain and emits Prometheus metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMetrics ¶
func RegisterMetrics(reg prometheus.Registerer)
Types ¶
type Config ¶
type Config struct {
SettlementChainRPCURL string
SettlementChainWSSURL string
PayerReportManagerAddress string
PayerRegistryAddress string
DeploymentBlock uint64
MaxChainDisconnectTime time.Duration
BackfillBlockPageSize uint64
ActiveOriginatorWindow time.Duration
}
Config holds the configuration for the chain watcher.
Click to show internal directories.
Click to hide internal directories.