Torkel Rogstad
4d96f31f59
lncli: take chan_id as uint64 in getchaninfo
...
When taking in chan_id as a int64, there are some channels that cannot
be givn to lncli because they are out of range for an int64.
2021-10-07 14:57:32 +02:00
Oliver Gugger
da418ef46b
cmd/lncli: move all payment related cmds to single file
...
With this commit we move all commands that can be found within the
"Payments" category into its own file called cmd_payments.go. The only
exception are the Mission Control related commands which we are going to
move to their own category and file in the next commit.
2021-09-23 16:59:40 +02:00
ErikEk
46e9481e6c
routing: invalid channels updatechanpolicy call
2021-09-15 10:20:49 +02:00
Stevie Zollo
00f7534e06
docs: fix inconsistent naming of channel.backup [skip ci]
2021-08-12 00:26:53 +02:00
ErikEk
c8fc9b0a85
trivial: missing dots
2021-08-01 02:35:14 +02:00
Oliver Gugger
3b712bf722
lncli: add i_know_what_i_am_doing flag to abandonchannel
2021-05-26 22:51:41 +02: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
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
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
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
whythat
54c93b1b86
lncli: cancel RPC context on OS interrupts
2021-03-12 10:07:49 +02: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
Umar Bolatov
4dc5cb5a3a
Fix typo in restorechanbackup command description
2021-01-31 17:37:27 -08:00
Tom Kirkpatrick
73a5f325b6
lnrpc: ability to spend unconfirmed coins
2020-10-01 13:27:03 +01: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
Andras Banki-Horvath
4ffe744364
lncli: add outgoing_chanid to queryroutes
2020-09-14 11:36:06 +02:00
Oliver Gugger
d792a8ef61
lncli: use readPassword function everywhere
2020-09-07 15:55:05 +02:00
Dominik Spicher
b5fc3a0b03
cmd/lncli: fix sendcoins usage message
2020-08-20 09:44:38 +02:00
Candle
c8ad071011
lncli: remove new line from password confirmation
...
The password instruction in the same function and many other related
outputs use Printf except of Println.
2020-07-22 22:48:44 +02:00
yyforyongyu
f11da830b9
lnrpc: expose all local and remote channel constraints
2020-06-30 06:59:18 +08:00
yyforyongyu
987edc9d81
multi: add a rpc endpoint to track the recovery process
2020-06-25 15:49:54 +08:00
Jasper Rädisch
20b42ce261
cmd/lncli: add fwdinghistory support for relative times
...
- introduces new parser in `cmd/lncli/arg_parse.go`
- converts start_time and end_time flags to strings
- adds default value for end_time
2020-06-23 15:58:23 -07:00
Gabriel Comte
7a4b783fc8
lncli: Fix typos in closechannel help dialog
2020-05-25 16:32:49 +02:00
carla
52137459e4
lncli: add label flag to send many and send coins
2020-05-19 13:31:51 +02:00
carla
537dac3c62
multi: specify start and end height for ListTransactionDetails
...
Add start and end height parameters to the rpc and cli GetTransactions
endpoints. Default to returning all transactions from genesis to tip,
including unconfirmed transactions to maintain backwards compatibility.
2020-05-05 21:10:06 +02:00
Olaoluwa Osuntokun
7e6f3ece23
Merge pull request #3960 from bitromortac/listpayments-pagination
...
channeldb+lnrpc+lncli: listpayments pagination support
2020-04-07 17:06:37 -07:00
bitromortac
4593cfa6c6
lncli: modify listpayments to use queried payments and update cli docs
2020-04-07 07:03:51 +02:00
Conner Fromknecht
4aceaba1be
cmd/lncli: move invoice commands to cmd_invoice.go
2020-04-06 14:23:21 -07:00
Joost Jager
6b649eeb10
lncli: remove unused type chain
2020-03-31 22:05:00 +02:00
Joost Jager
dead6a772a
lncli: use routerrpc for payments
2020-03-31 21:41:28 +02:00
Joost Jager
f060da3971
lncli: move payment commands to separate file
2020-03-31 21:41:26 +02:00
Oliver Gugger
8b05d1b61f
lncli: move openChannel command to new file
...
This is a pure code move!
2020-03-31 09:17:25 +02:00
Andras Banki-Horvath
5a4d595e53
lncli: group graph queries under Graph category
...
This commit moves DescribeGraph, GetNodeInfo and GetChanInfo under the
Graph category.
2020-03-27 13:56:10 +01:00
Andras Banki-Horvath
7e50997bb4
lnrpc: add betweenness centrality to GetNodeMetrics (new RPC call)
...
This commit extends the RPC interface with GetNodeMetrics will contain
all graph node metrics in the future. Currently only holds betweennes
centrality per node.
2020-03-27 13:56:08 +01:00
carla
4c48d0361d
lnrpc+lncli: display peer errors in listpeers
...
This change adds a set of errors to the peer struct returned by list
peers. A latest error boolean is added to allow for more succinct
default lncli responses.
2020-03-17 08:22:50 +02:00
Oliver Gugger
f55860ccd8
lncli: fix windows compilation
2020-03-11 10:07:43 +01:00
Oliver Gugger
ed8924c6c5
lncli: allow unlock with password from stdin
2020-03-10 14:29:45 +01:00
Oliver Gugger
e435cd5fc6
lncli: use original snake_case names for JSON serializing
...
Because we now use printRespJSON everywhere where we print RPC
responses as JSON, we can simply instruct the jsonpb marshaler to
use the original snake_case name specified in the proto file for
the JSON field names and not the default camelCase.
2020-03-07 11:22:36 +01:00
Conner Fromknecht
11532df5f3
cmd/lncli: add --peer flag to list channels
...
This commit adds a flag to listchannels that filters by remote pubkey.
2020-03-05 20:44:18 -08:00
bitromortac
926d4ba52e
lncli: change listinvoices reversed flag to paginate-forwards
...
This commit renames the `reversed` pagination flag to
`paginate-forwards`, which is off by default. In order to
access older invoices one can set the paginate-forwards flag,
which is more intuitive than setting the reversed flag to false.
2020-02-25 11:33:55 +01:00
Conner Fromknecht
51dbdd3b38
multi: rename key_send, key-send and key send to keysend
2020-01-16 18:37:16 -08:00
Conner Fromknecht
51306f4ecd
lncli: fix sendcoins docs, allow base58 or bech32 addrs
2020-01-15 05:01:42 -08:00
Joost Jager
d978b55701
lncli: add custom data payment flag
2020-01-14 13:01:45 +01:00
Conner Fromknecht
b3f2a94c3b
lncli: improve last_hop help message
...
Clarifies that last_hop is not the destination, but the penultimate node
in the path, i.e. the last intermediary.
2020-01-09 17:57:52 -08:00
Joost Jager
b1206f67c2
lncli: send key
...
Extend lncli with a flag that indicates the intention to send
a spontaneous payment. lncli will generate a preimage/hash combination
and send the preimage as a custom record to the recipient.
2019-12-23 21:51:23 +01:00
Joost Jager
15eedd2b1a
lncli: remove debug send
...
Debug send has been removed some time ago. This is a left over.
2019-12-23 21:51:13 +01:00
Conner Fromknecht
153cd58c97
lnrpc+lncli: reorder getinfo and use printRespJSON
2019-12-20 01:05:27 -08:00