Commit Graph

634 Commits

Author SHA1 Message Date
d2d3cf3408 Merge pull request #6956 from ellemouton/configureChanReserve
multi: configurable remote chan reserve
2022-10-13 15:39:40 +02:00
c2ad6444a7 lncli: add remote reserve flag to openchannel 2022-10-07 14:57:05 +02:00
828ce07ca5 cmd/lncli: add p2tr address type to account import 2022-10-03 13:22:32 +02:00
2a90b2439a lncli: channel fee parameter for openchannel 2022-09-29 08:21:09 -04:00
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
fe8a1f2f36 lncli: fix sendpayment arg parsing 2022-08-25 13:24:19 +02:00
0735522194 multi: fix make fmt 2022-08-23 22:10:24 +08:00
2f20012af6 lncli: adds list addresses cli command 2022-08-18 08:09:16 +05:30
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
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
1dffaf10e2 cmd/lncli: add metadata kvpair flag
Add a new `metadata` string slice flag to lncli that allows the caller
to specify multiple key-value string pairs that should be appended to
the outgoing context.
2022-08-15 15:29:12 +02:00
996f4bc260 Merge pull request #6510 from ErikEk/neutrinorpc-add-getblockhash
neutrinorpc: add getblockhash
2022-08-15 09:20:23 +02:00
2d58ecb183 neutrinorpc: add getblockhash command 2022-08-13 21:41:41 +02:00
aa576adecc rpc+cli: add general ListAliases function to dump all aliases 2022-08-09 14:11:08 -04:00
9a368f0e8c trivial: typo fix [skip ci] 2022-08-07 20:29:19 +00:00
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
07e9adfd8c routerrpc+cmd: use skip_temp_err when sending to route 2022-07-15 19:03:12 +08:00
2f5192012e lncli: chan_point option for abandonchannel [skip ci] 2022-07-13 10:20:55 -04:00
ae6161d847 lncli: add ignore_pair flag to queryroutes 2022-07-13 10:00:50 +02:00
49dd4b9e34 multi: add zero-conf, scid-alias channel-types to rpc
This allows the open channel rpcs to use the zero-conf or scid-alias
channel types.
2022-07-07 17:10:30 -04:00
86f1bc7db0 lncli: chan_point option for updatechanstatus 2022-07-06 10:19:12 -04:00
abcd1dc4ed lncli: Fix batchopenchannel help text [skip ci] 2022-07-04 11:10:31 -04:00
3759b0f1ee Merge pull request #6577 from ziggie1984/hop-hints-opt-in-addholdinvoice
Hop hints opt in addholdinvoice
2022-06-28 15:38:48 -07:00
3befeadaf3 lnrpc+lncli: adds required reserve rpc & cli 2022-06-28 23:31:51 +05:30
a121f305b6 Merge pull request #6576 from ellemouton/paymentAddrBuildRouteFlag
lncli: add payment-addr flag to buildroute
2022-06-24 15:44:35 -07:00
eef2f1caf7 Add p2tr to supported address help message 2022-06-11 00:53:36 -04:00
2ae5c9cef2 cmd/lncli: make hop hint inclusion opt-in for addholdinvoice 2022-05-25 14:49:32 +02:00
5b0f2c4798 cmd/lncli: add payment_addr flag to buildroute 2022-05-25 11:45:18 +02:00
968393975b cmd/lncli: add constrainmacaroon command 2022-05-13 13:41:10 +02:00
f4e1f60e4d cmd/lncli: extract macaroon caveat flags
As a preparation for re-using the macaroon caveat/constraints CLI flags,
we extract the parsing and adding of those constraints into its own
function.
2022-05-13 13:38:53 +02:00
cb3cb4c8ab cmd/lncli: add pk script and value to JSON 2022-05-12 10:24:42 +02:00
5e4d349ea6 cmd/lncli: make hop hint inclusion opt-in for addinvoice
Fixes #6484.
2022-05-10 17:56:57 -07:00
12b82d0156 Merge pull request #5652 from ErikEk/neutrino-sub-server
Neutrino sub-server
2022-05-03 16:01:24 -07:00
ab6e1012e4 cmd/lncli: add --count_total_payments flag 2022-05-02 12:32:07 +02:00
57036d0f63 neutrinorpc: command interface 2022-04-30 08:55:55 +02:00
b1f6bc977e #4939 Add socks proxy support to lncli 2022-04-16 20:30:42 +02:00
ba5abdc090 routing: add time_pref parameter to queryroutes and sendpayment 2022-04-13 20:26:46 +02:00
2fd900b172 Merge pull request #5587 from positiveblue/5466-update-node-announcement-data
lnrpc: Add UpdateNodeAnnouncement endpoint
2022-04-11 22:32:12 -04:00
e13e5f874f cmd/lncli: fix linter issues after contributor PR [skip ci] 2022-04-11 18:02:42 +02:00
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
f3fdf8d28e lncli: add peers updatenodeannouncement 2022-04-02 19:10:27 -07:00
a0b7680424 cmd/lncli: changepassworderror message [skip ci] 2022-04-01 15:52:59 +02:00
c73cf03a55 multi: add p2tr keyspend wallet support 2022-03-24 18:02:38 +01:00
7dfe4018ce multi: use btcd's btcec/v2 and btcutil modules
This commit was previously split into the following parts to ease
review:
 - 2d746f68: replace imports
 - 4008f0fd: use ecdsa.Signature
 - 849e33d1: remove btcec.S256()
 - b8f6ebbd: use v2 library correctly
 - fa80bca9: bump go modules
2022-03-09 19:02:37 +01:00
791411cdb8 Merge pull request #6237 from sangaman/lncli-state-desc
lncli: update `lncli state` description
2022-03-02 17:08:22 -08:00
4a15de05aa build: update go-pretty v6 [skip ci]
In this commit we update go-pretty to use the latest v6 version of the
library. The existing version we used had a reported vulnerability.
Updating to this newest version also helped to shrink our set of
indirect dependencies.

In the future we can use
https://github.com/lightningnetwork/lnd/pull/5870 to detect/flag these
issues automatically.

Fixes #6293
2022-03-01 15:02:23 -08:00
895a2e497b multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
ffee7d1bcf multi: fix newly detected linter issues 2022-02-10 11:02:02 +01:00
dfdc2bff8b multi: run gosimports 2022-02-10 11:02:01 +01:00
62dc1b5323 multi: Update Licenses to 2022 [skip ci] 2022-02-09 00:25:20 +02:00