]> git.bitcoin.ninja Git - rust-lightning/commit
Correct approximate log-times-2048 tables for small values 2023-10-log-fix
authorMatt Corallo <git@bluematt.me>
Wed, 1 Nov 2023 01:11:42 +0000 (01:11 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 1 Nov 2023 01:14:59 +0000 (01:14 +0000)
commit00d740e3cbb12d33a65a5689f9c310841f32e0a3
tree05827e869276c57e0fc032a2a1bfb2c497a3446f
parentb6f3d0a5fa6cf6036d317d3ff47e5252be47bc40
Correct approximate log-times-2048 tables for small values

The table generation didn't exactly match the lookup logic, causing
values below 2^6 to not always line up correctly.
lightning/src/routing/scoring.rs