forked from bitcoin/bips
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BOLT 2: clarify HTLC handling, esp w/ on-chain.
1. We say you can't fail an HTLC until it's removed outgoing; make it clear that this could also be on-chain. 2. Insist that you fail an expired HTLC (we never actually said this!) 3. You MUST fulfill an incoming HTLC for which the output was fulfilled (otherwise you'll lose money), and of course, even if fulfilled on-chain. Add an explanation paragraph to BOLT 5 as well, where it discusses on-chain HTLC output cases (though the requirements about what to do about incoming HTLCs is actually in BOLT 2). [ Extra wording clarification thanks to roasbeef ] Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
b3b7a96
commit 4bcf9dd
Showing
2 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters