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
Click to show internal directories.
Click to hide internal directories.