From 71e67e6d46fa09961fa7f8f8355c51c517f34e60 Mon Sep 17 00:00:00 2001 From: Dustin Dettmer Date: Fri, 7 Apr 2023 14:18:59 -0400 Subject: [PATCH] Bolt 2: Make interactive-tx explicitly use SIGHASH_ALL This was previously assumed but adding it to the spec makes it explicit, should we ever want to change it in the future. Suggested-By: @morehouse --- 02-peer-protocol.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/02-peer-protocol.md b/02-peer-protocol.md index 0518ff6..b9faa7c 100644 --- a/02-peer-protocol.md +++ b/02-peer-protocol.md @@ -416,6 +416,9 @@ The receiving node: - SHOULD apply the `witnesses` to the transaction and broadcast it - MUST reply with their `tx_signatures` if not already transmitted +Both nodes: + - MUST sign the transaction using SIGHASH_ALL + #### Rationale A strict ordering is used to decide which peer sends `tx_signatures` first.