looprpc: add is_external_addr to loopout req

pull/634/head
George Tsagkarelis 8 months ago
parent 23d308c74f
commit 627eb5cb68
No known key found for this signature in database
GPG Key ID: E08DEA9B12B66AF6

File diff suppressed because it is too large Load Diff

@ -235,6 +235,13 @@ message LoopOutRequest {
The address type of the account specified in the account field. The address type of the account specified in the account field.
*/ */
AddressType account_addr_type = 16; 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;
} }
/* /*

@ -1110,6 +1110,10 @@
"account_addr_type": { "account_addr_type": {
"$ref": "#/definitions/looprpcAddressType", "$ref": "#/definitions/looprpcAddressType",
"description": "The address type of the account specified in the account field." "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."
} }
} }
}, },

Loading…
Cancel
Save