projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
f00bc4d
)
Merge pull request #1934 from TheBlueMatt/2022-12-113-bindings-upstream
author
Matt Corallo
<649246+TheBlueMatt@users.noreply.github.com>
Tue, 3 Jan 2023 17:06:37 +0000
(17:06 +0000)
committer
GitHub
<noreply@github.com>
Tue, 3 Jan 2023 17:06:37 +0000
(17:06 +0000)
Trivial Bindings Updates
lightning/src/routing/router.rs
patch
|
blob
|
history
diff --git
a/lightning/src/routing/router.rs
b/lightning/src/routing/router.rs
index 4b5ff2f0a7588b41aa42262184eaa91af9c6c607..6fc3d4afa7b2c6a2eccf28c93368487a92897791 100644
(file)
--- a/
lightning/src/routing/router.rs
+++ b/
lightning/src/routing/router.rs
@@
-181,6
+181,7
@@
impl<S: Score> Score for ScorerAccountingForInFlightHtlcs<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