Documentation ¶
Index ¶
- type Parameter
- func WithAttestationDataProvider(provider eth2client.AttestationDataProvider) Parameter
- func WithAttestationsSubmitter(submitter submitter.AttestationsSubmitter) Parameter
- func WithBeaconAttestationsSigner(signer signer.BeaconAttestationsSigner) Parameter
- func WithChainTime(service chaintime.Service) Parameter
- func WithLogLevel(logLevel zerolog.Level) Parameter
- func WithMonitor(monitor metrics.Service) Parameter
- func WithProcessConcurrency(concurrency int64) Parameter
- func WithSpecProvider(provider eth2client.SpecProvider) 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 WithChainTime ¶ added in v1.9.0
WithChainTime sets the chain time service.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithMonitor ¶
WithMonitor sets the monitor for this module.
func WithProcessConcurrency ¶
WithProcessConcurrency sets the concurrency for the service.
func WithSpecProvider ¶ added in v1.8.0
func WithSpecProvider(provider eth2client.SpecProvider) Parameter
WithSpecProvider sets the specification provider.
func WithValidatingAccountsProvider ¶
func WithValidatingAccountsProvider(provider accountmanager.ValidatingAccountsProvider) Parameter
WithValidatingAccountsProvider sets the account manager.
Click to show internal directories.
Click to hide internal directories.