Documentation ¶
Index ¶
- type Parameter
- func WithBeaconBlockSigner(signer signer.BeaconBlockSigner) Parameter
- func WithBeaconBlockSubmitter(submitter submitter.BeaconBlockSubmitter) Parameter
- func WithChainTimeService(service chaintime.Service) Parameter
- func WithGraffitiProvider(provider graffitiprovider.Service) Parameter
- func WithLogLevel(logLevel zerolog.Level) Parameter
- func WithMonitor(monitor metrics.BeaconBlockProposalMonitor) Parameter
- func WithProposalDataProvider(provider eth2client.BeaconBlockProposalProvider) Parameter
- func WithRANDAORevealSigner(signer signer.RANDAORevealSigner) 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 WithBeaconBlockSigner ¶ added in v1.0.0
func WithBeaconBlockSigner(signer signer.BeaconBlockSigner) Parameter
WithBeaconBlockSigner sets the beacon block signer.
func WithBeaconBlockSubmitter ¶
func WithBeaconBlockSubmitter(submitter submitter.BeaconBlockSubmitter) Parameter
WithBeaconBlockSubmitter sets the beacon block submitter.
func WithChainTimeService ¶ added in v1.0.0
WithChainTimeService sets the chaintime service.
func WithGraffitiProvider ¶
func WithGraffitiProvider(provider graffitiprovider.Service) Parameter
WithGraffitiProvider sets the graffiti provider.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithMonitor ¶
func WithMonitor(monitor metrics.BeaconBlockProposalMonitor) Parameter
WithMonitor sets the monitor for this module.
func WithProposalDataProvider ¶
func WithProposalDataProvider(provider eth2client.BeaconBlockProposalProvider) Parameter
WithProposalDataProvider sets the proposal data provider.
func WithRANDAORevealSigner ¶ added in v1.0.0
func WithRANDAORevealSigner(signer signer.RANDAORevealSigner) Parameter
WithRANDAORevealSigner sets the RANDAO reveal signer.
func WithValidatingAccountsProvider ¶
func WithValidatingAccountsProvider(provider accountmanager.ValidatingAccountsProvider) Parameter
WithValidatingAccountsProvider sets the account manager.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a beacon block proposer.
Click to show internal directories.
Click to hide internal directories.