doc: update BOLT quotes (to include preimage leakage).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2021-02-22 12:28:14 +10:30
parent 93d3b0d126
commit 36bf037ca7
3 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,7 @@ CCANDIR := ccan
# Where we keep the BOLT RFCs
BOLTDIR := ../lightning-rfc/
BOLTVERSION := 01f29bf9feca66476423676365187e2175a3934b
BOLTVERSION := dcf6b0f359c230ef140e336011890c96eea576fa
-include config.vars

View File

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

View File

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