From 1680dab1cf4a48675b76bc6ad5ee85bec5397b6c Mon Sep 17 00:00:00 2001 From: conduition Date: Sun, 10 Mar 2024 17:06:08 +0000 Subject: [PATCH] minor docs changes --- src/lib.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 38ca569..f30312f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -96,9 +96,7 @@ pub struct NonceSharingRound { } /// A [`SigningSessionState`] state for the second signature-sharing -/// round of communication. This assumes a mesh topology between -/// signers, where every signer sends their partial signatures to -/// everyone else. +/// round of communication. pub struct PartialSignatureSharingRound { received_nonces: BTreeMap>, aggregated_nonces: SigMap, @@ -443,6 +441,9 @@ impl SignedContract { /// If the pubkey belongs to the market maker, this simply returns a clone of the /// full set of signatures, since the market maker is involved in every multisignature /// spending condition. + /// + /// This method is used to reduce bandwidth requirements when transmitting aggregated + /// signatures to players. pub fn pruned_signatures(&self, player_pubkey: Point) -> Option { if player_pubkey == self.dlc.params.market_maker.pubkey { return Some(self.signatures.clone());