Documentation ¶
Index ¶
- type Parameter
- func WithBlockSummaries(enabled bool) Parameter
- func WithChainDB(chainDB chaindb.Service) Parameter
- func WithChainTime(chainTime chaintime.Service) Parameter
- func WithETH2Client(eth2Client eth2client.Service) Parameter
- func WithEpochSummaries(enabled bool) Parameter
- func WithLogLevel(logLevel zerolog.Level) Parameter
- func WithMaxDaysPerRun(maxDaysPerRun uint64) Parameter
- func WithMonitor(monitor metrics.Service) Parameter
- func WithValidatorBalanceRetention(retention string) Parameter
- func WithValidatorEpochRetention(retention string) Parameter
- func WithValidatorRetain(validatorRetain []phase0.BLSPubKey) Parameter
- func WithValidatorSummaries(enabled bool) Parameter
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameter ¶
type Parameter interface {
// contains filtered or unexported methods
}
Parameter is the interface for service parameters.
func WithBlockSummaries ¶
WithBlockSummaries states if the module should generate block summaries.
func WithChainDB ¶
WithChainDB sets the chain database for this module.
func WithChainTime ¶
WithChainTime sets the chain time service for this module.
func WithETH2Client ¶
func WithETH2Client(eth2Client eth2client.Service) Parameter
WithETH2Client sets the Ethereum 2 client for this module.
func WithEpochSummaries ¶
WithEpochSummaries states if the module should generate epoch summaries.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithMaxDaysPerRun ¶ added in v0.7.0
WithMaxDaysPerRun provides the maximum number of days to process in a single run of the summarizer.
func WithMonitor ¶
WithMonitor sets the monitor for the module.
func WithValidatorBalanceRetention ¶ added in v0.7.0
WithValidatorBalanceRetention provides the amount of validator balance data to retain.
func WithValidatorEpochRetention ¶ added in v0.7.0
WithValidatorEpochRetention provides the amount of validator epoch data to retain.
func WithValidatorRetain ¶ added in v0.8.3
WithValidatorRetain states if the module should retain balance and epoch summaries for a subset of validator.
func WithValidatorSummaries ¶
WithValidatorSummaries states if the module should generate validator summaries.