Wilmer Paulino
4964801c6f
lncli: add wallet import related commands
2021-04-05 15:41:11 -07:00
Wilmer Paulino
c7bed34bca
lncli: add account flag to wallet related commands
2021-04-05 15:41:08 -07:00
yyforyongyu
9d0d88ac21
lnrpc+lncli: deprecate sat_per_byte and add sat_per_vbyte
...
This commit deprecates/replaces the old field `sat_per_byte` with
`sat_per_vbyte`. While the old field suggests sat per byte, it’s
actually using sat per virtual byte. We use the Hidden param to hide all
the deprecated flags. These flags won't show up in help menu onwards,
while stay valid that can be passed from cli. Thus bash scripts
referencing these fields won't be broken.
2021-03-26 17:16:40 +08:00
yyforyongyu
2466758acd
lncli+lnrpc: update docs for sat_per_byte
...
Update the documentation for the field `sat_per_byte`. While the name
suggests it’s sat per byte, the value is actually in sat per virtual
byte.
2021-03-26 17:09:14 +08:00
Olaoluwa Osuntokun
fcc0dec741
cmd/lncli: add missing context import
2021-03-25 17:49:13 -07:00
Olaoluwa Osuntokun
24d1d9cb14
Merge pull request #5095 from bottlepay/wtxmgr-parameterized-lock
...
lnwallet+walletrpc: list leases and parameterize duration
2021-03-25 17:31:13 -07:00
Olaoluwa Osuntokun
b4b7f29724
Merge pull request #5102 from yyforyongyu/fix-send-cli
...
lncli+lnrpc: add payment address to sendpayment
2021-03-24 18:02:53 -07:00
Olaoluwa Osuntokun
6f3e14a545
Merge pull request #5061 from carlaKC/4483-importmissioncontrol
...
routing: add mission control import rpc
2021-03-23 15:22:27 -07:00
Hampus Sjöberg
ada1bc701c
signal: handle shutdown properly
...
This addresses issues related to the mobile lnd builds, where
calling `stopDaemon` and subsequently calling LndMobile's `Start`
results in crash.
2021-03-18 12:54:25 +01:00
carla
cb977622c6
lncli: add mission control import command
2021-03-18 10:52:23 +02:00
Johan T. Halseth
6046c5cf86
Merge pull request #5119 from ellemouton/lncli-start-signal-interceptor
...
lncli: start signal interceptor in getContext
2021-03-18 09:30:11 +01:00
Johan T. Halseth
d53633eab5
Merge pull request #5005 from halseth/walletunlocker-unify-staterpc
...
[RPC] SubscribeState RPC for getting unlocking state of wallet and RPC
2021-03-18 08:41:07 +01:00
Elle Mouton
000516ec4d
lncli: start signal interceptor in getContext
...
signal Intercept function needs to be called if the signal shutdown
channel will be listened on.
2021-03-17 22:44:45 +02:00
Conner Fromknecht
e2690918a0
Merge pull request #5002 from akovalenko/master
...
lncli addinvoice: allow specifying msat with --amt_msat
2021-03-17 10:03:56 -07:00
yyforyongyu
2dac77200b
lncli+lnrpc: add payment address to sendpayment
2021-03-17 21:16:17 +08:00
Johan T. Halseth
b4bc6f918e
lncli: add state command
2021-03-17 12:09:38 +01:00
Oliver Gugger
05342f25b8
Merge pull request #5097 from ellemouton/lncli-interrupt-handler
...
lncli: cancel RPC context on OS interrupts
2021-03-17 10:31:08 +01:00
Conner Fromknecht
b4aa661d16
Merge pull request #5064 from ellemouton/set-coop-close-target-confs
...
multi: allow setting target confs for co-op close
2021-03-16 11:14:15 -07:00
Joost Jager
9398220568
walletrpc: add ListLeases
2021-03-13 08:45:52 +01:00
whythat
54c93b1b86
lncli: cancel RPC context on OS interrupts
2021-03-12 10:07:49 +02:00
Oliver Gugger
c623d21bd2
Merge pull request #5083 from guggero/psbt-size-fix
...
lncli: allow PSBT to be read from file
2021-03-10 23:02:02 +01:00
Oliver Gugger
b3dfe5d1af
lncli: allow PSBT to be read from file
...
Fixes #5080 .
The N_TTY_BUF_SIZE kernel parameter dictates how many characters can be
pasted into a terminal window. This cannot be circumvented by reading
the input in a different manner.
To avoid the problem fully, we instead allso allow the user to type in a
path to a text file that is read if it exists. That way the PSBT can be
as long as needed.
2021-03-10 12:46:33 +01:00
Elle Mouton
9e9c48fcdd
rpc: use default if conf-target is not set
...
This commit uses the new coop-close-target-confs value as the default to
use for a nodes self initiated channel closures if the conf-target flag
for the channel closure is not set. The defaults for both these options
is 6 so this shouldnt change current behaviour.
2021-03-04 13:07:30 +02:00
Elliott Jin
19e9ed5cdf
lncli: add updatechanstatus command
...
The updatechanstatus command calls into the UpdateChanStatus RPC
in the router server.
2021-02-24 07:13:28 -08:00
Olaoluwa Osuntokun
db69331db9
cmd/lncli: add max shard size parsing for payment commands
2021-02-15 19:31:58 -08:00
Olaoluwa Osuntokun
7b0ea3c029
Merge pull request #4909 from carlaKC/mc-paramsapi
...
routing: allow runtime updates to mission control config
2021-02-10 18:51:53 -08:00
7758fd1438
lncli addinvoice: allow specifying msat with --amt_msat
...
* pass amt and amt_msat to rpc, letting server give an error if both
are present
* take amt from an extra argument if neither amt nor amt_ms are
present
implementation analogous to 298f35cdfbcfbf171fb7de645e90bdf6a368d6c8,
which is for addholdinvoice.
2021-02-10 00:20:11 +03:00
Umar Bolatov
4dc5cb5a3a
Fix typo in restorechanbackup command description
2021-01-31 17:37:27 -08:00
carla
63775756e0
lncli: add mission control getter and setter
2021-01-19 10:57:16 +02:00
Conner Fromknecht
f3c8311b28
lncli: add policy type flags to wtclient policy
2020-11-25 16:16:49 -08:00
Oliver Gugger
10673b9dfa
lncli: add flags for stateless init to wallet unlocker commands
2020-11-07 11:18:52 +01:00
carla
f1aa3d2071
lncli: allow setting max local csv for open channel requests
2020-11-04 13:57:21 +02:00
Eugene
bebe258e2d
chainregistry+lnd: moving chainregistry+chainparams to new package
2020-10-29 15:24:14 -04:00
carla
0a76f87bd0
lncli: allow configurable timeout in send payment
2020-10-12 13:27:06 +02:00
Oliver Gugger
8e9f37b0fc
lncli+docs: fix outpoint serialization in JSON output
...
This commit fixes the JSON output of the outpoint field of locked UTXOs
in the response of the PSBT fund command.
2020-10-06 10:59:50 +02:00
Oliver Gugger
c206d062d5
lncli: add new PSBT wallet commands
2020-10-03 10:34:55 +02:00
Tom Kirkpatrick
73a5f325b6
lnrpc: ability to spend unconfirmed coins
2020-10-01 13:27:03 +01:00
Oliver Gugger
b28bf29c5f
lncli: don't read macaroons when not using them
...
When we either don't use macaroons (because the global --no-macaroons
flag is set) or don't need them (for the wallet unlocker commands), we
don't try to read the file at all to avoid running into an error if the
file doesn't exist (which it doesn't in those two cases).
2020-09-25 15:54:10 +02:00
Oliver Gugger
44524fd2e5
lncli: fix go vet recommendations
2020-09-25 15:18:45 +02:00
Oliver Gugger
ca679e0f0e
lncli: move wallet unlocker commands into own file
...
This is a pure code move, we extract all wallet unlocker operations
(create, unlock, changepassword) into its own file.
2020-09-25 15:16:56 +02:00
yyforyongyu
469aba9282
lnd+rpcserver: allow customized timeout in ConnectPeer
2020-09-16 11:50:04 +08:00
Joost Jager
cf6eee80db
Merge pull request #2428 from joostjager/letsencrypt
...
lnrpc: let's encrypt certificates
2020-09-15 13:08:15 +02:00
Joost Jager
403d72b468
lnrpc: lets encrypt
...
This commit enables lnd to request and renew a Let's Encrypt
certificate. This certificate is used both for the grpc as well as the
rest listeners. It allows clients to connect without having a copy of
the (public) server certificate.
Co-authored-by: Vegard Engen <vegard@engen.priv.no>
2020-09-15 09:59:09 +02:00
Oliver Gugger
154dc1af66
lncli: allow final transaction as raw hex in PSBT funding flow
2020-09-15 08:30:21 +02:00
András Bánki-Horváth
dea6d91431
Merge pull request #4603 from bhandras/fix_help
...
config: prevent displaying usage twice if --help was requested
2020-09-14 18:58:21 +02:00
Andras Banki-Horvath
b778b25866
config: prevent displaying usage twice if --help was requested
2020-09-14 15:18:41 +02:00
Oliver Gugger
9ea836c237
Merge pull request #4614 from guggero/printmacaroon-fix
...
lncli: print all permission actions
2020-09-14 13:41:05 +02:00
Andras Banki-Horvath
4ffe744364
lncli: add outgoing_chanid to queryroutes
2020-09-14 11:36:06 +02:00
Oliver Gugger
384ab9f616
lncli: print all permission actions
...
Due to a misunderstanding about how the entities/actions are encoded
inside the macaroon, only the first action was printed per entity.
Even though we add them as separate pairs in the macaroon service (for
example "offchain:read" and "offchain:write"), they are grouped in the
serialized macaroon ("offchain:read,write").
2020-09-14 10:55:19 +02:00
Oliver Gugger
d792a8ef61
lncli: use readPassword function everywhere
2020-09-07 15:55:05 +02:00