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)
- type RoundNotifierStub
- func (ens *RoundNotifierStub) CheckRound(header data.HeaderHandler)
- func (ens *RoundNotifierStub) CurrentRound() uint64
- func (ens *RoundNotifierStub) IsInterfaceNil() bool
- func (ens *RoundNotifierStub) NewRound(Round uint32, timestamp uint64)
- func (ens *RoundNotifierStub) RegisterNotifyHandler(handler vmcommon.RoundSubscriberHandler)
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 -
type RoundNotifierStub ¶ added in v1.6.0
type RoundNotifierStub struct {
NewRoundCalled func(Round uint32, timestamp uint64)
CheckRoundCalled func(header data.HeaderHandler)
CurrentRoundCalled func() uint64
RegisterNotifyHandlerCalled func(handler vmcommon.RoundSubscriberHandler)
}
RoundNotifierStub -
func (*RoundNotifierStub) CheckRound ¶ added in v1.6.0
func (ens *RoundNotifierStub) CheckRound(header data.HeaderHandler)
CheckRound -
func (*RoundNotifierStub) CurrentRound ¶ added in v1.6.0
func (ens *RoundNotifierStub) CurrentRound() uint64
CurrentRound -
func (*RoundNotifierStub) IsInterfaceNil ¶ added in v1.6.0
func (ens *RoundNotifierStub) IsInterfaceNil() bool
IsInterfaceNil -
func (*RoundNotifierStub) NewRound ¶ added in v1.6.0
func (ens *RoundNotifierStub) NewRound(Round uint32, timestamp uint64)
NewRound -
func (*RoundNotifierStub) RegisterNotifyHandler ¶ added in v1.6.0
func (ens *RoundNotifierStub) RegisterNotifyHandler(handler vmcommon.RoundSubscriberHandler)
RegisterNotifyHandler -
Click to show internal directories.
Click to hide internal directories.