Documentation ¶
Index ¶
- func CreateMemUnit() storage.Storer
- func NewAccountsAdapter() *accountsAdapter
- func NewAntiFloodHandler() *antiFloodHandler
- func NewChainStorer() *chainStorer
- func NewEpochStartTrigger() *epochStartTrigger
- func NewHeaderSigVerifier() *headerSigVerifier
- func NewMultiSigVerifier() *multiSignatureVerifier
- func NewMultiSigner() *multiSigner
- func NewNodesCoordinator() *nodesCoordinator
- 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 NewEpochStartTrigger ¶
func NewEpochStartTrigger() *epochStartTrigger
NewEpochStartTrigger returns a new instance of epochStartTrigger
func NewHeaderSigVerifier ¶
func NewHeaderSigVerifier() *headerSigVerifier
NewHeaderSigVerifier returns a new instance of headerSigVerifier
func NewMultiSigVerifier ¶
func NewMultiSigVerifier() *multiSignatureVerifier
NewMultiSigVerifier returns a new instance of multiSignatureVerifier
func NewMultiSigner ¶
func NewMultiSigner() *multiSigner
NewMultiSigner returns a new instance of multiSigner
func NewNodesCoordinator ¶
func NewNodesCoordinator() *nodesCoordinator
NewNodesCoordinator returns a new instance of nodesCoordinator
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 (*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
- disabledEpochStartNotifier.go
- disabledEpochStartTrigger.go
- disabledHeaderSigVerifier.go
- disabledMultiSigVerifier.go
- disabledMultiSigner.go
- disabledNodesCoordinator.go
- disabledShuffledOutHandler.go
- disabledStorer.go
- disabledThrottler.go
- disabledValidityAttester.go