Commit Graph

320 Commits

Author SHA1 Message Date
Slyghtning
b66e361afa
lncli: fix typo in inbound fee help text 2024-06-19 07:33:32 +02:00
Slyghtning
9f83f48d78
lncli: channel point for getchaninfo 2024-06-06 14:15:44 +02:00
feelancer21
f62c00fe34
multi: Inbound fees are retained when not provided
Fixes the problem that inbound base fee and fee rate are overwritten
with 0 if they are not specified in PolicyUpdateRequest. This ensures
backward compatibility with older rpc clients that do not yet support
the inbound feature.
2024-05-22 20:48:42 +02:00
erik
ab83343c87 multi: repleace ioutil.ReadFile 2024-04-25 11:22:43 +02:00
Oliver Gugger
73fd389e9a
Merge pull request #8627 from feelancer21/inbound-fees-reject
lnrpc: rejects positive inbound fees by default
2024-04-22 01:56:02 -06:00
feelancer21
a2319e4313 lnrpc: rejects positive inbound fees by default
Positive inbound are now rejected by default. The user can enable positive
inbound fees with the option 'accept-positive-inbound-fees'.
2024-04-20 00:11:36 +02:00
Oliver Gugger
648fb22f63
multi: wrap all errors 2024-04-11 15:04:03 +02:00
Mohamed Awnallah
a0b0e7aa62
lncli: add coin selection strategy option to on-chain rpc commands
In this commit we add coin selection strategy option to the
following on-chain rpc commands `fundpsbt`, `fundtemplatepsbt`,
`batchopenchannel`, `estimatefee`, `sendcoins`, and `sendmany`.
2024-04-01 19:08:19 +02:00
Joost Jager
763787e08c routing+lnrpc: add inbound fee policy update 2024-03-31 16:49:19 +02:00
Mohamed Awnallah
158b802f49
lncli+makefile: generate man pages automatically for lncli and lnd 2024-03-13 21:18:23 +02:00
Oliver Gugger
92ae54d7ae
cmd/lncli: add confirmation promt to closeallchannels
To make sure users don't accidentally close all channels, we ask before
running this potentially very destructive command.
2024-03-07 09:12:12 +01:00
ffranr
cd566eb097
multi: fix fmt.Errorf error wrapping
Refactor fmt.Errorf usage to correctly wrap errors instead of using
non-wrapping format verbs.
2024-02-27 11:13:40 +00:00
Jesse de Wit
ef3aa84c10
lncli: add include_raw_tx flag to pendingchannels 2024-01-29 14:16:51 +01:00
Keagan McClelland
804dabb4ea lnd: make closechannel send an instant empty update when no_wait set
We do things this way to keep behavior consistent across REST, gRPC
and CLI consistent. This was done to not alter the way we handle
Recv calls from the streams.
2024-01-23 12:25:01 -08:00
Yong
1bc1295fc0
Merge pull request #8350 from ziggie1984/rename-bumpclosefee
Minor improvements in the lncli api regarding channel closures.
2024-01-17 00:41:29 +08:00
ziggie
1bdc7ce165
lncli: add max_fee_rate to closechannel cmd. 2024-01-09 01:19:10 +01:00
Manisha
034bb5b51e Wrong documentation on lncli
Signed-off-by: Manisha <manisha2133@gmail.com>
2024-01-03 21:57:25 +05:30
ErikEk
f0bc6d804c rpc: add gettransaction endpoint to walletrpc sub-server 2023-12-10 22:14:12 +01:00
Marcos
7445782db6
lncli: show balance for sweepall 2023-12-04 10:46:54 +01:00
Keagan McClelland
dae80f5db7 lnrpc: add top level command doc tags to enable lncli api doc generation 2023-11-20 14:44:30 -07:00
Oliver Gugger
7ef11e8ae4
cmd/lncli: fix linter complaint by running make fmt 2023-10-05 22:47:02 +02:00
Kilian
682827c7af
lncli: fix description of connect/disconnect peer 2023-10-05 18:13:32 +02:00
Slyghtning
ab117a0ed4
typos: fix updatechanpolicy typos 2023-08-11 17:04:36 +02:00
Slyghtning
2c3420679d
lncli: add account to WalletBalance command 2023-07-28 22:24:55 +02:00
zx9r
3a5d67a16b
cmd/lncli: add confirmation to sendcoins 2023-06-13 11:58:34 +02:00
gabbyprecious
4ea24c0820
cmd/lncli: add unused flag to newAddr command 2023-06-13 11:58:33 +02:00
Oliver Gugger
f9436ec05d
mod+cmd/lncli: use google.golang.org/protobuf package 2023-05-11 22:51:16 +02:00
ardevd
ddc4bc6b32 lncli: backup/verify/restore single channel from file
author ardevd <edvard.holst@gmail.com> 1676983861 +0100
committer ardevd <ardevd@users.noreply.github.com> 1677705118 +0100

Write to the specified file if the user specifies a chan_point for
backup and also specifies an output file to write the backup to.

Fixes #7436
2023-03-25 15:30:38 +01:00
Eval EXEC
cbcbddfe29
rpcserver: add time_lock_delta overflow check 2023-03-23 21:34:12 +08:00
Slyghtning
9d048ecd6a lncli: add flag skip_peer_alias_lookup to listchannels 2023-02-24 10:49:11 +01:00
Elle Mouton
bd857ee298
cmd/lncli: use bitsize of 64 to read output index
In the lnrpc proto, we use either int64 or uint32 for output index. So
to keep things consistent, we should use a bitsize of 64 when reading an
output index from a string. Otherwise, we fail could fail to parse an
index that is valid based on the types we define in the protos.
2022-08-15 15:29:21 +02:00
eugene
aa576adecc
rpc+cli: add general ListAliases function to dump all aliases 2022-08-09 14:11:08 -04:00
Symphonic3
40790e1f6a
Fix typo in abandonchannel description
i_know_what_im_doing --> i_know_what_i_am_doing
2022-07-15 19:31:08 -06:00
Slyghtning
2f5192012e lncli: chan_point option for abandonchannel [skip ci] 2022-07-13 10:20:55 -04:00
Peter Todd
eef2f1caf7
Add p2tr to supported address help message 2022-06-11 00:53:36 -04:00
Oliver Gugger
e13e5f874f
cmd/lncli: fix linter issues after contributor PR [skip ci] 2022-04-11 18:02:42 +02:00
Oliver Gugger
65dc3ef8a6
Merge pull request #6349 from gabbyprecious/unlock-error-message#2529
change changepassword and unlock error message
2022-04-11 17:05:33 +02:00
gabbyprecious
a0b7680424 cmd/lncli: changepassworderror message [skip ci] 2022-04-01 15:52:59 +02:00
Oliver Gugger
c73cf03a55
multi: add p2tr keyspend wallet support 2022-03-24 18:02:38 +01:00
ErikEk
ef1eff1058 lnrpc: fix the existing routing fee inaccuracy
When updating the channel routing policy, we encounter an inaccurate
precision error when calculating the routing fee. The issue stems from
the way the IEEE 754 standard works.

The solution here is to add a uint64 parameter (as mentioned in the
issue) and keep the float64 fee_rate parameter but rounding the product
of the base and fee rate.
2022-01-25 15:42:57 -08:00
mads krogh
807bc0628c lncli: add chan_point flag to closechannel command 2022-01-13 14:35:00 +01:00
Torkel Rogstad
55617f153f lncli: add fish-completion
This is a new, hidden command that generates completions for Fish shell.
This can be piped into `source` or saved in a file to activate (almost)
perfect tab completion.
2021-12-13 11:07:49 +01:00
Torkel Rogstad
c64e9c5286 Bump urfave/cli version
urfave/cli added functionality for generating Fish shell tab-completions
a few releases ago. We bump the dependency version to get access to
this functionality.
2021-12-13 11:07:49 +01:00
Torkel Rogstad
4d96f31f59 lncli: take chan_id as uint64 in getchaninfo
When taking in chan_id as a int64, there are some channels that cannot
be givn to lncli because they are out of range for an int64.
2021-10-07 14:57:32 +02:00
Oliver Gugger
da418ef46b
cmd/lncli: move all payment related cmds to single file
With this commit we move all commands that can be found within the
"Payments" category into its own file called cmd_payments.go. The only
exception are the Mission Control related commands which we are going to
move to their own category and file in the next commit.
2021-09-23 16:59:40 +02:00
ErikEk
46e9481e6c routing: invalid channels updatechanpolicy call 2021-09-15 10:20:49 +02:00
Stevie Zollo
00f7534e06
docs: fix inconsistent naming of channel.backup [skip ci] 2021-08-12 00:26:53 +02:00
ErikEk
c8fc9b0a85 trivial: missing dots 2021-08-01 02:35:14 +02:00
Oliver Gugger
3b712bf722
lncli: add i_know_what_i_am_doing flag to abandonchannel 2021-05-26 22:51:41 +02:00
Wilmer Paulino
c7bed34bca
lncli: add account flag to wallet related commands 2021-04-05 15:41:08 -07:00