Documentation
¶
Overview ¶
Package multiinstance manages co-ordination of multiple instance validator actions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
// ShouldAttest returns true if this Vouch instance should attest.
ShouldAttest(ctx context.Context, duty *attester.Duty) bool
// OnAttestationFailure flags that an attempt to attest has failed.
OnAttestationFailure(ctx context.Context, duty *attester.Duty)
// ShouldPropose returns true if this Vouch instance should propose.
ShouldPropose(ctx context.Context, duty *beaconblockproposer.Duty) bool
// OnProposalFailure flags that an attempt to propose has failed.
OnProposalFailure(ctx context.Context, duty *beaconblockproposer.Duty)
}
Service is the multi instance service.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package always will always attest and propose immediately.
|
Package always will always attest and propose immediately. |
|
Package staticdelay provides a static delay in which a Vouch instance waits to see if another instance has attested or proposed before doing so itself.
|
Package staticdelay provides a static delay in which a Vouch instance waits to see if another instance has attested or proposed before doing so itself. |
Click to show internal directories.
Click to hide internal directories.