Commit Graph

9 Commits

Author SHA1 Message Date
Abdullahi Yunus
3c40233f83 commands: specify multiple outchan ids
In this commit we make it possible to specify outgoing_chan_id
multiple times in the same queryroutes command.
2025-07-15 18:42:43 +01:00
Shivam Chawla
bfe1edf4ec lnrpc: add filters to forwardhistoryrequest
This commit adds incoming and outgoing channel ids filter to forwarding history request to filter events received/forwarded from/to a particular channel
2025-06-11 09:10:13 +05:30
Alex Pilon
baf2e445f4 lncli: Add --route_hints flag support
Adds --route_hints flag to sendpayment.
Hints should be JSON encoded (see usage for example).

Adds --route_hints flag to queryroutes.
Errors if blinded paths are set.
2025-05-24 20:01:45 -04:00
ziggie
729c84bee3 lncli: return more clear error msg for deletepayments 2025-04-18 15:30:39 +02:00
ziggie
3562767b23 lncli: only add additional info to specific cmds.
We only append the chan_id and the human readable scid
for the commands `listchannels` and `closedchannels`. This
ensures that other commands like `buildroute` are not affected
by this change so their output can be piped into other cmds.

For some cmds it is not very practical to replace the json output
because we might pipe it into other commands. For example when
creating the route we want to pipe the result of buildroute into
sendtoRoute.
2025-02-12 23:29:56 +01:00
Slyghtning
85d89a5b41 cmd: fix default timeout for estimateroutefee 2024-11-29 10:20:03 +01:00
Oliver Gugger
870e845a1e cmd/lncli: print new status responses to CLI 2024-11-06 15:30:27 +01:00
Oliver Gugger
c5973aa136 cmd/commands: export StripPrefix 2024-08-23 10:58:13 +02:00
Oliver Gugger
22a3988222 cmd/lncli: move commands and export
We want to export some of our CLI code to re-use in other projects. But
in Golang you cannot import code from a `main` package.
So we need to move the actual code into its own package and only have
the `func main()` in the `main` package.
2024-08-23 10:57:59 +02:00