Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int Mainnet NetworkConfig Babylonnet NetworkConfig LogLevel string `envconfig:"LOG_LEVEL"` CounterIntervalHours int FutureRightsIntervalMinutes int SnapshotCheckIntervalMinutes int DoubleBakingCheckIntervalMinutes int DoubleEndorsementCheckIntervalMinutes int }
Config stores the required configuration.
type DbLogger ¶
type DbLogger struct{}
DbLogger is a simple log wrapper for use with gorm and logrus.
type NetworkConfig ¶
type NetworkConfig struct { SqlConnectionString string NodeRpc client.TransportConfig }
Click to show internal directories.
Click to hide internal directories.