1
0
Fork 0
mirror of https://github.com/lightning/bolts.git synced 2025-03-09 15:52:43 +01:00

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
This commit is contained in:
Dustin Dettmer 2023-04-07 14:18:59 -04:00 committed by neil saitug
parent c51ef43fee
commit 71e67e6d46

View file

@ -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.