Documentation ¶
Index ¶
- func CreateMemUnit() storage.Storer
- func NewAccountsAdapter() *accountsAdapter
- func NewAntiFloodHandler() *antiFloodHandler
- func NewChainStorer() *chainStorer
- func NewCurrentNetworkEpochProviderHandler() *currentNetworkEpochProviderHandler
- func NewDisabledPeersRatingHandler() *disabledPeersRatingHandler
- func NewEpochStartTrigger() *epochStartTrigger
- func NewHeaderSigVerifier() *headerSigVerifier
- func NewMultiSigner() *multiSigner
- func NewMultiSignerContainer() *disabledMultiSignerContainer
- func NewNodesCoordinator() *nodesCoordinator
- func NewPeerShardMapper() *peerShardMapper
- 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, _ epochStart.ValidatorInfoCacher)
- 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 ¶
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 NewMultiSignerContainer ¶
func NewMultiSignerContainer() *disabledMultiSignerContainer
NewMultiSignerContainer creates a disabled multi signer container
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, _ epochStart.ValidatorInfoCacher)
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
- disabledMultiSignerContainer.go
- disabledNodesCoordinator.go
- disabledPeerShardMapper.go
- disabledPeersRatingHandler.go
- disabledPreferredPeersHolder.go
- disabledShuffledOutHandler.go
- disabledStorer.go
- disabledThrottler.go
- disabledValidityAttester.go