mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-16 13:00:37 +02:00
lndclient: document SendPaymentRequest fields
This commit is contained in:
parent
ccec719423
commit
23a1e33dfc
1 changed files with 7 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue