2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-08 01:10:29 +00:00

looprpc: add is_external_addr to loopout req

This commit is contained in:
George Tsagkarelis 2023-09-15 19:50:30 +03:00
parent 23d308c74f
commit 627eb5cb68
No known key found for this signature in database
GPG Key ID: E08DEA9B12B66AF6
3 changed files with 553 additions and 528 deletions

File diff suppressed because it is too large Load Diff

View File

@ -235,6 +235,13 @@ message LoopOutRequest {
The address type of the account specified in the account field.
*/
AddressType account_addr_type = 16;
/*
A flag indicating whether the defined destination address does not belong to
the wallet. This is used to flag whether this loop out swap could have its
associated sweep batched.
*/
bool is_external_addr = 17;
}
/*

View File

@ -1110,6 +1110,10 @@
"account_addr_type": {
"$ref": "#/definitions/looprpcAddressType",
"description": "The address type of the account specified in the account field."
},
"is_external_addr": {
"type": "boolean",
"description": "A flag indicating whether the defined destination address does not belong to\nthe wallet. This is used to flag whether this loop out swap could have its\nassociated sweep batched."
}
}
},