From d2df6e65c572a81547562c2aadabb5c0878aa702 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Mon, 6 Nov 2023 09:38:01 +0100 Subject: [PATCH] seals: doc improvements --- seals/src/txout/witness.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/seals/src/txout/witness.rs b/seals/src/txout/witness.rs index cf115bc0..f9c8ceec 100644 --- a/seals/src/txout/witness.rs +++ b/seals/src/txout/witness.rs @@ -27,7 +27,8 @@ use strict_encoding::StrictDumb; use crate::txout::{TxoSeal, VerifyError}; -/// Witness of a seal being closed. +/// Witness of a bitcoin-based seal being closed. Includes both transaction and +/// extra-transaction data. pub struct Witness { /// Witness transaction: transaction which contains commitment to the /// message over which the seal is closed. @@ -36,7 +37,7 @@ pub struct Witness { /// Transaction id of the witness transaction above. pub txid: Txid, - /// Multi-protocol commitment proof from MPC anchor. + /// Deterministic bitcoin commitment proof from the anchor. pub proof: Proof, }