lnrpc: add all_payments opt to DeleteAllPayments
This commit is contained in:
3 files changed
+955
-932
No files matched your search
+944
-932
File diff suppressed because it is too large.
Load diff
@@ -4231,6 +4231,10 @@ message DeleteAllPaymentsRequest {
|
|||||||
Only delete failed HTLCs from payments, not the payment itself.
|
Only delete failed HTLCs from payments, not the payment itself.
|
||||||
*/
|
*/
|
||||||
bool failed_htlcs_only = 2;
|
bool failed_htlcs_only = 2;
|
||||||
|
|
||||||
|
// Delete all payments. NOTE: Using this option requires careful
|
||||||
|
// consideration as it is a destructive operation.
|
||||||
|
bool all_payments = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message DeletePaymentResponse {
|
message DeletePaymentResponse {
|
||||||
|
|||||||
@@ -2268,6 +2268,13 @@
|
|||||||
"in": "query",
|
"in": "query",
|
||||||
"required": false,
|
"required": false,
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "all_payments",
|
||||||
|
"description": "Delete all payments. NOTE: Using this option requires careful\nconsideration as it is a destructive operation.",
|
||||||
|
"in": "query",
|
||||||
|
"required": false,
|
||||||
|
"type": "boolean"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
|
|||||||
Reference in new issue
Block a user