tracking

package
v0.0.0-...-d9a1657 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeadTracker

type HeadTracker struct {
	NetworkId uint64
	ChainId   uint64
	// contains filtered or unexported fields
}

func NewHeadTracker

func NewHeadTracker(networkId uint64, chainId uint64, js nats.JetStreamContext, log *zap.Logger) HeadTracker

func (*HeadTracker) Head

func (ht *HeadTracker) Head() *web3.BlockHeader

func (*HeadTracker) Init

func (ht *HeadTracker) Init(ctx context.Context) error

func (*HeadTracker) Shutdown

func (ht *HeadTracker) Shutdown() error

Jump to

Keyboard shortcuts

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