rpc

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LaunchAggregator

func LaunchAggregator(
	ctx context.Context,
	client ethutils.EthClient,
	rollupAddress common.Address,
	executable string,
	dbPath string,
	web3RPCPort string,
	web3WSPort string,
	flags utils2.RPCFlags,
	maxBatchTime time.Duration,
	batcherMode BatcherMode,
) error

Types

type BatcherMode added in v0.7.3

type BatcherMode interface {
	// contains filtered or unexported methods
}

type ForwarderBatcherMode added in v0.7.3

type ForwarderBatcherMode struct {
	NodeURL string
}

type StatefulBatcherMode added in v0.7.3

type StatefulBatcherMode struct {
	Auth *bind.TransactOpts
}

type StatelessBatcherMode added in v0.7.3

type StatelessBatcherMode struct {
	Auth *bind.TransactOpts
}

Jump to

Keyboard shortcuts

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