Documentation ¶
Index ¶
- type PoolMock
- func (m *PoolMock) BLSToExecChangesForInclusion(_ state.ReadOnlyBeaconState) ([]*eth.SignedBLSToExecutionChange, error)
- func (m *PoolMock) InsertBLSToExecChange(change *eth.SignedBLSToExecutionChange)
- func (*PoolMock) MarkIncluded(_ *eth.SignedBLSToExecutionChange)
- func (m *PoolMock) PendingBLSToExecChanges() ([]*eth.SignedBLSToExecutionChange, error)
- func (*PoolMock) ValidatorExists(_ primitives.ValidatorIndex) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PoolMock ¶
type PoolMock struct {
Changes []*eth.SignedBLSToExecutionChange
}
PoolMock is a fake implementation of PoolManager.
func (*PoolMock) BLSToExecChangesForInclusion ¶
func (m *PoolMock) BLSToExecChangesForInclusion(_ state.ReadOnlyBeaconState) ([]*eth.SignedBLSToExecutionChange, error)
BLSToExecChangesForInclusion --
func (*PoolMock) InsertBLSToExecChange ¶
func (m *PoolMock) InsertBLSToExecChange(change *eth.SignedBLSToExecutionChange)
InsertBLSToExecChange --
func (*PoolMock) MarkIncluded ¶
func (*PoolMock) MarkIncluded(_ *eth.SignedBLSToExecutionChange)
MarkIncluded --
func (*PoolMock) PendingBLSToExecChanges ¶
func (m *PoolMock) PendingBLSToExecChanges() ([]*eth.SignedBLSToExecutionChange, error)
PendingBLSToExecChanges --
func (*PoolMock) ValidatorExists ¶
func (*PoolMock) ValidatorExists(_ primitives.ValidatorIndex) bool
ValidatorExists --
Click to show internal directories.
Click to hide internal directories.