mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 20:09:18 +01:00
doc: upgrade to BOLTs 2ecc091f3484f7a3450e7f5543ae851edd1e0761
I disagree with this change, so I've commented and added a FIXME. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
5b7f14a7cb
commit
b208c0d8dd
4 changed files with 6 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -23,7 +23,7 @@ CCANDIR := ccan
|
|||
|
||||
# Where we keep the BOLT RFCs
|
||||
BOLTDIR := ../bolts/
|
||||
DEFAULT_BOLTVERSION := bc86304b4b0af5fd5ce9d24f74e2ebbceb7e2730
|
||||
DEFAULT_BOLTVERSION := 2ecc091f3484f7a3450e7f5543ae851edd1e0761
|
||||
# Can be overridden on cmdline.
|
||||
BOLTVERSION := $(DEFAULT_BOLTVERSION)
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
/* BOLT #7:
|
||||
*
|
||||
* A node:
|
||||
* - if a channel's oldest `channel_update`s `timestamp` is older than two weeks
|
||||
* - if a channel's latest `channel_update`s `timestamp` is older than two weeks
|
||||
* (1209600 seconds):
|
||||
* - MAY prune the channel.
|
||||
* - MAY ignore the channel.
|
||||
|
|
|
@ -606,7 +606,7 @@ handled:
|
|||
/* BOLT #7:
|
||||
*
|
||||
* A node:
|
||||
* - if a channel's oldest `channel_update`s `timestamp` is older than two weeks
|
||||
* - if a channel's latest `channel_update`s `timestamp` is older than two weeks
|
||||
* (1209600 seconds):
|
||||
* - MAY prune the channel.
|
||||
* - MAY ignore the channel.
|
||||
|
|
|
@ -1926,10 +1926,12 @@ void route_prune(struct routing_state *rstate)
|
|||
continue;
|
||||
|
||||
/* BOLT #7:
|
||||
* - if a channel's oldest `channel_update`s `timestamp` is
|
||||
* - if a channel's latest `channel_update`s `timestamp` is
|
||||
* older than two weeks (1209600 seconds):
|
||||
* - MAY prune the channel.
|
||||
*/
|
||||
/* FIXME: I disagree with the above quote: it used to say "oldest", which is what we
|
||||
use here: */
|
||||
/* This is a fancy way of saying "both ends must refresh!" */
|
||||
if (!is_halfchan_defined(&chan->half[0])
|
||||
|| chan->half[0].bcast.timestamp < highwater
|
||||
|
|
Loading…
Add table
Reference in a new issue