Documentation ¶
Index ¶
- type Operations
- func (op *Operations) AttestationPool(ctx context.Context, requestedSlot uint64) ([]*ethpb.Attestation, error)
- func (op *Operations) AttestationPoolForForkchoice(ctx context.Context) ([]*ethpb.Attestation, error)
- func (op *Operations) AttestationPoolNoVerify(ctx context.Context) ([]*ethpb.Attestation, error)
- func (op *Operations) HandleAttestation(context.Context, proto.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operations ¶
type Operations struct {
Attestations []*ethpb.Attestation
}
Operations defines a mock for the operations service.
func (*Operations) AttestationPool ¶
func (op *Operations) AttestationPool(ctx context.Context, requestedSlot uint64) ([]*ethpb.Attestation, error)
AttestationPool --
func (*Operations) AttestationPoolForForkchoice ¶ added in v0.2.4
func (op *Operations) AttestationPoolForForkchoice(ctx context.Context) ([]*ethpb.Attestation, error)
AttestationPoolForForkchoice --
func (*Operations) AttestationPoolNoVerify ¶
func (op *Operations) AttestationPoolNoVerify(ctx context.Context) ([]*ethpb.Attestation, error)
AttestationPoolNoVerify --
func (*Operations) HandleAttestation ¶
HandleAttestation --
Click to show internal directories.
Click to hide internal directories.