bootstrapMocks

package
v1.6.12 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: GPL-3.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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