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:
parent
c51ef43fee
commit
71e67e6d46
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue