routing: enforce cltv limit in path finding

This commit is contained in:
Joost Jager committed 2019-03-19 10:36:45 +01:00
1 parent c5961d4904
commit 6006549ed5
3 files changed
+127

No files matched your search

+4
View File
@@ -21,6 +21,10 @@ type nodeWithDist struct {
// amount that includes also the fees for subsequent hops.
amountToReceive lnwire.MilliSatoshi
// incomingCltv is the expected cltv value for the incoming htlc of this
// node. This value does not include the final cltv.
incomingCltv uint32
// fee is the fee that this node is charging for forwarding.
fee lnwire.MilliSatoshi
}