Skip to content

Commit

Permalink
interactive-tx: highlight MUST of serial_id sorting
Browse files Browse the repository at this point in the history
Suggested-By: @dunxen
  • Loading branch information
niftynei committed Feb 13, 2024
1 parent 2ddddbd commit c51ef43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 02-peer-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ Each node must know the set of the transaction inputs. The *non-initiator*
MAY omit this message.

`serial_id` is a randomly chosen number which uniquely identifies this input.
Inputs in the constructed transaction are sorted by `serial_id`.
Inputs in the constructed transaction MUST be sorted by `serial_id`.

`prevtx` is the serialized transaction that contains the output
this input spends. Used to verify that the input is non-malleable.
Expand Down Expand Up @@ -304,7 +304,7 @@ The receiving node:
Each node must know the set of the transaction outputs.

`serial_id` is a randomly chosen number which uniquely identifies this output.
Outputs in the constructed transaction are sorted by `serial_id`.
Outputs in the constructed transaction MUST be sorted by `serial_id`.

`sats` is the satoshi value of the output.

Expand Down

0 comments on commit c51ef43

Please sign in to comment.