routing: add cltv limit to payment session

This commit is contained in:
Joost Jager committed 2019-03-19 10:36:51 +01:00
1 parent e3bb3d46a2
commit 06cd64cbbc
3 files changed
+75

No files matched your search

+4
View File
@@ -1523,6 +1523,10 @@ type LightningPayment struct {
// if there isn't a route with lower fees than this limit.
FeeLimit lnwire.MilliSatoshi
// CltvLimit is the maximum time lock that is allowed for attempts to
// complete this payment.
CltvLimit *uint32
// PaymentHash is the r-hash value to use within the HTLC extended to
// the first hop.
PaymentHash [32]byte