From 9346349235c4da48020c0f692d90e002ab733f2e Mon Sep 17 00:00:00 2001 From: niftynei Date: Mon, 31 Jan 2022 15:13:01 -0600 Subject: [PATCH] fixup: disallow P2SH scripts in outputs P2SH outputs have larger dust requirements than native SegWit (and Taproot) scripts; we disallow the creation of them on funding txs as a they're problematic for relay when allowing dust limits below 546 sats (see #894) Suggested-by: @t-bast --- 02-peer-protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02-peer-protocol.md b/02-peer-protocol.md index 7908684a3..22d787d8a 100644 --- a/02-peer-protocol.md +++ b/02-peer-protocol.md @@ -269,7 +269,7 @@ The sending node: The receiving node: - MUST add the specified output to the transaction - - MUST accept P2SH, P2WSH, P2WPKH, P2PKH, P2TR `script`s + - MUST accept P2WSH, P2WPKH, P2PKH, P2TR `script`s - MAY fail the negotiation if `script` is non-standard - MUST fail the negotiation if: - the `serial_id` is already included in the transaction