testing

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

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) AttestationsBySlotCommittee added in v0.2.7

func (op *Operations) AttestationsBySlotCommittee(ctx context.Context, slot uint64, index uint64) ([]*ethpb.Attestation, error)

AttestationsBySlotCommittee --

func (*Operations) HandleAttestation

func (op *Operations) HandleAttestation(context.Context, proto.Message) error

HandleAttestation --

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL