Struct google_api_proto::google::cloud::blockchainnodeengine::v1::blockchain_node::ethereum_details::ValidatorConfig
source · pub struct ValidatorConfig {
pub mev_relay_urls: Vec<String>,
pub managed_validator_client: bool,
pub beacon_fee_recipient: Option<String>,
}
Expand description
Configuration for validator-related parameters on the beacon client, and for any GCP-managed validator client.
Fields§
§mev_relay_urls: Vec<String>
URLs for MEV-relay services to use for block building. When set, a GCP-managed MEV-boost service is configured on the beacon client.
managed_validator_client: bool
Immutable. When true, deploys a GCP-managed validator client alongside the beacon client.
beacon_fee_recipient: Option<String>
An Ethereum address which the beacon client will send fee rewards to if no recipient is configured in the validator client.
See https://lighthouse-book.sigmaprime.io/suggested-fee-recipient.html or https://docs.prylabs.network/docs/execution-node/fee-recipient for examples of how this is used.
Note that while this is often described as “suggested”, as we run the execution node we can trust the execution node, and therefore this is considered enforced.
Implementations§
source§impl ValidatorConfig
impl ValidatorConfig
sourcepub fn beacon_fee_recipient(&self) -> &str
pub fn beacon_fee_recipient(&self) -> &str
Returns the value of beacon_fee_recipient
, or the default value if beacon_fee_recipient
is unset.
Trait Implementations§
source§impl Clone for ValidatorConfig
impl Clone for ValidatorConfig
source§fn clone(&self) -> ValidatorConfig
fn clone(&self) -> ValidatorConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ValidatorConfig
impl Debug for ValidatorConfig
source§impl Default for ValidatorConfig
impl Default for ValidatorConfig
source§impl Message for ValidatorConfig
impl Message for ValidatorConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ValidatorConfig
impl PartialEq for ValidatorConfig
source§fn eq(&self, other: &ValidatorConfig) -> bool
fn eq(&self, other: &ValidatorConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ValidatorConfig
Auto Trait Implementations§
impl Freeze for ValidatorConfig
impl RefUnwindSafe for ValidatorConfig
impl Send for ValidatorConfig
impl Sync for ValidatorConfig
impl Unpin for ValidatorConfig
impl UnwindSafe for ValidatorConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request