]> git.bitcoin.ninja Git - rust-lightning/commit
Make scorer decay + persistence more frequent
authorMatt Corallo <git@bluematt.me>
Wed, 29 Nov 2023 00:31:00 +0000 (00:31 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Dec 2023 23:26:09 +0000 (23:26 +0000)
commit21facd0d175a450e986a83dfbef53c112aa48f84
tree15d7567a628f21db93a86bbeb0ffb6b755db16bf
parent81389dee306d960a8030bec5ffa304004148ce85
Make scorer decay + persistence more frequent

There's some edge cases in our scoring when the information really
should be decayed but hasn't yet been prior to an update. Rather
than try to fix them exactly, we instead decay the scorer a bit
more often, which largely solves them but also gives us a bit more
accurate bounds on our channels, allowing us to reuse channels at
a similar amount to what just failed immediately, but at a
substantial penalty.
lightning-background-processor/src/lib.rs