2022-09-19 02:52:58 +02:00
|
|
|
lightning-delforward -- Command for removing a forwarding entry
|
|
|
|
===============================================================
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
2022-11-11 02:44:56 +01:00
|
|
|
**delforward** *in\_channel* *in\_htlc\_id* *status*
|
2022-09-19 02:52:58 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
|
|
|
The **delforward** RPC command removes a single forward from **listforwards**,
|
2022-11-11 02:44:56 +01:00
|
|
|
using the uniquely-identifying *in\_channel* and *in\_htlc\_id* (and, as a sanity
|
2022-09-19 02:52:58 +02:00
|
|
|
check, the *status*) given by that command.
|
|
|
|
|
|
|
|
This command is mainly used by the *autoclean* plugin (see lightningd-config(7)),
|
|
|
|
As these database entries are only kept for your own analysis, removing them
|
|
|
|
has no effect on the running of your node.
|
|
|
|
|
|
|
|
You cannot delete forwards which have status *offered* (i.e. are
|
|
|
|
currently active).
|
|
|
|
|
2022-11-11 02:44:56 +01:00
|
|
|
Note: for **listforwards** entries without an *in\_htlc\_id* entry (no
|
2022-09-27 01:43:36 +02:00
|
|
|
longer created in v22.11, but can exist from older versions), a value
|
|
|
|
of 18446744073709551615 can be used, but then it will delete *all*
|
2022-11-11 02:44:56 +01:00
|
|
|
entries without *in\_htlc\_id* for this *in\_channel* and *status*.
|
2022-09-27 01:43:36 +02:00
|
|
|
|
2022-09-19 02:52:58 +02:00
|
|
|
RETURN VALUE
|
|
|
|
------------
|
|
|
|
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
|
|
|
On success, an empty object is returned.
|
|
|
|
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
|
|
|
|
|
|
|
ERRORS
|
|
|
|
------
|
|
|
|
|
|
|
|
The following errors may be reported:
|
|
|
|
|
|
|
|
- 1401: The forward specified does not exist.
|
|
|
|
|
|
|
|
AUTHOR
|
|
|
|
------
|
|
|
|
|
|
|
|
Rusty Russell <<rusty@rustcorp.com.au>> is mainly responsible.
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
|
|
|
|
lightning-autoclean(7)
|
|
|
|
|
|
|
|
RESOURCES
|
|
|
|
---------
|
|
|
|
|
|
|
|
Main web site: <https://github.com/ElementsProject/lightning>
|
|
|
|
|
2023-01-10 00:51:01 +01:00
|
|
|
[comment]: # ( SHA256STAMP:a2b84b83e10b81fd82a2bed20874f707de6002c076a4276d4f6ff30772ad3e88)
|