lndclient: document SendPaymentRequest fields

pull/205/head
Joost Jager 4 years ago
parent ccec719423
commit 23a1e33dfc
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -64,13 +64,19 @@ type SendPaymentRequest struct {
// are only processed when the Invoice field is empty.
Invoice string
MaxFee btcutil.Amount
// MaxFee is the fee limit for this payment.
MaxFee btcutil.Amount
// MaxCltv is the maximum timelock for this payment. If nil, there is no
// maximum.
MaxCltv *int32
// OutgoingChanIds is a restriction on the set of possible outgoing
// channels. If nil or empty, there is no restriction.
OutgoingChanIds []uint64
// Timeout is the payment loop timeout. After this time, no new payment
// attempts will be started.
Timeout time.Duration
// Target is the node in which the payment should be routed towards.

Loading…
Cancel
Save