rust-lightning/lightning/src/routing
Jeffrey Czyz bfd1a57434
Guard against division by zero in scorer
Since a node may announce that the htlc_maximum_msat of a channel is
zero, adding one to the denominator in the bucket formulas will prevent
the panic from ever happening. While the routing algorithm may never
select such a channel to score, this precaution may still be useful in
case the algorithm changes or if the scorer is used with a different
routing algorithm.
2023-03-03 16:25:57 -06:00
..
gossip.rs Merge pull request #2043 from valentinewallace/2023-02-initial-send-path-fails 2023-02-27 18:10:27 +00:00
mod.rs Move chain::Access to routing and rename it UtxoLookup 2023-02-08 23:54:00 +00:00
router.rs Remove the final_cltv_expiry_delta in RouteParameters entirely 2023-02-27 22:33:21 +00:00
scoring.rs Guard against division by zero in scorer 2023-03-03 16:25:57 -06:00
test_utils.rs Remove genesis block hash from public API 2023-02-24 00:22:58 +00:00
utxo.rs Disallow taking two instances of the same mutex at the same time 2023-02-28 01:06:35 +00:00