Track a reference to scoring parameters in DirectedChannelLiquidity
authorMatt Corallo <git@bluematt.me>
Mon, 22 Aug 2022 22:40:02 +0000 (22:40 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 6 Oct 2022 21:10:23 +0000 (21:10 +0000)
commitec68f1326d9ad5a4f05ed21a986bc7410f5a06b6
tree0f22f3cddf7fe17149c1b5904053ff7e452be901
parent6852ea974178c60211a37d4558c14678889a2932
Track a reference to scoring parameters in DirectedChannelLiquidity

This simplifies adding additional half lives in
DirectedChannelLiquidity by simply storing a reference to the full
parameter set rather than only the single current half-life.
lightning/src/routing/scoring.rs