mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 06:32:18 +02:00
routing: enforce cltv limit in path finding
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user