mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
looprpc: fast flag for QuoteRequest and StaticAddressLoopInRequest
This commit is contained in:
parent
d346cb364d
commit
8464e4c687
3 changed files with 879 additions and 832 deletions
1687
looprpc/client.pb.go
1687
looprpc/client.pb.go
File diff suppressed because it is too large
Load diff
|
|
@ -845,6 +845,13 @@ message QuoteRequest {
|
|||
This option only pertains to loop in swaps.
|
||||
*/
|
||||
bool auto_select_deposits = 10;
|
||||
|
||||
/*
|
||||
If set to true the server will immediately publish the swap in exchange for
|
||||
a higher fee. This can be useful if the client expects change from a swap.
|
||||
Note that this feature is only available for static address loop in swaps.
|
||||
*/
|
||||
bool fast = 11;
|
||||
}
|
||||
|
||||
message InQuoteResponse {
|
||||
|
|
@ -2116,6 +2123,9 @@ message StaticAddressLoopInRequest {
|
|||
canceled to allow the user to safe on transaction fees.
|
||||
*/
|
||||
int64 amount = 9;
|
||||
|
||||
// If set, request the server to use fast publication behavior.
|
||||
bool fast = 10;
|
||||
}
|
||||
|
||||
message StaticAddressLoopInResponse {
|
||||
|
|
|
|||
|
|
@ -304,6 +304,13 @@
|
|||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "fast",
|
||||
"description": "If set to true the server will immediately publish the swap in exchange for\na higher fee. This can be useful if the client expects change from a swap.\nNote that this feature is only available for static address loop in swaps.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
|
|
@ -504,6 +511,13 @@
|
|||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "fast",
|
||||
"description": "If set to true the server will immediately publish the swap in exchange for\na higher fee. This can be useful if the client expects change from a swap.\nNote that this feature is only available for static address loop in swaps.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue