pub struct SynchronizerConfig {
pub synchronizer_id: CantonSynchronizerId,
pub sequencer_connections: Vec<String>,
pub is_global: bool,
pub finality_seconds: u32,
}Expand description
Configuration for a Canton synchronizer (formerly “domain”).
A synchronizer provides the coordination layer for Daml transactions. It comprises three services that can be deployed monolithically or distributed:
- Sequencer: Total-order multicast, assigns timestamps
- Mediator: 2PC coordinator, collects confirmations
- Topology Manager: Party/key/package topology state
All payloads are end-to-end encrypted between participant nodes — the synchronizer is “blind” to transaction contents.
Fields§
§synchronizer_id: CantonSynchronizerIdSynchronizer ID
sequencer_connections: Vec<String>Sequencer connection endpoints
is_global: boolWhether this is the Global Synchronizer (public, permissionless)
finality_seconds: u32Estimated finality time in seconds
Trait Implementations§
Source§impl Clone for SynchronizerConfig
impl Clone for SynchronizerConfig
Source§fn clone(&self) -> SynchronizerConfig
fn clone(&self) -> SynchronizerConfig
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 moreSource§impl Debug for SynchronizerConfig
impl Debug for SynchronizerConfig
Source§impl Default for SynchronizerConfig
impl Default for SynchronizerConfig
Source§impl<'de> Deserialize<'de> for SynchronizerConfig
impl<'de> Deserialize<'de> for SynchronizerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SynchronizerConfig
impl RefUnwindSafe for SynchronizerConfig
impl Send for SynchronizerConfig
impl Sync for SynchronizerConfig
impl Unpin for SynchronizerConfig
impl UnsafeUnpin for SynchronizerConfig
impl UnwindSafe for SynchronizerConfig
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