api

package
v0.0.0-...-d4adcb1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrGroup

type ErrGroup interface{ Go(f func() error) }

type ExecutionBackend

type ExecutionBackend interface {
	BlockChain() *core.BlockChain
	TxPool() *txpool.TxPool
}

Required interface for interacting with Ethereum instance.

type Service

type Service interface {
	// Starts the service (non-blocking).
	// Long-running goroutines must be scheduled via `eg`, using `ctx`.
	Start(ctx context.Context, eg ErrGroup) error
}

Jump to

Keyboard shortcuts

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