epochNotifier

package
v1.8.12 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: GPL-3.0 Imports: 4 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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