Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SettingsLoader ¶
type SettingsLoader struct {
// contains filtered or unexported fields
}
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
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.