epochNotifier

package
v1.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2023 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

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 -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL