mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
doc: update BOLT quotes (to include links for anchor outputs).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
1a859ff583
commit
45ce7380af
2
Makefile
2
Makefile
@ -24,7 +24,7 @@ CCANDIR := ccan
|
||||
|
||||
# Where we keep the BOLT RFCs
|
||||
BOLTDIR := ../lightning-rfc/
|
||||
BOLTVERSION := 920e51986d654b78d1ec2afc18152c9986f52a9d
|
||||
BOLTVERSION := b80f8a719406b70f67e4cf7d034e8cd331850173
|
||||
|
||||
-include config.vars
|
||||
|
||||
|
@ -302,9 +302,9 @@ struct bitcoin_tx *commit_tx(const tal_t *ctx,
|
||||
*
|
||||
* 8. If `option_anchor_outputs` applies to the commitment transaction:
|
||||
* * if `to_local` exists or there are untrimmed HTLCs, add a
|
||||
* `to_local_anchor` output
|
||||
* [`to_local_anchor` output]...
|
||||
* * if `to_remote` exists or there are untrimmed HTLCs, add a
|
||||
* `to_remote_anchor` output
|
||||
* [`to_remote_anchor` output]
|
||||
*/
|
||||
if (option_anchor_outputs) {
|
||||
if (to_local || untrimmed != 0) {
|
||||
|
@ -258,9 +258,9 @@ struct bitcoin_tx *initial_commit_tx(const tal_t *ctx,
|
||||
/* BOLT #3:
|
||||
* 8. If `option_anchor_outputs` applies to the commitment transaction:
|
||||
* * if `to_local` exists or there are untrimmed HTLCs, add a
|
||||
* `to_local_anchor` output
|
||||
* [`to_local_anchor` output]...
|
||||
* * if `to_remote` exists or there are untrimmed HTLCs, add a
|
||||
* `to_remote_anchor` output
|
||||
* [`to_remote_anchor` output]
|
||||
*/
|
||||
if (option_anchor_outputs) {
|
||||
if (to_local || untrimmed != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user