Skip to content

Commit

Permalink
"L1"
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Atack <jon@atack.com>
  • Loading branch information
psztorc and jonatack authored Sep 23, 2024
1 parent f886644 commit 5dc2d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bip-0300.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ Otherwise, the sidechain activates (Active is set to TRUE).

=== Withdrawing in Bundles ===

Sidechain withdrawals take the form of "bundles" -- named because they "bundle up" many individual withdrawal-requests into a single rare layer1 transaction.
Sidechain withdrawals take the form of "bundles" -- named because they "bundle up" many individual withdrawal-requests into a single rare L1 transaction.

On the L2 side, individual withdrawal requests are periodically combined into a single CoinJoin-like withdrawal bundle. This bundle is hashed [https://github.com/LayerTwo-Labs/bip300301_messages/blob/master/src/lib.rs#L374C1-L419C2 in a particular way] (on both L2 and L1) -- this "blinded hash" commits to its own L1 fee, but (notably) it does not commit to its first tx-input (in that way, it is like [https://github.com/bitcoin/bips/blob/master/bip-0118.mediawiki SIGHASH_ANYPREVOUT]).

Expand Down

0 comments on commit 5dc2d59

Please sign in to comment.