mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
looprpc: deposit outpoints for QuoteRequest
This commit adds static address deposit outpoints to the QuoteRequest message. It allows to quote for loop in swaps with the total value of specified deposits.
This commit is contained in:
parent
8595c4ac6e
commit
549c33e08e
3 changed files with 612 additions and 569 deletions
1152
looprpc/client.pb.go
1152
looprpc/client.pb.go
File diff suppressed because it is too large
Load diff
|
|
@ -766,6 +766,13 @@ message QuoteRequest {
|
|||
probing and payment.
|
||||
*/
|
||||
bool private = 7;
|
||||
|
||||
/*
|
||||
Static address deposit outpoints that will be quoted for. This option only
|
||||
pertains to loop in swaps. Either this or the amt parameter can be set at
|
||||
the same time.
|
||||
*/
|
||||
repeated string deposit_outpoints = 8;
|
||||
}
|
||||
|
||||
message InQuoteResponse {
|
||||
|
|
|
|||
|
|
@ -254,6 +254,17 @@
|
|||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "deposit_outpoints",
|
||||
"description": "Static address deposit outpoints that will be quoted for. This option only\npertains to loop in swaps. Either this or the amt parameter can be set at\nthe same time.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"collectionFormat": "multi"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
|
|
@ -404,6 +415,17 @@
|
|||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "deposit_outpoints",
|
||||
"description": "Static address deposit outpoints that will be quoted for. This option only\npertains to loop in swaps. Either this or the amt parameter can be set at\nthe same time.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"collectionFormat": "multi"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue