Skip to content

Commit

Permalink
consensus: mention Segregated Witness scheme in tx byte size comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrisby committed Aug 22, 2024
1 parent 33757cc commit 3661dcc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ class ( Measure (TxMeasure blk)
-- in-block serialisation. Another example is the transaction of the
-- hard-fork combinator which will include an envelope indicating its era
-- when sent across the network. However, when embedded in the respective
-- era's block, there is no need for such envelope.
-- era's block, there is no need for such envelope. An example from upstream
-- is that the Cardano ledger's "Segregated Witness" encoding scheme
-- contributes to the encoding overhead.
--
-- INVARIANT Assuming no hash collisions, the size should be the same in any
-- state in which the transaction is valid.
Expand Down

0 comments on commit 3661dcc

Please sign in to comment.