Documentation
¶
Overview ¶
Package always will always attest and propose immediately.
Index ¶
- type Parameter
- type Service
- func (*Service) OnAttestationFailure(_ context.Context, _ *attester.Duty)
- func (*Service) OnProposalFailure(_ context.Context, _ *beaconblockproposer.Duty)
- func (*Service) ShouldAttest(_ context.Context, _ *attester.Duty) bool
- func (*Service) ShouldPropose(_ context.Context, _ *beaconblockproposer.Duty) bool
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 WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithMonitor ¶
WithMonitor sets the monitor for the module.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the multi instance service.
func (*Service) OnAttestationFailure ¶
OnAttestationFailure flags that an attempt to attest has failed.
func (*Service) OnProposalFailure ¶
func (*Service) OnProposalFailure(_ context.Context, _ *beaconblockproposer.Duty)
OnProposalFailure flags that an attempt to propose has failed.
func (*Service) ShouldAttest ¶
ShouldAttest returns true if this Vouch instance should attest.
func (*Service) ShouldPropose ¶
ShouldPropose returns true if this Vouch instance should propose.
Click to show internal directories.
Click to hide internal directories.