mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
lnrpc: add all_payments
opt to DeleteAllPayments
This commit is contained in:
parent
acc595195c
commit
4f48cc69fb
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.
|
||||
*/
|
||||
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 {
|
||||
|
@ -2268,6 +2268,13 @@
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"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": [
|
||||
|
Loading…
Reference in New Issue
Block a user