mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-05 12:39:54 +02: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.
|
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": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user