mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
gossip: Added --channel-update-interval argument
We'll pass this down to gossip and make sure to re-announce/update channels every so often. This is also used as a pruning timer, i.e., channels that have not been updated in 2 x channel-update-interval will be pruned from the local view. Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
ad9bdd7844
commit
0419688b0c
@@ -68,6 +68,9 @@ struct config {
|
||||
|
||||
/* Disable automatic reconnects */
|
||||
bool no_reconnect;
|
||||
|
||||
/* Channel update interval */
|
||||
u32 channel_update_interval;
|
||||
};
|
||||
|
||||
struct lightningd {
|
||||
|
||||
Reference in New Issue
Block a user