loader

package
v5.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProposerSettingsLoader

func NewProposerSettingsLoader(cliCtx *cli.Context, db iface.ValidatorDB, opts ...SettingsLoaderOption) (*settingsLoader, error)

NewProposerSettingsLoader returns a new proposer settings loader that can process the proposer settings based on flag options

Types

type SettingsLoaderOption

type SettingsLoaderOption func(cliCtx *cli.Context, psl *settingsLoader) error

SettingsLoaderOption sets additional options that affect the proposer settings

func WithBuilderConfig

func WithBuilderConfig() SettingsLoaderOption

WithBuilderConfig applies the --enable-builder flag to proposer settings

func WithGasLimit

func WithGasLimit() SettingsLoaderOption

WithGasLimit applies the --suggested-gas-limit flag to proposer settings

Jump to

Keyboard shortcuts

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