Skip to content

Commit

Permalink
lndclient: document SendPaymentRequest fields
Browse files Browse the repository at this point in the history
  • Loading branch information
joostjager committed May 19, 2020
1 parent 983ac8b commit f4d2a16
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lndclient/router_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f4d2a16

Please sign in to comment.