Documentation ¶
Index ¶
- type EpochNotifierStub
- func (ens *EpochNotifierStub) CheckEpoch(header data.HeaderHandler)
- func (ens *EpochNotifierStub) CurrentEpoch() uint32
- func (ens *EpochNotifierStub) IsInterfaceNil() bool
- func (ens *EpochNotifierStub) NewEpoch(epoch uint32, timestamp uint64)
- func (ens *EpochNotifierStub) RegisterHandler(handler epochStart.ActionHandler)
- func (ens *EpochNotifierStub) RegisterNotifyHandler(handler vmcommon.EpochSubscriberHandler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EpochNotifierStub ¶
type EpochNotifierStub struct { NewEpochCalled func(epoch uint32, timestamp uint64) RegisterHandlerCalled func(handler epochStart.ActionHandler) CheckEpochCalled func(header data.HeaderHandler) CurrentEpochCalled func() uint32 RegisterNotifyHandlerCalled func(handler vmcommon.EpochSubscriberHandler) }
EpochNotifierStub -
func (*EpochNotifierStub) CheckEpoch ¶
func (ens *EpochNotifierStub) CheckEpoch(header data.HeaderHandler)
CheckEpoch -
func (*EpochNotifierStub) CurrentEpoch ¶
func (ens *EpochNotifierStub) CurrentEpoch() uint32
CurrentEpoch -
func (*EpochNotifierStub) IsInterfaceNil ¶
func (ens *EpochNotifierStub) IsInterfaceNil() bool
IsInterfaceNil -
func (*EpochNotifierStub) NewEpoch ¶
func (ens *EpochNotifierStub) NewEpoch(epoch uint32, timestamp uint64)
NewEpoch -
func (*EpochNotifierStub) RegisterHandler ¶
func (ens *EpochNotifierStub) RegisterHandler(handler epochStart.ActionHandler)
RegisterHandler -
func (*EpochNotifierStub) RegisterNotifyHandler ¶
func (ens *EpochNotifierStub) RegisterNotifyHandler(handler vmcommon.EpochSubscriberHandler)
RegisterNotifyHandler -
Click to show internal directories.
Click to hide internal directories.