config

package
v0.1.1-experimental.3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Suggested FeeRecipient is the address that will receive the transaction
	// fees
	// produced by any blocks from this node.
	SuggestedFeeRecipient primitives.ExecutionAddress `mapstructure:"suggested-fee-recipient"`

	// Graffiti is the string that will be included in the
	// graffiti field of the beacon block.
	Graffiti string `mapstructure:"graffiti"`

	// LocalBuilderEnabled determines if the local builder is enabled.
	LocalBuilderEnabled bool `mapstructure:"local-builder-enabled"`

	// LocalBuildPayloadTimeout is the timeout parameter for local build
	// payload. This should match, or be slightly less than the configured
	// timeout on your
	// execution client. It also must be less than timeout_proposal in the
	// CometBFT configuration.
	LocalBuildPayloadTimeout time.Duration `mapstructure:"local-build-payload-timeout"`
}

Builder is the configuration for the payload builder.

func DefaultBuilderConfig

func DefaultBuilderConfig() Config

DefaultBuilderConfig returns the default fork configuration.

Jump to

Keyboard shortcuts

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