Documentation ¶
Index ¶
- type BuilderConfig
- type ExecutionConfig
- func (e *ExecutionConfig) MarshalJSON() ([]byte, error)
- func (e *ExecutionConfig) ProposerConfig(_ context.Context, _ e2wtypes.Account, pubkey phase0.BLSPubKey, ...) (*beaconblockproposer.ProposerConfig, error)
- func (e *ExecutionConfig) String() string
- func (e *ExecutionConfig) UnmarshalJSON(input []byte) error
- type ProposerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuilderConfig ¶
BuilderConfig is the builder configuration for a specific proposer.
func (*BuilderConfig) MarshalJSON ¶
func (b *BuilderConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*BuilderConfig) String ¶
func (b *BuilderConfig) String() string
String provides a string representation of the struct.
func (*BuilderConfig) UnmarshalJSON ¶
func (b *BuilderConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ExecutionConfig ¶
type ExecutionConfig struct { ProposerConfigs map[phase0.BLSPubKey]*ProposerConfig DefaultConfig *ProposerConfig }
ExecutionConfig is the execution configuration for validators.
func (*ExecutionConfig) MarshalJSON ¶
func (e *ExecutionConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*ExecutionConfig) ProposerConfig ¶
func (e *ExecutionConfig) ProposerConfig(_ context.Context, _ e2wtypes.Account, pubkey phase0.BLSPubKey, fallbackFeeRecipient bellatrix.ExecutionAddress, fallbackGasLimit uint64, ) ( *beaconblockproposer.ProposerConfig, error, )
ProposerConfig returns the proposer configuration for a given validator.
func (*ExecutionConfig) String ¶
func (e *ExecutionConfig) String() string
String provides a string representation of the struct.
func (*ExecutionConfig) UnmarshalJSON ¶
func (e *ExecutionConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ProposerConfig ¶
type ProposerConfig struct { FeeRecipient bellatrix.ExecutionAddress GasLimit uint64 Builder *BuilderConfig }
ProposerConfig is the configuration for a specific proposer.
func (*ProposerConfig) MarshalJSON ¶
func (p *ProposerConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*ProposerConfig) String ¶
func (p *ProposerConfig) String() string
String provides a string representation of the struct.
func (*ProposerConfig) UnmarshalJSON ¶
func (p *ProposerConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.