]> git.bitcoin.ninja Git - rust-lightning/commit
Track the last time we received new information about a channel
authorMatt Corallo <git@bluematt.me>
Sat, 23 Nov 2024 20:48:34 +0000 (20:48 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 23 Nov 2024 21:02:20 +0000 (21:02 +0000)
commit983f3c5f4b6797ec99b65e2ebc06c1e51d56c41c
treeda2e91f00d82a28abae51672d7af46060148ef1e
parent18c0b5d4f28fd931060af78ef7936ac8f7436190
Track the last time we received new information about a channel

In the next commit we'll enable users to assign a penalty to
channels which we don't have any recent information for to better
enable probing diversity. In order to do so, we need to actually
track the last time we received new information for a channel,
which we do here.
lightning/src/routing/scoring.rs