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 # Where we keep the BOLT RFCs
BOLTDIR := ../lightning-rfc/ BOLTDIR := ../lightning-rfc/
BOLTVERSION := 01f29bf9feca66476423676365187e2175a3934b BOLTVERSION := dcf6b0f359c230ef140e336011890c96eea576fa
-include config.vars -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: * for which it has committed to an outgoing HTLC:
* - MUST *resolve* the output by spending it, using the * - MUST *resolve* the output by spending it, using the
* HTLC-success transaction. * 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. * - MUST resolve the output of that HTLC-success transaction.
* - otherwise: * - otherwise:
* - if the *remote node* is NOT irrevocably committed to * - 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: * outgoing HTLC:
* - MUST *resolve* the output by spending it, using the HTLC-success * - MUST *resolve* the output by spending it, using the HTLC-success
* transaction. * transaction.
* - MUST NOT reveal its own preimage when it's not the final recipient...
* - MUST resolve the output of that HTLC-success transaction. * - MUST resolve the output of that HTLC-success transaction.
* - otherwise: * - otherwise:
* - if the *remote node* is NOT irrevocably committed to the HTLC: * - if the *remote node* is NOT irrevocably committed to the HTLC: