Commit graph

544 commits

Author SHA1 Message Date
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
Elle Mouton
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
Oliver Gugger
996f4bc260
Merge pull request #6510 from ErikEk/neutrinorpc-add-getblockhash
neutrinorpc: add getblockhash
2022-08-15 09:20:23 +02:00
ErikEk
2d58ecb183 neutrinorpc: add getblockhash command 2022-08-13 21:41:41 +02:00
eugene
aa576adecc
rpc+cli: add general ListAliases function to dump all aliases 2022-08-09 14:11:08 -04:00
Data Retriever
9a368f0e8c trivial: typo fix [skip ci] 2022-08-07 20:29:19 +00: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
yyforyongyu
07e9adfd8c
routerrpc+cmd: use skip_temp_err when sending to route 2022-07-15 19:03:12 +08:00
Slyghtning
2f5192012e lncli: chan_point option for abandonchannel [skip ci] 2022-07-13 10:20:55 -04:00
Elle Mouton
ae6161d847
lncli: add ignore_pair flag to queryroutes 2022-07-13 10:00:50 +02:00
eugene
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
Slyghtning
86f1bc7db0 lncli: chan_point option for updatechanstatus 2022-07-06 10:19:12 -04:00
Slyghtning
abcd1dc4ed lncli: Fix batchopenchannel help text [skip ci] 2022-07-04 11:10:31 -04:00
Olaoluwa Osuntokun
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
priyanshiiit
3befeadaf3 lnrpc+lncli: adds required reserve rpc & cli 2022-06-28 23:31:51 +05:30
Olaoluwa Osuntokun
a121f305b6
Merge pull request #6576 from ellemouton/paymentAddrBuildRouteFlag
lncli: add payment-addr flag to buildroute
2022-06-24 15:44:35 -07:00
Peter Todd
eef2f1caf7
Add p2tr to supported address help message 2022-06-11 00:53:36 -04:00
ziggie
2ae5c9cef2
cmd/lncli: make hop hint inclusion opt-in for addholdinvoice 2022-05-25 14:49:32 +02:00
Elle Mouton
5b0f2c4798
cmd/lncli: add payment_addr flag to buildroute 2022-05-25 11:45:18 +02:00
Oliver Gugger
968393975b
cmd/lncli: add constrainmacaroon command 2022-05-13 13:41:10 +02:00
Oliver Gugger
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
Oliver Gugger
cb3cb4c8ab
cmd/lncli: add pk script and value to JSON 2022-05-12 10:24:42 +02:00
Olaoluwa Osuntokun
5e4d349ea6
cmd/lncli: make hop hint inclusion opt-in for addinvoice
Fixes #6484.
2022-05-10 17:56:57 -07:00
Olaoluwa Osuntokun
12b82d0156
Merge pull request #5652 from ErikEk/neutrino-sub-server
Neutrino sub-server
2022-05-03 16:01:24 -07:00
Oliver Gugger
ab6e1012e4
cmd/lncli: add --count_total_payments flag 2022-05-02 12:32:07 +02:00
ErikEk
57036d0f63 neutrinorpc: command interface 2022-04-30 08:55:55 +02:00
hieblmi
b1f6bc977e #4939 Add socks proxy support to lncli 2022-04-16 20:30:42 +02:00
Joost Jager
ba5abdc090
routing: add time_pref parameter to queryroutes and sendpayment 2022-04-13 20:26:46 +02:00
Olaoluwa Osuntokun
2fd900b172
Merge pull request #5587 from positiveblue/5466-update-node-announcement-data
lnrpc: Add UpdateNodeAnnouncement endpoint
2022-04-11 22:32:12 -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
positiveblue
f3fdf8d28e
lncli: add peers updatenodeannouncement 2022-04-02 19:10:27 -07: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
Oliver Gugger
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
Olaoluwa Osuntokun
791411cdb8
Merge pull request #6237 from sangaman/lncli-state-desc
lncli: update `lncli state` description
2022-03-02 17:08:22 -08:00
Olaoluwa Osuntokun
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
Oliver Gugger
895a2e497b
multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
Oliver Gugger
ffee7d1bcf
multi: fix newly detected linter issues 2022-02-10 11:02:02 +01:00
Oliver Gugger
dfdc2bff8b
multi: run gosimports 2022-02-10 11:02:01 +01:00
Rafe
62dc1b5323 multi: Update Licenses to 2022 [skip ci] 2022-02-09 00:25:20 +02:00
Daniel McNally
2b1bb3bce0
lncli: update lncli state description
This updates the description that is provided for `lncli state` to match
the states that are currently returned by lnd. `RPC_READY` no longer
exists and is replaced by `RPC_ACTIVE` with a revised description, and
`SERVER_ACTIVE` is added as the status that indicates lnd is fully
ready to accept RPC calls.

See `enum WalletState` in `stateservice.proto`.
2022-02-04 08:42:06 -05:00
Oliver Gugger
d252653624
lncli: use amount based default routing fee 2022-02-02 17:29:52 +01:00
Oliver Gugger
b77c1fb200
Merge pull request #6149 from bhandras/graph_import_rpc
lnd: add `devrpc` sub server and `devrpc.ImportGraph` to import graph dumps
2022-01-28 10:24:59 +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
Andras Banki-Horvath
eeea141e01
lnd: allow large GRPC messages 2022-01-24 17:43:00 +01:00
Andras Banki-Horvath
996be217b9
lncli: add (dev only) importgraph 2022-01-24 17:43:00 +01:00