Documentation ¶
Index ¶
- type Parameter
- func WithAttestationDataProvider(provider eth2client.AttestationDataProvider) Parameter
- func WithAttestationsSubmitter(submitter submitter.AttestationsSubmitter) Parameter
- func WithBeaconAttestationsSigner(signer signer.BeaconAttestationsSigner) Parameter
- func WithChainTimeService(service chaintime.Service) Parameter
- func WithLogLevel(logLevel zerolog.Level) Parameter
- func WithMonitor(monitor metrics.AttestationMonitor) Parameter
- func WithProcessConcurrency(concurrency int64) Parameter
- func WithSlotsPerEpochProvider(provider eth2client.SlotsPerEpochProvider) Parameter
- func WithValidatingAccountsProvider(provider accountmanager.ValidatingAccountsProvider) 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 WithAttestationDataProvider ¶
func WithAttestationDataProvider(provider eth2client.AttestationDataProvider) Parameter
WithAttestationDataProvider sets the attestation data provider.
func WithAttestationsSubmitter ¶ added in v1.0.0
func WithAttestationsSubmitter(submitter submitter.AttestationsSubmitter) Parameter
WithAttestationsSubmitter sets the attestations submitter.
func WithBeaconAttestationsSigner ¶ added in v1.0.0
func WithBeaconAttestationsSigner(signer signer.BeaconAttestationsSigner) Parameter
WithBeaconAttestationsSigner sets the beacon attestations signer.
func WithChainTimeService ¶ added in v1.6.0
WithChainTime sets the chain time service.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithMonitor ¶
func WithMonitor(monitor metrics.AttestationMonitor) Parameter
WithMonitor sets the monitor for this module.
func WithProcessConcurrency ¶
WithProcessConcurrency sets the concurrency for the service.
func WithSlotsPerEpochProvider ¶
func WithSlotsPerEpochProvider(provider eth2client.SlotsPerEpochProvider) Parameter
WithSlotsPerEpochProvider sets the slots per epoch provider.
func WithValidatingAccountsProvider ¶
func WithValidatingAccountsProvider(provider accountmanager.ValidatingAccountsProvider) Parameter
WithValidatingAccountsProvider sets the account manager.
Click to show internal directories.
Click to hide internal directories.