lnd/cmd
ziggie 7d90b8e755
cmd: add deletefwdhistory CLI command
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.
2026-03-30 17:39:46 +02:00
..
commands cmd: add deletefwdhistory CLI command 2026-03-30 17:39:46 +02:00
lncli cmd/lncli: move commands and export 2024-08-23 10:57:59 +02:00
lnd multi: extract wallet initialization 2021-10-08 12:13:15 +02:00