confirmedtofinalized

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package confirmedtofinalized provides a simple way to poll the latest finalized block instead of the latest confirmed block.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FinalizedProxy

type FinalizedProxy interface {
	// Run runs the proxy.
	Run(ctx context.Context) error
}

FinalizedProxy is the interface for the finalized proxy.

func NewProxy

func NewProxy(proxyURL string, handler metrics.Handler, port, maxSubmitAhead, chainID int) FinalizedProxy

NewProxy creates a new simply proxy.

Jump to

Keyboard shortcuts

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