Reject channel_update messages with timestamps too old or new
authorMatt Corallo <git@bluematt.me>
Tue, 14 Dec 2021 01:33:37 +0000 (01:33 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 16 Dec 2021 18:33:24 +0000 (18:33 +0000)
commitcd43ff4a5ed47cf67a3c553007b36de3e38b476b
treefc312954b0a96d03aeef1cc17b8443ebd63ea355
parent4677e14c007a5453613afc20b088cbe938251226
Reject channel_update messages with timestamps too old or new

Because we time out channel info that is older than two weeks now,
we should also reject new channel info that is older than two
weeks, in addition to rejecting future channel info.
lightning/src/routing/network_graph.rs