mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
looprpc: add payment_timeout to the LoopOutRequest
This commit is contained in:
parent
f26a00dd98
commit
461ceeeb28
3 changed files with 611 additions and 586 deletions
1185
looprpc/client.pb.go
1185
looprpc/client.pb.go
File diff suppressed because it is too large
Load diff
|
|
@ -278,6 +278,13 @@ message LoopOutRequest {
|
|||
be equal to the sum of the amounts of the reservations.
|
||||
*/
|
||||
repeated bytes reservation_ids = 18;
|
||||
|
||||
/*
|
||||
The timeout in seconds to use for off-chain payments. Note that the swap
|
||||
payment is attempted multiple times where each attempt will set this value
|
||||
as the timeout for the payment.
|
||||
*/
|
||||
uint32 payment_timeout = 19;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1268,6 +1268,11 @@
|
|||
"format": "byte"
|
||||
},
|
||||
"description": "The reservations to use for the swap. If this field is set, loop will try\nto use the instant out flow using the given reservations. If the\nreservations are not sufficient, the swap will fail. The swap amount must\nbe equal to the sum of the amounts of the reservations."
|
||||
},
|
||||
"payment_timeout": {
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "The timeout in seconds to use for off-chain payments. Note that the swap\npayment is attempted multiple times where each attempt will set this value\nas the timeout for the payment."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue