bootstrapMocks

package
v1.3.46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

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() *nodesCoordinator.NodesCoordinatorRegistry
}

BootstrapParamsHandlerMock -

func (*BootstrapParamsHandlerMock) Epoch

func (bphm *BootstrapParamsHandlerMock) Epoch() uint32

Epoch -

func (*BootstrapParamsHandlerMock) IsInterfaceNil

func (bphm *BootstrapParamsHandlerMock) IsInterfaceNil() bool

IsInterfaceNil -

func (*BootstrapParamsHandlerMock) NodesConfig

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      common.TriesHolder
	StorageManagers map[string]common.StorageManager
	BootstrapCalled func() (bootstrap.Parameters, error)
}

EpochStartBootstrapperStub -

func (*EpochStartBootstrapperStub) Bootstrap

Bootstrap -

func (*EpochStartBootstrapperStub) Close

func (esbs *EpochStartBootstrapperStub) Close() error

Close -

func (*EpochStartBootstrapperStub) IsInterfaceNil

func (esbs *EpochStartBootstrapperStub) IsInterfaceNil() bool

IsInterfaceNil -

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL