feat: add Lesson 15 prototype flow for CoinJoin#9
Closed
Av1ralS1ngh wants to merge 1 commit intorawBit-io:mainfrom
Closed
feat: add Lesson 15 prototype flow for CoinJoin#9Av1ralS1ngh wants to merge 1 commit intorawBit-io:mainfrom
Av1ralS1ngh wants to merge 1 commit intorawBit-io:mainfrom
Conversation
122cf75 to
545a077
Compare
Owner
|
It is hard to assess if grouping makes sense before the full flow is visible. So I can't give you Go on this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lesson 15: CoinJoin Construction — Prototype Flow
Overview
Implements the prototype canvas layout for Lesson 15, in which two participants (Alice and Bob) collaboratively build a CoinJoin transaction using real P2WPKH UTXOs. The lesson's core insight is that CoinJoin privacy is structural, not computational — ambiguity is a direct consequence of placing equal-value outputs on the canvas, not an abstract property explained after the fact.
The flow follows the same entry pattern as Lesson 8 (SegWit Intro), ensuring continuity for students who have completed prior lessons.
Stage Progress
extract_tx_fieldnodes (8 edges total)concat_allassembly +script_verificationper inputDesign Decisions
Out of Scope (Next Iteration)
Full byte-level transaction construction is deferred, including: byte-order conversions, BIP143 sighash computation (
hash_prevouts,hash_sequence,hash_outputs), BIP143 preimage assembly, scriptCode construction, ECDSA signing (sign_as_bitcoin_core_low_r), witness assembly, final TXconcat_allwiring,script_verificationnodes, and G5compare_equaloutput validation.