File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11//! PSET coinjoin example
2- //! 1. Person `A` create a transcation with 1 input and 3 outputs(1 fee output)
3- //! 2. Person `B` takes the transcation from A and adds one input and two outputs
2+ //! 1. Person `A` create a transaction with 1 input and 3 outputs(1 fee output)
3+ //! 2. Person `B` takes the transaction from A and adds one input and two outputs
44//! which transact another confidential asset
55//! 3. Person `B` blinds it's own outputs and gives the pset back to A
66//! 4. B completly blinds the transaction
Original file line number Diff line number Diff line change @@ -531,7 +531,7 @@ pub mod all {
531531 /// pop the first number(8 byte LE) as b followed another pop for a(8 byte LE). Push a >= b.
532532 /// Note that this operation cannot fail
533533 pub const OP_GREATERTHANOREQUAL64 : All = All { code : 0xdf } ;
534- /// pop the stack as minimal CSciptNum , push 8 byte signed LE corresponding to that number.
534+ /// pop the stack as minimal CScriptNum , push 8 byte signed LE corresponding to that number.
535535 pub const OP_SCRIPTNUMTOLE64 : All = All { code : 0xe0 } ;
536536 /// pop the stack as a 8 byte signed LE. Convert to CScriptNum and push it, abort on fail.
537537 /// Please check the range of the operand before calling the opcode.
Original file line number Diff line number Diff line change 33//! <https://github.com/ElementsProject/ELIPs/blob/main/elip-0100.mediawiki>
44//! but excluding contract validation.
55//!
6- //! ELIP0100 defines how to inlcude assets metadata, such as the contract defining the asset and
6+ //! ELIP0100 defines how to include assets metadata, such as the contract defining the asset and
77//! the issuance prevout inside a PSET
88//!
99//! To use check [`PartiallySignedTransaction::add_asset_metadata`] and
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ pub enum Error {
8383 ConsensusEncoding ,
8484 /// Too Large Pset
8585 TooLargePset ,
86- /// Specified a feild in from psbt v0. Disallowed in psbtv2(pset)
86+ /// Specified a field in from psbt v0. Disallowed in psbtv2(pset)
8787 ExpiredPsbtv0Field ,
8888 /// Cannot change pset version
8989 IncorrectPsetVersion ,
Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ impl PartiallySignedTransaction {
553553 // Push the scalar
554554 // BUG in pset
555555 // Bug in Pset, scalars can be the same value, but there is no place
556- // in pset to place them as it would break the uniqueness constriant .
556+ // in pset to place them as it would break the uniqueness constraint .
557557 self . global . scalars . push ( vbf2. into_inner ( ) ) ;
558558 Ok ( ret)
559559 }
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ impl ::std::str::FromStr for OutPoint {
162162/// - Indicating whether absolute lock-time (specified in `lock_time` field of [`Transaction`])
163163/// is enabled.
164164/// - Indicating and encoding [BIP-68] relative lock-times.
165- /// - Indicating whether a transcation opts-in to [BIP-125] replace-by-fee.
165+ /// - Indicating whether a transaction opts-in to [BIP-125] replace-by-fee.
166166///
167167/// Note that transactions spending an output with `OP_CHECKLOCKTIMEVERIFY`MUST NOT use
168168/// `Sequence::MAX` for the corresponding input. [BIP-65]
You can’t perform that action at this time.
0 commit comments