mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
doc: update BOLT quotes (to include preimage leakage).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user