Class: Google::Apis::BlockchainnodeengineV1::ValidatorConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ValidatorConfig

Returns a new instance of ValidatorConfig.



614
615
616
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 614

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#managed_validator_clientBoolean Also known as: managed_validator_client?

Immutable. When true, deploys a GCP-managed validator client alongside the beacon client. Corresponds to the JSON property managedValidatorClient

Returns:

  • (Boolean)


605
606
607
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 605

def managed_validator_client
  @managed_validator_client
end

#mev_relay_urlsArray<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

Returns:

  • (Array<String>)


612
613
614
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 612

def mev_relay_urls
  @mev_relay_urls
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



619
620
621
622
# File 'lib/google/apis/blockchainnodeengine_v1/classes.rb', line 619

def update!(**args)
  @managed_validator_client = args[:managed_validator_client] if args.key?(:managed_validator_client)
  @mev_relay_urls = args[:mev_relay_urls] if args.key?(:mev_relay_urls)
end