disabled

package
v1.999.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 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

func NewCurrentNetworkEpochProviderHandler() *currentNetworkEpochProviderHandler

NewCurrentNetworkEpochProviderHandler will create a new currentNetworkEpochProviderHandler instance

func NewDisabledPeersRatingHandler

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 NewNodesCoordinator

func NewNodesCoordinator() *nodesCoordinator

NewNodesCoordinator returns a new instance of nodesCoordinator

func NewPeerShardMapper

func NewPeerShardMapper() *peerShardMapper

NewPeerShardMapper returns default instance

func NewPreferredPeersHolder

func NewPreferredPeersHolder() *disabledPreferredPeersHolder

NewPreferredPeersHolder returns a new instance of disabledPreferredPeersHolder

func NewShuffledOutHandler

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

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

func (desn *EpochStartNotifier) NotifyAllPrepare(_ data.HeaderHandler, _ data.BodyHandler)

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