Skip to content

Commit

Permalink
doc: update BOLT quotes (to include preimage leakage).
Browse files Browse the repository at this point in the history
Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Feb 25, 2021
1 parent 93d3b0d commit 36bf037
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CCANDIR := ccan

# Where we keep the BOLT RFCs
BOLTDIR := ../lightning-rfc/
BOLTVERSION := 01f29bf9feca66476423676365187e2175a3934b
BOLTVERSION := dcf6b0f359c230ef140e336011890c96eea576fa

-include config.vars

Expand Down
1 change: 1 addition & 0 deletions lightningd/onchain_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ static void onchaind_tell_fulfill(struct channel *channel)
* for which it has committed to an outgoing HTLC:
* - MUST *resolve* the output by spending it, using the
* HTLC-success transaction.
* - MUST NOT reveal its own preimage when it's not the final recipient...
* - MUST resolve the output of that HTLC-success transaction.
* - otherwise:
* - if the *remote node* is NOT irrevocably committed to
Expand Down
1 change: 1 addition & 0 deletions onchaind/onchaind.c
Original file line number Diff line number Diff line change
Expand Up @@ -2009,6 +2009,7 @@ static void tx_new_depth(struct tracked_output **outs,
* outgoing HTLC:
* - MUST *resolve* the output by spending it, using the HTLC-success
* transaction.
* - MUST NOT reveal its own preimage when it's not the final recipient...
* - MUST resolve the output of that HTLC-success transaction.
* - otherwise:
* - if the *remote node* is NOT irrevocably committed to the HTLC:
Expand Down

0 comments on commit 36bf037

Please sign in to comment.