Commit graph

690 commits

Author SHA1 Message Date
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
alpeb-btc
eefe1c816e
lnrpc+cmd: clarify docs about addinvoice no-amount hop hints
Add additional comment to `lnclic addinvoice`'s `--private` flag warning
about including a large number of private channel hints when using zero
ammounts.

Also added a comment to the `private` field in the `Invoice` proto
message.
2022-11-12 05:01:10 -05:00
st4rgut24
8d6d1564c0 cli: revise help text for addinvoice lncli command [skip ci] 2022-11-11 14:31:04 -08:00
Slyghtning
46b8de35ac lnrpc+lncli: rename skip_peer_alias_lookup to reflect opt-in behavior 2022-10-27 07:11:19 -04:00
Slyghtning
2db62c18a1 lncli: add flag skip_peer_alias_lookup to fwdinghistory
A new flag skip_peer_alias_lookup is introduced that communicates to the
server if the peer alias lookup per forwarding event should be skipped
in order to improve performance.
2022-10-18 11:08:03 -04:00
Oliver Gugger
d2d3cf3408
Merge pull request #6956 from ellemouton/configureChanReserve
multi: configurable remote chan reserve
2022-10-13 15:39:40 +02:00
Roei Erez
c2ad6444a7
lncli: add remote reserve flag to openchannel 2022-10-07 14:57:05 +02:00
Oliver Gugger
828ce07ca5
cmd/lncli: add p2tr address type to account import 2022-10-03 13:22:32 +02:00
Slyghtning
2a90b2439a lncli: channel fee parameter for openchannel 2022-09-29 08:21:09 -04:00
Elle Mouton
96021fe85b
cmd+docs: fix cap out of range error in profile command
If `lncli profile remove` is called when there are no existing profiles,
it will cause a "cap out of range" panic. So in this commit, a length
check is added to avoid this.
2022-08-31 15:34:39 +02:00
Joost Jager
fe8a1f2f36
lncli: fix sendpayment arg parsing 2022-08-25 13:24:19 +02:00
yyforyongyu
0735522194
multi: fix make fmt 2022-08-23 22:10:24 +08:00
priyanshiiit
2f20012af6 lncli: adds list addresses cli command 2022-08-18 08:09:16 +05:30
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
Elle Mouton
027e4cdf11
cmd/lncli: add insecure flag to skip tls auth
Add an `insecure` global flag to lncli. If set, tls authentication with
the specified rpc server will be skipped.
2022-08-15 15:29:14 +02:00