listener

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

type Listener struct {
	// contains filtered or unexported fields
}

Listener listens for transaction confirmations from a node.

func New

func New(
	client *ethclient.Client,
	tracker *load.Tracker[common.Hash],
	address common.Address,
	nonce uint64,
) *Listener

func (*Listener) IssuingDone

func (l *Listener) IssuingDone()

func (*Listener) Listen

func (l *Listener) Listen(ctx context.Context) error

func (*Listener) RegisterIssued

func (l *Listener) RegisterIssued(txHash common.Hash)

type NewHeadSubscriber

type NewHeadSubscriber interface {
	SubscribeNewHead(ctx context.Context, ch chan<- *types.Header) (ethereum.Subscription, error)
}

Jump to

Keyboard shortcuts

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