Add timer_chan_freshness_every_min
authorAntoine Riard <ariard@student.42.fr>
Mon, 18 Nov 2019 05:43:13 +0000 (00:43 -0500)
committerAntoine Riard <ariard@student.42.fr>
Fri, 29 Nov 2019 23:12:40 +0000 (18:12 -0500)
commitd53f48e15722496431dc76e5aff43f4d09bfdb40
tree34c7d20bea5f4dbe53d8f57dedfc4d2de97db73c
parentf564df3892d227425ea6a95ee1843fb9c279ac0a
Add timer_chan_freshness_every_min

Latency/peer disconnection may trigger us to mark as disabled
some of our channels. After some time, if channels are still
disabled we need to broadcast ChannelUpdate to inform other network
peers about the uselessness of these channels.
lightning/src/ln/channelmanager.rs