mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-26 15:42:52 +01:00
Scoring buckets are stored as fixed point ints, with a 5-bit fractional part (i.e. a value of 1.0 is stored as "32"). Now that we also have 32 buckets, this leads to the codebase having many references to 32 which could reasonably be confused for each other. Thus, we add a constant here for the value 1.0 in our fixed-point scheme. |
||
---|---|---|
.. | ||
gossip.rs | ||
mod.rs | ||
router.rs | ||
scoring.rs | ||
test_utils.rs | ||
utxo.rs |