Documentation ¶
Index ¶
- func CreateMemUnit() storage.Storer
- func NewAccountsAdapter() *accountsAdapter
- func NewAntiFloodHandler() *antiFloodHandler
- func NewChainStorer() *chainStorer
- func NewCurrentNetworkEpochProviderHandler() *currentNetworkEpochProviderHandler
- func NewEpochStartTrigger() *epochStartTrigger
- func NewHeaderSigVerifier() *headerSigVerifier
- func NewMultiSigner() *multiSigner
- func NewNodesCoordinator() *nodesCoordinator
- func NewPreferredPeersHolder() *disabledPreferredPeersHolder
- func NewShuffledOutHandler() *shuffledOutHandler
- func NewThrottler() *disabledThrottler
- func NewValidityAttester() *validityAttester
- type EpochStartNotifier
- func (desn *EpochStartNotifier) IsInterfaceNil() bool
- func (desn *EpochStartNotifier) NotifyAll(_ data.HeaderHandler)
- func (desn *EpochStartNotifier) NotifyAllPrepare(_ data.HeaderHandler, _ data.BodyHandler)
- func (desn *EpochStartNotifier) RegisterHandler(_ epochStart.ActionHandler)
- func (desn *EpochStartNotifier) UnregisterHandler(_ epochStart.ActionHandler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMemUnit ¶
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 NewCurrentNetworkEpochProviderHandler ¶ added in v1.2.0
func NewCurrentNetworkEpochProviderHandler() *currentNetworkEpochProviderHandler
NewCurrentNetworkEpochProviderHandler will create a new currentNetworkEpochProviderHandler instance
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 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 ¶
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 -
Source Files ¶
- disabledAccountsAdapter.go
- disabledAntiFloodHandler.go
- disabledChainStorer.go
- disabledCurrentNetworkEpochProviderHandler.go
- disabledEpochStartNotifier.go
- disabledEpochStartTrigger.go
- disabledHeaderSigVerifier.go
- disabledMultiSigner.go
- disabledNodesCoordinator.go
- disabledPreferredPeersHolder.go
- disabledShuffledOutHandler.go
- disabledStorer.go
- disabledThrottler.go
- disabledValidityAttester.go