disabled

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMemUnit

func CreateMemUnit() storage.Storer

CreateMemUnit creates an in-memory storer unit using maps

func NewAccountsAdapter

func NewAccountsAdapter() *accountsAdapter

NewAccountsAdapter returns a nil implementation of accountsAdapter

func NewAntiFloodHandler

func NewAntiFloodHandler() *antiFloodHandler

NewAntiFloodHandler returns a new instance of antiFloodHandler

func NewChainStorer

func NewChainStorer() *chainStorer

NewChainStorer -

func NewCurrentNetworkEpochProviderHandler added in v1.2.0

func NewCurrentNetworkEpochProviderHandler() *currentNetworkEpochProviderHandler

NewCurrentNetworkEpochProviderHandler will create a new currentNetworkEpochProviderHandler instance

func NewDisabledPeersRatingHandler added in v1.3.29

func NewDisabledPeersRatingHandler() *disabledPeersRatingHandler

NewDisabledPeersRatingHandler returns a new instance of disabledPeersRatingHandler

func NewEpochStartTrigger

func NewEpochStartTrigger() *epochStartTrigger

NewEpochStartTrigger returns a new instance of epochStartTrigger

func NewHeaderSigVerifier

func NewHeaderSigVerifier() *headerSigVerifier

NewHeaderSigVerifier returns a new instance of headerSigVerifier

func NewMultiSigner

func NewMultiSigner() *multiSigner

NewMultiSigner returns a new instance of disabled multiSigner

func NewMultiSignerContainer added in v1.4.0

func NewMultiSignerContainer() *disabledMultiSignerContainer

NewMultiSignerContainer creates a disabled multi signer container

func NewNodesCoordinator

func NewNodesCoordinator() *nodesCoordinator

NewNodesCoordinator returns a new instance of nodesCoordinator

func NewPeerShardMapper added in v1.3.37

func NewPeerShardMapper() *peerShardMapper

NewPeerShardMapper returns default instance

func NewPreferredPeersHolder added in v1.2.3

func NewPreferredPeersHolder() *disabledPreferredPeersHolder

NewPreferredPeersHolder returns a new instance of disabledPreferredPeersHolder

func NewShuffledOutHandler added in v1.0.103

func NewShuffledOutHandler() *shuffledOutHandler

NewShuffledOutHandler will return a new instance of shuffledOutHandler

func NewThrottler

func NewThrottler() *disabledThrottler

NewThrottler returns a new instance of a disabledThrottler

func NewValidityAttester

func NewValidityAttester() *validityAttester

NewValidityAttester returns a new instance of validityAttester

Types

type EpochStartNotifier

type EpochStartNotifier struct {
}

EpochStartNotifier -

func NewEpochStartNotifier added in v1.1.1

func NewEpochStartNotifier() *EpochStartNotifier

NewEpochStartNotifier returns the disabled epoch start notifier

func (*EpochStartNotifier) IsInterfaceNil

func (desn *EpochStartNotifier) IsInterfaceNil() bool

IsInterfaceNil -

func (*EpochStartNotifier) NotifyAll

func (desn *EpochStartNotifier) NotifyAll(_ data.HeaderHandler)

NotifyAll -

func (*EpochStartNotifier) NotifyAllPrepare

NotifyAllPrepare -

func (*EpochStartNotifier) RegisterHandler

func (desn *EpochStartNotifier) RegisterHandler(_ epochStart.ActionHandler)

RegisterHandler -

func (*EpochStartNotifier) UnregisterHandler

func (desn *EpochStartNotifier) UnregisterHandler(_ epochStart.ActionHandler)

UnregisterHandler -

Jump to

Keyboard shortcuts

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