]> git.bitcoin.ninja Git - rust-lightning/commit
Store a `HistoricalMinMaxBuckets` in `DirectedChannelLiquidity` 2023-07-expose-success-prob
authorMatt Corallo <git@bluematt.me>
Wed, 23 Aug 2023 00:46:18 +0000 (00:46 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 23 Aug 2023 21:15:11 +0000 (21:15 +0000)
commit2bd2637b7e0fe338fa7841ba5473991b0c5150d1
tree4b9f7441402c94ff000fa53f207d00184fc6be6b
parent2a1dff4c1007ba777f446dd0b232cc20b900956b
Store a `HistoricalMinMaxBuckets` in `DirectedChannelLiquidity`

This removes the need to reconstruct the struct in a number of
places by simply creating it up front.
lightning/src/routing/scoring.rs