Commit Graph

588 Commits

Author SHA1 Message Date
Oliver Gugger
464ddb4206 cmd/lncli: fix linter complaint by running make fmt 2023-11-01 11:17:04 -07:00
Jonathan Harvey-Buschel
6a4dabc684 chainrpc+lncli: expose GetBlockHeader + add to CLI 2023-10-31 16:43:15 -07:00
Kilian
6521576f42 lncli: fix description of connect/disconnect peer 2023-10-31 16:20:50 -07:00
Olaoluwa Osuntokun
6dc43ad253 cmd/lncli: add new taproot channel type for openchannel 2023-08-22 16:32:33 -07: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
Slyghtning
f0579cc509 lncli: add flag utxos for openchannel 2023-07-24 13:07:01 +02:00
Torakushi
77d3f00c3b walletrpc+btcwallet: no custom account with various key scopes
Currently, a user can create a custom account with various key scopes.
This is not a desired behaviour.
2023-06-14 09:58:53 +02:00
zx9r
3a5d67a16b cmd/lncli: add confirmation to sendcoins 2023-06-13 11:58:34 +02:00
MG-ng
63b32b9e4a cmd/lncli: add description for payinvoice command 2023-06-13 11:58:34 +02:00
Aljaz Ceru
d3a5307fc0 cmd/lncli: fix inconsistent argument naming in queryRoutes 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
gcaracuel
12e7c24520 lncli: Global flags to accept ENV vars overrides. 2023-05-22 17:13:18 +02:00
shaurya947
373e445cdc lncli: add optional memo flag to openchannel cmd
This commit simply adds a new memo flag to the openchannel command.
Memo could be any note-to-self kind of useful information to go
along with the channel. The value isn't used yet, will be in the
next commit.
2023-05-18 12:51:18 -04:00
Oliver Gugger
f9436ec05d mod+cmd/lncli: use google.golang.org/protobuf package 2023-05-11 22:51:16 +02:00
Carla Kirk-Cohen
ad6ccb415f lncli: fix typo in updatenodeannouncement 2023-05-04 10:42:37 -04:00
Olaoluwa Osuntokun
591ff120b6 Merge pull request #6903 from hieblmi/fundmax-flag
funding: add `fundmax` flag to `OpenChannelRequest`
2023-04-06 10:57:29 -07:00
Olaoluwa Osuntokun
2596a33529 Merge pull request #7575 from lightningnetwork/0-16-1-staging
lnd: merge the 0.16.1 staging branch into master
2023-04-05 16:48:25 -07:00
Slyghtning
b9bded33d1 lncli: fundmax flag for openchannel 2023-04-05 23:09:12 +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
e4a6a0f26f lncli: add testcase for parseTimeLockDelta
Signed-off-by: Eval EXEC <execvy@gmail.com>
2023-03-23 21:34:12 +08:00
Eval EXEC
cbcbddfe29 rpcserver: add time_lock_delta overflow check 2023-03-23 21:34:12 +08:00
bitromortac
a3e46dae9f multi: mark bimodal estimator experimental 2023-03-23 11:12:10 +01:00
Elle Mouton
957df98777 lncli: add new exclude-exhausted-sessions option 2023-03-20 20:14:02 +02:00
Oliver Gugger
1a3be78471 cmd/lncli: add --num_confs to wallet psbt fund command 2023-03-13 12:45:58 +01:00
Olaoluwa Osuntokun
251802d796 Merge pull request #7444 from bitromortac/2302-capacity-config
routing: configurable capacity fraction for apriori probability
2023-03-02 18:39:01 -08:00
Oliver Gugger
04376b3b23 cmd/lncli: add --stateless_init to createwatchonly command 2023-02-27 21:59:45 +01:00
bitromortac
fce88e8b5d lncli+routerrpc: dynamic capacity fraction config
Enable setting and getting of the apriori capacity fraction in lncli and
in the router rpc.
2023-02-24 15:28:55 +01:00
Slyghtning
9d048ecd6a lncli: add flag skip_peer_alias_lookup to listchannels 2023-02-24 10:49:11 +01:00
Oliver Gugger
ccb00741df Merge pull request #7324 from hieblmi/openchannel-fix-line-length
lncli: fix line length issues
2023-02-17 09:30:00 +01:00
Oliver Gugger
93b7821df3 Merge pull request #7408 from carlaKC/bugfix-updatenodeanncli
bugfix/trivial: fix update node announcement feature bit add /remove
2023-02-16 21:40:36 +01:00
Slyghtning
9e8ee618e3 lncli: fix line length issues 2023-02-16 19:41:30 +01:00
Oliver Gugger
38dc67e1ef Merge pull request #6815 from bitromortac/2205-bimodal
pathfinding: probability for bimodal distribution
2023-02-15 14:19:32 +01:00
Carla Kirk-Cohen
3cc8e81121 lncli/bugfix: use int64slice for update node announcement features
As is, we'll never get any add/remove features because the flag is
set as an int 64 slice but accessed as an int slice (which has no
value, and the cli doesn't fail if the flag doesn't exist).
2023-02-14 15:53:56 -05:00
bitromortac
2ccdfb1151 lncli+routerrpc: adapt mc api to dynamic estimator
The active probability estimator can be switched dynamically using the
`Set/GetMissionControl` API, maintaining backward compatibility. The
lncli commands `setmccfg` and `getmccfg` are updated around this
functionality. Note that deprecated configuration parameters were
removed from the commands.
2023-02-14 13:34:25 +01:00
Torakushi
b3cbab4482 lncli: possibility to define an address type for changes in FundPsbt
With this commit, we can define an address type for default/imported
accounts in FundPsbt using '—change_type' flag. The value for this
flag can only be 'p2tr' at the moment. If not specified, we will use
P2WKH addresses for change outputs. Custom accounts don’t support
this flag as they have a unique scope.
2023-02-08 12:35:47 +01:00
ziggie
5edf64f4c5 lncli: add sign/verify message with an address
adds the functionality in the lncli walletkit to sign and verify a
message with a single address. Signing works only with lnd default
wallet account. Verifying signature on messages with external addresses
is also supported.
2023-01-24 09:23:47 +01:00
Oliver Gugger
d960fcd68a multi: remove gomnd disable directives 2023-01-17 19:43:26 +01:00
Elle Mouton
097b4fae68 lncli+docs: skip gomnd check in switch statement 2023-01-16 09:55:07 +02:00
sputn1ck
9f8fa3d8ed lncli: more descriptive htlc failure case
This commit clarifies the htlc failure case in the lncli payment
command, by using the cardinal number as well as 'hop' in the
failure message.

[skip ci]
2023-01-12 17:58:15 +01:00
bruwbird
380eb4af83 lncli: fix addinvoice expiry flag comment 2023-01-12 09:17:12 +09:00
Oliver Gugger
3ffd3b2018 Merge pull request #7176 from b-ryan/fix-bumpfee-doc
Fix bumpfee command doc, incorrect reference to pendingsweeps
2023-01-03 11:22:52 +01:00
bitromortac
2d7fda2a41 routerrpc: mark QueryProbability deprecated
We deprecate `QueryProbability`, as it displays the same information as
`QueryMissionControl` less the probability. `QueryRoutes` still contains
the total probability of a route.
2022-12-12 13:23:31 +01:00
ffranr
bab526f655 cmd: add chain subcommand
Chain subcommand includes the commands: getblock, getbestblock, and getblockhash.

This commit removes conflicting neutrino cli commands.
2022-12-07 14:50:15 +00:00
yyforyongyu
57b7eb7814 cli: update listinvoices and listpayments to use the date filter 2022-12-05 20:04:47 +08:00
Oliver Gugger
e7170ef819 Merge pull request #7135 from st4rgut24/revise-addinvoice-help-text
revise help text for addinvoice lncli command
2022-11-18 18:43:58 +01:00
Buck Ryan
d4eb7f2e66 Fix bumpfee command doc, incorrect reference to pendingsweeps
[skip ci]
2022-11-18 09:51:38 -05:00
Antoni Spaanderman
ed112681f5 lncli: Allow lncli to read binary PSBTs from a file
BIP 174 states that PSBTs can be encoded in 2 formats:
- plain text as base64
- in a file as binary

With this change, lncli will also try to read a PSBT as binary
2022-11-17 12:41:46 +01:00
Anton Kovalenko
2700c97d2b cmd/lncli/walletrpc_active.go: avoid nested getContext [skip ci]
Pass down a context from bumpCloseFee to getWaitingCloseCommitments,
to avoid another call to getContext that used to fail with "intercept
already active"
2022-11-17 12:37:15 +03:00
Tugay Emin
3f2079fa39 lncli: strip prefix from pay_req flag 2022-11-15 18:13:29 +02:00