From c51ef43fee2a4e757d2045c05372ec0ccb8523d8 Mon Sep 17 00:00:00 2001 From: niftynei Date: Thu, 9 Nov 2023 22:09:44 -0600 Subject: [PATCH] interactive-tx: highlight MUST of serial_id sorting Suggested-By: @dunxen --- 02-peer-protocol.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/02-peer-protocol.md b/02-peer-protocol.md index a7efe4494..0518ff624 100644 --- a/02-peer-protocol.md +++ b/02-peer-protocol.md @@ -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. @@ -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.