pub struct ColibriConfig {Show 17 fields
pub chain_id: u64,
pub provers: Vec<String>,
pub eth_rpcs: Vec<String>,
pub beacon_apis: Vec<String>,
pub checkpointz: Vec<String>,
pub oblivious_nodes: Vec<String>,
pub trusted_checkpoint: Option<String>,
pub include_code: bool,
pub use_accesslist: bool,
pub zk_proof: bool,
pub privacy_mode: PrivacyMode,
pub prover_mode: Option<ProverMode>,
pub checkpoint_witness_keys: Option<String>,
pub skip_wsp_check: bool,
pub logs_completeness: bool,
pub max_latest_age_seconds: u64,
pub request_timeout: Duration,
}Expand description
Configuration for a Colibri client – endpoint lists, prover
flags and freshness policy. Construct via Colibri::builder.
Fields§
§chain_id: u64§provers: Vec<String>§eth_rpcs: Vec<String>§beacon_apis: Vec<String>§checkpointz: Vec<String>§oblivious_nodes: Vec<String>§trusted_checkpoint: Option<String>§include_code: bool§use_accesslist: bool§zk_proof: bool§privacy_mode: PrivacyMode§prover_mode: Option<ProverMode>§checkpoint_witness_keys: Option<String>§skip_wsp_check: bool§logs_completeness: bool§max_latest_age_seconds: u64Upper bound (in seconds) on the age of a "latest"-anchored
proof accepted by the verifier. 0 disables the check.
request_timeout: DurationOverall HTTP request timeout.
Implementations§
Trait Implementations§
Source§impl Clone for ColibriConfig
impl Clone for ColibriConfig
Source§fn clone(&self) -> ColibriConfig
fn clone(&self) -> ColibriConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ColibriConfig
impl RefUnwindSafe for ColibriConfig
impl Send for ColibriConfig
impl Sync for ColibriConfig
impl Unpin for ColibriConfig
impl UnsafeUnpin for ColibriConfig
impl UnwindSafe for ColibriConfig
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
Mutably borrows from an owned value. Read more