Documentation ¶
Index ¶
- type PoolMock
- func (m *PoolMock) ExitsForInclusion(_ state.ReadOnlyBeaconState, _ primitives.Slot) ([]*eth.SignedVoluntaryExit, error)
- func (m *PoolMock) InsertVoluntaryExit(exit *eth.SignedVoluntaryExit)
- func (*PoolMock) MarkIncluded(_ *eth.SignedVoluntaryExit)
- func (m *PoolMock) PendingExits() ([]*eth.SignedVoluntaryExit, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PoolMock ¶
type PoolMock struct {
Exits []*eth.SignedVoluntaryExit
}
PoolMock is a fake implementation of PoolManager.
func (*PoolMock) ExitsForInclusion ¶
func (m *PoolMock) ExitsForInclusion(_ state.ReadOnlyBeaconState, _ primitives.Slot) ([]*eth.SignedVoluntaryExit, error)
ExitsForInclusion --
func (*PoolMock) InsertVoluntaryExit ¶
func (m *PoolMock) InsertVoluntaryExit(exit *eth.SignedVoluntaryExit)
InsertVoluntaryExit --
func (*PoolMock) MarkIncluded ¶
func (*PoolMock) MarkIncluded(_ *eth.SignedVoluntaryExit)
MarkIncluded --
func (*PoolMock) PendingExits ¶
func (m *PoolMock) PendingExits() ([]*eth.SignedVoluntaryExit, error)
PendingExits --
Click to show internal directories.
Click to hide internal directories.