Versions in this module Expand all Collapse all v2 v2.0.1 Oct 5, 2021 Changes in this version + type PendingAttesterSlashing struct + type Pool struct + func NewPool() *Pool + func (p *Pool) InsertAttesterSlashing(ctx context.Context, state state.ReadOnlyBeaconState, ...) error + func (p *Pool) InsertProposerSlashing(ctx context.Context, state state.ReadOnlyBeaconState, ...) error + func (p *Pool) MarkIncludedAttesterSlashing(as *ethpb.AttesterSlashing) + func (p *Pool) MarkIncludedProposerSlashing(ps *ethpb.ProposerSlashing) + func (p *Pool) PendingAttesterSlashings(ctx context.Context, state state.ReadOnlyBeaconState, noLimit bool) []*ethpb.AttesterSlashing + func (p *Pool) PendingProposerSlashings(ctx context.Context, state state.ReadOnlyBeaconState, noLimit bool) []*ethpb.ProposerSlashing + type PoolInserter interface + InsertAttesterSlashing func(ctx context.Context, state state.ReadOnlyBeaconState, ...) error + InsertProposerSlashing func(ctx context.Context, state state.ReadOnlyBeaconState, ...) error + type PoolManager interface + MarkIncludedAttesterSlashing func(as *ethpb.AttesterSlashing) + MarkIncludedProposerSlashing func(ps *ethpb.ProposerSlashing) + PendingAttesterSlashings func(ctx context.Context, state state.ReadOnlyBeaconState, noLimit bool) []*ethpb.AttesterSlashing + PendingProposerSlashings func(ctx context.Context, state state.ReadOnlyBeaconState, noLimit bool) []*ethpb.ProposerSlashing + type PoolMock struct + PendingAttSlashings []*ethpb.AttesterSlashing + PendingPropSlashings []*ethpb.ProposerSlashing + func (_ *PoolMock) MarkIncludedAttesterSlashing(_ *ethpb.AttesterSlashing) + func (_ *PoolMock) MarkIncludedProposerSlashing(_ *ethpb.ProposerSlashing) + func (m *PoolMock) InsertAttesterSlashing(_ context.Context, _ state.ReadOnlyBeaconState, ...) error + func (m *PoolMock) InsertProposerSlashing(_ context.Context, _ state.ReadOnlyBeaconState, ...) error + func (m *PoolMock) PendingAttesterSlashings(_ context.Context, _ state.ReadOnlyBeaconState, _ bool) []*ethpb.AttesterSlashing + func (m *PoolMock) PendingProposerSlashings(_ context.Context, _ state.ReadOnlyBeaconState, _ bool) []*ethpb.ProposerSlashing Other modules containing this package github.com/prysmaticlabs/prysm github.com/prysmaticlabs/prysm/v3 github.com/prysmaticlabs/prysm/v4 github.com/prysmaticlabs/prysm/v5