Documentation ¶
Index ¶
- type PoolMock
- func (*PoolMock) AggregateUnaggregatedAttestations(_ context.Context) error
- func (*PoolMock) AggregateUnaggregatedAttestationsBySlotIndex(_ context.Context, _ types.Slot, _ types.CommitteeIndex) error
- func (*PoolMock) AggregatedAttestationCount() int
- func (m *PoolMock) AggregatedAttestations() []*ethpb.Attestation
- func (*PoolMock) AggregatedAttestationsBySlotIndex(_ context.Context, _ types.Slot, _ types.CommitteeIndex) []*ethpb.Attestation
- func (*PoolMock) BlockAttestations() []*ethpb.Attestation
- func (*PoolMock) DeleteAggregatedAttestation(_ *ethpb.Attestation) error
- func (*PoolMock) DeleteBlockAttestation(_ *ethpb.Attestation) error
- func (*PoolMock) DeleteForkchoiceAttestation(_ *ethpb.Attestation) error
- func (*PoolMock) DeleteSeenUnaggregatedAttestations() (int, error)
- func (*PoolMock) DeleteUnaggregatedAttestation(_ *ethpb.Attestation) error
- func (*PoolMock) ForkchoiceAttestationCount() int
- func (*PoolMock) ForkchoiceAttestations() []*ethpb.Attestation
- func (*PoolMock) HasAggregatedAttestation(_ *ethpb.Attestation) (bool, error)
- func (*PoolMock) SaveAggregatedAttestation(_ *ethpb.Attestation) error
- func (m *PoolMock) SaveAggregatedAttestations(atts []*ethpb.Attestation) error
- func (*PoolMock) SaveBlockAttestation(_ *ethpb.Attestation) error
- func (*PoolMock) SaveBlockAttestations(_ []*ethpb.Attestation) error
- func (*PoolMock) SaveForkchoiceAttestation(_ *ethpb.Attestation) error
- func (*PoolMock) SaveForkchoiceAttestations(_ []*ethpb.Attestation) error
- func (*PoolMock) SaveUnaggregatedAttestation(_ *ethpb.Attestation) error
- func (*PoolMock) SaveUnaggregatedAttestations(_ []*ethpb.Attestation) error
- func (*PoolMock) UnaggregatedAttestationCount() int
- func (*PoolMock) UnaggregatedAttestations() ([]*ethpb.Attestation, error)
- func (*PoolMock) UnaggregatedAttestationsBySlotIndex(_ context.Context, _ types.Slot, _ types.CommitteeIndex) []*ethpb.Attestation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PoolMock ¶
type PoolMock struct {
AggregatedAtts []*ethpb.Attestation
}
PoolMock --
func (*PoolMock) AggregateUnaggregatedAttestations ¶
AggregateUnaggregatedAttestations --
func (*PoolMock) AggregateUnaggregatedAttestationsBySlotIndex ¶
func (*PoolMock) AggregateUnaggregatedAttestationsBySlotIndex(_ context.Context, _ types.Slot, _ types.CommitteeIndex) error
AggregateUnaggregatedAttestationsBySlotIndex --
func (*PoolMock) AggregatedAttestationCount ¶
AggregatedAttestationCount --
func (*PoolMock) AggregatedAttestations ¶
func (m *PoolMock) AggregatedAttestations() []*ethpb.Attestation
AggregatedAttestations --
func (*PoolMock) AggregatedAttestationsBySlotIndex ¶
func (*PoolMock) AggregatedAttestationsBySlotIndex(_ context.Context, _ types.Slot, _ types.CommitteeIndex) []*ethpb.Attestation
AggregatedAttestationsBySlotIndex --
func (*PoolMock) BlockAttestations ¶
func (*PoolMock) BlockAttestations() []*ethpb.Attestation
BlockAttestations --
func (*PoolMock) DeleteAggregatedAttestation ¶
func (*PoolMock) DeleteAggregatedAttestation(_ *ethpb.Attestation) error
DeleteAggregatedAttestation --
func (*PoolMock) DeleteBlockAttestation ¶
func (*PoolMock) DeleteBlockAttestation(_ *ethpb.Attestation) error
DeleteBlockAttestation --
func (*PoolMock) DeleteForkchoiceAttestation ¶
func (*PoolMock) DeleteForkchoiceAttestation(_ *ethpb.Attestation) error
DeleteForkchoiceAttestation --
func (*PoolMock) DeleteSeenUnaggregatedAttestations ¶
DeleteSeenUnaggregatedAttestations --
func (*PoolMock) DeleteUnaggregatedAttestation ¶
func (*PoolMock) DeleteUnaggregatedAttestation(_ *ethpb.Attestation) error
DeleteUnaggregatedAttestation --
func (*PoolMock) ForkchoiceAttestationCount ¶
ForkchoiceAttestationCount --
func (*PoolMock) ForkchoiceAttestations ¶
func (*PoolMock) ForkchoiceAttestations() []*ethpb.Attestation
ForkchoiceAttestations --
func (*PoolMock) HasAggregatedAttestation ¶
func (*PoolMock) HasAggregatedAttestation(_ *ethpb.Attestation) (bool, error)
HasAggregatedAttestation --
func (*PoolMock) SaveAggregatedAttestation ¶
func (*PoolMock) SaveAggregatedAttestation(_ *ethpb.Attestation) error
SaveAggregatedAttestation --
func (*PoolMock) SaveAggregatedAttestations ¶
func (m *PoolMock) SaveAggregatedAttestations(atts []*ethpb.Attestation) error
SaveAggregatedAttestations --
func (*PoolMock) SaveBlockAttestation ¶
func (*PoolMock) SaveBlockAttestation(_ *ethpb.Attestation) error
SaveBlockAttestation --
func (*PoolMock) SaveBlockAttestations ¶
func (*PoolMock) SaveBlockAttestations(_ []*ethpb.Attestation) error
SaveBlockAttestations --
func (*PoolMock) SaveForkchoiceAttestation ¶
func (*PoolMock) SaveForkchoiceAttestation(_ *ethpb.Attestation) error
SaveForkchoiceAttestation --
func (*PoolMock) SaveForkchoiceAttestations ¶
func (*PoolMock) SaveForkchoiceAttestations(_ []*ethpb.Attestation) error
SaveForkchoiceAttestations --
func (*PoolMock) SaveUnaggregatedAttestation ¶
func (*PoolMock) SaveUnaggregatedAttestation(_ *ethpb.Attestation) error
SaveUnaggregatedAttestation --
func (*PoolMock) SaveUnaggregatedAttestations ¶
func (*PoolMock) SaveUnaggregatedAttestations(_ []*ethpb.Attestation) error
SaveUnaggregatedAttestations --
func (*PoolMock) UnaggregatedAttestationCount ¶
UnaggregatedAttestationCount --
func (*PoolMock) UnaggregatedAttestations ¶
func (*PoolMock) UnaggregatedAttestations() ([]*ethpb.Attestation, error)
UnaggregatedAttestations --
func (*PoolMock) UnaggregatedAttestationsBySlotIndex ¶
func (*PoolMock) UnaggregatedAttestationsBySlotIndex(_ context.Context, _ types.Slot, _ types.CommitteeIndex) []*ethpb.Attestation
UnaggregatedAttestationsBySlotIndex --