pub struct CoordinatorState {
pub threshold: usize,
pub pubkey_package: PublicKeyPackage,
pub signer_txs: BTreeMap<Identifier, Sender<QuorumRpcMessage>>,
pub roast: RoastCoordinator,
}Expand description
Shared coordinator state managing connected signers and ROAST coordination.
Fields§
§threshold: usize§pubkey_package: PublicKeyPackage§signer_txs: BTreeMap<Identifier, Sender<QuorumRpcMessage>>§roast: RoastCoordinatorImplementations§
Source§impl CoordinatorState
impl CoordinatorState
pub fn new(threshold: usize, pubkey_package: PublicKeyPackage) -> Self
Auto Trait Implementations§
impl Freeze for CoordinatorState
impl RefUnwindSafe for CoordinatorState
impl Send for CoordinatorState
impl Sync for CoordinatorState
impl Unpin for CoordinatorState
impl UnsafeUnpin for CoordinatorState
impl UnwindSafe for CoordinatorState
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