mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 15:02:20 +01:00
#[derive(Clone)]
for InFlightHtlcs
This is useful for bindings, and generally isn't a bad thing for users to have access to.
This commit is contained in:
parent
f0c181e2f2
commit
9414830951
1 changed files with 1 additions and 0 deletions
|
@ -181,6 +181,7 @@ impl<'a, S: Score> Score for ScorerAccountingForInFlightHtlcs<'a, S> {
|
|||
|
||||
/// A data structure for tracking in-flight HTLCs. May be used during pathfinding to account for
|
||||
/// in-use channel liquidity.
|
||||
#[derive(Clone)]
|
||||
pub struct InFlightHtlcs(
|
||||
// A map with liquidity value (in msat) keyed by a short channel id and the direction the HTLC
|
||||
// is traveling in. The direction boolean is determined by checking if the HTLC source's public
|
||||
|
|
Loading…
Add table
Reference in a new issue