Class: Google::Apis::BlockchainnodeengineV1::ValidatorConfig
- Inherits:
-
Object
- Object
- Google::Apis::BlockchainnodeengineV1::ValidatorConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/blockchainnodeengine_v1/classes.rb,
lib/google/apis/blockchainnodeengine_v1/representations.rb,
lib/google/apis/blockchainnodeengine_v1/representations.rb
Overview
Configuration for validator-related parameters on the beacon client, and for any GCP-managed validator client.
Instance Attribute Summary collapse
-
#mev_relay_urls ⇒ Array<String>
URLs for MEV-relay services to use for block building.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidatorConfig
constructor
A new instance of ValidatorConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ValidatorConfig
Returns a new instance of ValidatorConfig.
616 617 618 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 616 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mev_relay_urls ⇒ Array<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.
Corresponds to the JSON property mevRelayUrls
614 615 616 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 614 def mev_relay_urls @mev_relay_urls end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
621 622 623 |
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 621 def update!(**args) @mev_relay_urls = args[:mev_relay_urls] if args.key?(:mev_relay_urls) end |