Documentation ¶
Index ¶
- type BootstrapParamsHandlerMock
- func (bphm *BootstrapParamsHandlerMock) Epoch() uint32
- func (bphm *BootstrapParamsHandlerMock) IsInterfaceNil() bool
- func (bphm *BootstrapParamsHandlerMock) NodesConfig() *sharding.NodesCoordinatorRegistry
- func (bphm *BootstrapParamsHandlerMock) NumOfShards() uint32
- func (bphm *BootstrapParamsHandlerMock) SelfShardID() uint32
- type EpochStartBootstrapperStub
- func (esbs *EpochStartBootstrapperStub) Bootstrap() (bootstrap.Parameters, error)
- func (esbs *EpochStartBootstrapperStub) Close() error
- func (esbs *EpochStartBootstrapperStub) GetTriesComponents() (state.TriesHolder, map[string]common.StorageManager)
- func (esbs *EpochStartBootstrapperStub) IsInterfaceNil() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapParamsHandlerMock ¶
type BootstrapParamsHandlerMock struct { EpochCalled func() uint32 SelfShardIDCalled func() uint32 NumOfShardsCalled func() uint32 NodesConfigCalled func() *sharding.NodesCoordinatorRegistry }
BootstrapParamsHandlerMock -
func (*BootstrapParamsHandlerMock) Epoch ¶
func (bphm *BootstrapParamsHandlerMock) Epoch() uint32
Epoch -
func (*BootstrapParamsHandlerMock) IsInterfaceNil ¶
func (bphm *BootstrapParamsHandlerMock) IsInterfaceNil() bool
IsInterfaceNil -
func (*BootstrapParamsHandlerMock) NodesConfig ¶
func (bphm *BootstrapParamsHandlerMock) NodesConfig() *sharding.NodesCoordinatorRegistry
NodesConfig -
func (*BootstrapParamsHandlerMock) NumOfShards ¶
func (bphm *BootstrapParamsHandlerMock) NumOfShards() uint32
NumOfShards -
func (*BootstrapParamsHandlerMock) SelfShardID ¶
func (bphm *BootstrapParamsHandlerMock) SelfShardID() uint32
SelfShardID -
type EpochStartBootstrapperStub ¶
type EpochStartBootstrapperStub struct { TrieHolder state.TriesHolder StorageManagers map[string]common.StorageManager BootstrapCalled func() (bootstrap.Parameters, error) }
EpochStartBootstrapperStub -
func (*EpochStartBootstrapperStub) Bootstrap ¶
func (esbs *EpochStartBootstrapperStub) Bootstrap() (bootstrap.Parameters, error)
Bootstrap -
func (*EpochStartBootstrapperStub) Close ¶
func (esbs *EpochStartBootstrapperStub) Close() error
Close -
func (*EpochStartBootstrapperStub) GetTriesComponents ¶
func (esbs *EpochStartBootstrapperStub) GetTriesComponents() (state.TriesHolder, map[string]common.StorageManager)
GetTriesComponents -
func (*EpochStartBootstrapperStub) IsInterfaceNil ¶
func (esbs *EpochStartBootstrapperStub) IsInterfaceNil() bool
IsInterfaceNil -
Click to show internal directories.
Click to hide internal directories.