Documentation ¶
Index ¶
- type BaseRelayConfig
- type ExecutionConfig
- func (e *ExecutionConfig) MarshalJSON() ([]byte, error)
- func (e *ExecutionConfig) ProposerConfig(_ context.Context, account e2wtypes.Account, pubkey phase0.BLSPubKey, ...) (*beaconblockproposer.ProposerConfig, error)
- func (e *ExecutionConfig) String() string
- func (e *ExecutionConfig) UnmarshalJSON(input []byte) error
- type ProposerConfig
- type ProposerRelayConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseRelayConfig ¶
type BaseRelayConfig struct { PublicKey *phase0.BLSPubKey FeeRecipient *bellatrix.ExecutionAddress GasLimit *uint64 Grace *time.Duration MinValue *decimal.Decimal }
BaseRelayConfig are the options for base relays.
func (*BaseRelayConfig) MarshalJSON ¶
func (c *BaseRelayConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*BaseRelayConfig) String ¶
func (c *BaseRelayConfig) String() string
String provides a string representation of the struct.
func (*BaseRelayConfig) UnmarshalJSON ¶
func (c *BaseRelayConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ExecutionConfig ¶
type ExecutionConfig struct { Version int FeeRecipient *bellatrix.ExecutionAddress GasLimit *uint64 Grace *time.Duration MinValue *decimal.Decimal Relays map[string]*BaseRelayConfig Proposers []*ProposerConfig }
ExecutionConfig contains hierarchical configuration for validators proposing execution payloads.
func (*ExecutionConfig) MarshalJSON ¶
func (e *ExecutionConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*ExecutionConfig) ProposerConfig ¶
func (e *ExecutionConfig) ProposerConfig(_ context.Context, account e2wtypes.Account, pubkey phase0.BLSPubKey, fallbackFeeRecipient bellatrix.ExecutionAddress, fallbackGasLimit uint64, ) ( *beaconblockproposer.ProposerConfig, error, )
ProposerConfig returns the proposer configuration for the 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 { Validator phase0.BLSPubKey Account *regexp.Regexp FeeRecipient *bellatrix.ExecutionAddress GasLimit *uint64 Grace *time.Duration MinValue *decimal.Decimal ResetRelays bool Relays map[string]*ProposerRelayConfig }
ProposerConfig contains proposer-specific configuration for validators proposing execution payloads.
func (*ProposerConfig) MarshalJSON ¶
func (p *ProposerConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*ProposerConfig) String ¶
func (p *ProposerConfig) String() string
func (*ProposerConfig) UnmarshalJSON ¶
func (p *ProposerConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ProposerRelayConfig ¶
type ProposerRelayConfig struct { Disabled bool PublicKey *phase0.BLSPubKey FeeRecipient *bellatrix.ExecutionAddress GasLimit *uint64 Grace *time.Duration MinValue *decimal.Decimal }
func (*ProposerRelayConfig) MarshalJSON ¶
func (c *ProposerRelayConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*ProposerRelayConfig) String ¶
func (c *ProposerRelayConfig) String() string
String provides a string representation of the struct.
func (*ProposerRelayConfig) UnmarshalJSON ¶
func (c *ProposerRelayConfig) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.