pub struct SparkConfig {
pub coordinator_identifier: String,
pub threshold: u32,
pub signing_operators: Vec<SparkSigningOperator>,
pub ssp_config: SparkSspConfig,
pub expected_withdraw_bond_sats: u64,
pub expected_withdraw_relative_block_locktime: u64,
}Expand description
Configuration for a custom Spark environment.
When set on Config, overrides the default Spark operator pool,
service provider, threshold, and token settings. This allows connecting
to alternative Spark deployments (e.g. dev/staging environments).
Fields§
§coordinator_identifier: StringHex-encoded identifier of the coordinator operator.
threshold: u32The FROST signing threshold (e.g. 2 of 3).
signing_operators: Vec<SparkSigningOperator>The set of signing operators.
ssp_config: SparkSspConfigService provider (SSP) configuration.
expected_withdraw_bond_sats: u64Expected bond amount in sats for token withdrawals.
expected_withdraw_relative_block_locktime: u64Expected relative block locktime for token withdrawals.
Trait Implementations§
Source§impl Clone for SparkConfig
impl Clone for SparkConfig
Source§fn clone(&self) -> SparkConfig
fn clone(&self) -> SparkConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SparkConfig
impl RefUnwindSafe for SparkConfig
impl Send for SparkConfig
impl Sync for SparkConfig
impl Unpin for SparkConfig
impl UnwindSafe for SparkConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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>
Wrap the input message
T in a tonic::Request