mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-13 12:32:48 +02:00
In this commit, we add the lncli deletefwdhistory command that wraps the DeleteForwardingHistory RPC. The command accepts a time specification in one of two forms: --age=<duration> relative duration, e.g. "-90d", "-1M", "-720h" --before=<unix> absolute Unix timestamp in seconds An interactive confirmation prompt is shown before deletion proceeds, which can be suppressed with --force/-f for unattended automation. The --batch_size flag controls events deleted per database transaction (default 10000, max 50000). The response is printed as JSON, consistent with other lncli commands. |
||
|---|---|---|
| .. | ||
| commands | ||
| lncli | ||
| lnd | ||