routing: use absolute final expiry in pathfinding

This commit is contained in:
Joost Jager committed 2019-12-20 11:00:00 +01:00
1 parent e546a2c42b
commit 72a6383975
7 files changed
+48 -37

No files matched your search

+4 -3
View File
@@ -24,9 +24,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
// incomingCltv is the expected absolute expiry height for the incoming
// htlc of this node. This value should already include the final cltv
// delta.
incomingCltv int32
// probability is the probability that from this node onward the route
// is successful.