lnrpc: add failed_payments_only and failed_htlcs_only option to DeleteAllPayments

This commit is contained in:
Johan T. Halseth committed 2021-02-22 12:50:24 +01:00
1 parent 82fe6f5f59
commit 0ef2ca06c1
4 files changed
+285 -224

No files matched your search

+18
View File
@@ -1630,6 +1630,24 @@
}
}
},
"parameters": [
{
"name": "failed_payments_only",
"description": "Only delete failed payments.",
"in": "query",
"required": false,
"type": "boolean",
"format": "boolean"
},
{
"name": "failed_htlcs_only",
"description": "Only delete failed HTLCs from payments, not the payment itself.",
"in": "query",
"required": false,
"type": "boolean",
"format": "boolean"
}
],
"tags": [
"Lightning"
]