MCPcopy Create free account
hub / github.com/Commit-Boost/commit-boost-client / get_pbs_static_config

Function get_pbs_static_config

tests/src/utils.rs:69–89  ·  view source on GitHub ↗
(port: u16)

Source from the content-addressed store, hash-verified

67}
68
69pub fn get_pbs_static_config(port: u16) -> PbsConfig {
70 PbsConfig {
71 host: Ipv4Addr::UNSPECIFIED,
72 port,
73 wait_all_registrations: true,
74 relay_check: true,
75 timeout_get_header_ms: u64::MAX,
76 timeout_get_payload_ms: u64::MAX,
77 timeout_register_validator_ms: u64::MAX,
78 skip_sigverify: false,
79 min_bid_wei: U256::ZERO,
80 late_in_slot_time_ms: u64::MAX,
81 extra_validation_enabled: false,
82 ssv_api_url: Url::parse("https://example.net").unwrap(),
83 rpc_url: None,
84 http_timeout_seconds: 10,
85 register_validator_retry_limit: u32::MAX,
86 validator_registration_batch_size: None,
87 mux_registry_refresh_interval_seconds: 5,
88 }
89}
90
91pub fn to_pbs_config(
92 chain: Chain,

Calls

no outgoing calls