Wilmer Paulino
a9d873d248
cmd/lncli: add fee limit flags to routing related commands
2018-06-12 18:14:50 -07:00
Sebastian Delgado
6746609ec6
Add constant and percentage-based fee limits to payments
...
- Extend SendRequest and QueryRoutesRequest protos
- newRoute function takes fee limit and cuts off routes that exceed it
- queryRoutes, payInvoice and sendPayment commands take the feeLimit inputs and pass them down to newRoute
- When no feeLimit is included, don't enforce any feeLimits at all (by setting feeLimit to maxValue)
2018-06-12 18:14:43 -07:00
Olaoluwa Osuntokun
80b531db62
Merge pull request #1303 from vegardengen/fix-docs-push-amount
...
Add clarification for push_amt argument to openchannel
2018-06-12 17:27:19 -07:00
Olaoluwa Osuntokun
0177309dcf
cmd/lncli: modify sendtoroute cmd to make reading routes from stdin optional
...
In this commit we modify the existing sendtoroutes command such that
users can either specify the route over stdin (using the special '-'
flag), via the keyword argument, or via the positional argument.
2018-06-06 20:45:57 -07:00
t4sk
f4c9192df3
cmd/lncli: add --final_cltv_delta to queryroutes
2018-06-06 20:45:01 -07:00
t4sk
dc04df0f2e
cmd/lncli: add sendtoroute command
...
This commit adds sendtoroute command to lncli. RPC command SendToRoute
is not yet implemented.
2018-06-06 20:45:00 -07:00
Wilmer Paulino
4e2ae89219
cmd/lncli: add changepassword command
2018-05-31 17:24:01 -07:00
Vegard Engen
668b7acc2c
Add clarification that push_amt argument to openchannel command equals giving the remote node this amount
2018-05-30 22:13:26 +00:00
Oliver Gugger
8ce73b3f74
lncli: improve error message for unlock commands
2018-05-07 18:44:03 +03:00
Oliver Gugger
80852601db
lncli: group startup commands, make full sentences
2018-05-03 11:49:09 +03:00
Oliver Gugger
ad106bcefd
lncli: group commands into categories
2018-05-02 08:55:55 +03:00
Conner Fromknecht
92a2ba163e
cmd/lncli/commands: ask for recovery window after restore seed
2018-04-26 16:03:28 -07:00
Olaoluwa Osuntokun
c9eb077935
cmd/lncli: remove unused args for pendingchannels command
...
Fixes #1123 .
2018-04-25 13:28:15 -07:00
Wilmer Paulino
ff2be77c00
cmd/lncli: add private
flag to addinvoice command
2018-04-20 19:17:19 -04:00
Sean Erle Johnson
eab87140e9
lncli: make locating funding_txids easier
2018-04-18 12:38:25 -07:00
Dimitris Tsapakidis
4009f7f874
multi: fix typos in comments
2018-04-17 19:03:27 -07:00
Olaoluwa Osuntokun
7f039980c1
lnd+cmd/lncli: allow users to disable logging sub-systems all together
2018-04-16 19:18:04 -07:00
Johan T. Halseth
bbdad9d5d6
lncli: add remote_csv_delay to openchannel command
2018-03-22 14:54:00 +01:00
Wilmer Paulino
900cd43768
multi: change to lnrpc.Channel type due to proto update
2018-03-19 11:19:06 -04:00
Wilmer Paulino
7642bad54f
cmd/lncli: add flags to listchannels to retrieve specific channels
2018-03-19 11:19:05 -04:00
Olaoluwa Osuntokun
4ced071a7d
cmd/lncli+log: fix linter error
2018-03-13 13:01:21 -07:00
Olaoluwa Osuntokun
ddfe73eedb
cmd/lncli: ensure mnemonic for restore flow is exactly 24 words
2018-03-13 12:57:13 -07:00
Wilmer Paulino
5705da92f6
cmd/lncli: add closeallchannels command
...
In this commit, we add a new closeallchannels command to lncli. This
command allows us to close all existing active and inactive channels
by closing them cooperatively or unilaterally, respectively.
2018-03-09 12:05:43 -05:00
Olaoluwa Osuntokun
78ef09c9d3
cmd/lncli: remove the --witness_only flag from walletbalance
...
This flag is no longer needed, as the call will now only return the
active segwit balance.
2018-03-06 16:04:05 -05:00
Olaoluwa Osuntokun
f2192f1b90
cmd/lncli: remove p2pkh as an option for the new address command
2018-03-06 16:04:05 -05:00
Olaoluwa Osuntokun
8306273329
cmd/lncli: add new fwdinghistory command
2018-03-06 13:56:13 -05:00
Olaoluwa Osuntokun
3356a370c7
cmd/lncli: extend initial wallet creation with aezeed seed support
...
In this commit, we extend the `lncli create` command to allow users to
specify their own side (if they want). In the case that the user
*doesn’t* specify their own seed, we’ll return the entropy generated by
the wallet in a 24-word mnemonic format for easy backup.
With this change, it’s now possible for users to restore an existing lnd
wallet seed.
2018-03-05 11:07:07 -05:00
MeshCollider
4ed5ba0d26
multi: Remove peer_id from RPC commands
2018-02-19 17:48:39 -08:00
Olaoluwa Osuntokun
8329a31fb0
Merge pull request #585 from wilmerpaulino/openchannel-connect
...
lncli: add 'connect' flag to openchannel command
2018-02-18 15:29:38 -08:00
Olaoluwa Osuntokun
452d12809e
cmd/lncli: add --num_max_routes to queryroutes, default to 10
2018-02-12 16:29:43 -08:00
Daniel McNally
8543497dcc
multi: fixing it's/its typos in comments
2018-02-06 19:13:07 -08:00
practicalswift
a93736d21e
multi: comprehensive typo fixes across all packages
2018-02-06 19:11:11 -08:00
rvandermeer
a5815e957a
lncli: capitalizing usage and description for lncli
...
Just like lnd --help usage and descriptions are capitalized.
However with lncli this is not the case. This pull requests
makes it just like lnd.
2018-02-05 15:05:04 -08:00
Wilmer Paulino
aca0c9324d
cmd/lncli: add 'connect' flag to openchannel command
...
Adds the option to connect to a node before opening the channel by
passing the node's host:port via the --connect flag.
2018-01-27 23:07:11 -05:00
Wilmer Paulino
f674e10a2b
lnd+cmd/lncli: handle ChannelPoint funding txid proto update
...
Since a ChannelPoint's funding txid can now be get/set as raw bytes or
a string, we first need to check what type it's currently set to before
accessing it.
2018-01-27 22:00:01 -05:00
Olaoluwa Osuntokun
7919c4cba0
Merge pull request #654 from wilmerpaulino/invoice-without-amount
...
Support invoices without amount specified
2018-01-27 17:38:56 -08:00
gshub77
0bc85085dd
cmd/lncli: fix typo in Description of sendpayment
...
Fixes #674 .
2018-01-27 16:23:42 -08:00
Wilmer Paulino
454eab720e
lncli: optionally include the amount in the payment request
2018-01-27 19:05:24 -05:00
Wilmer Paulino
78b9dc4b96
lncli: remove requirement for invoice value argument
2018-01-27 19:05:21 -05:00
Olaoluwa Osuntokun
1a164db375
cmd/lncli: fix linter error
2018-01-27 15:05:32 -08:00
Cristobal Griffero
ffbcf7db4f
lncli: rename value to amt in addinvoice command
2018-01-27 14:52:46 -08:00
Olaoluwa Osuntokun
246ba98f47
cmd/lncli: update the sendpayment usage documentation
2018-01-22 19:19:55 -08:00
Olaoluwa Osuntokun
84c8ed6362
cmd/lncli: expose the final_cltv_delta flag in sendpayment
2018-01-22 19:19:55 -08:00
Johan T. Halseth
59b331c04d
lncli: add min_htlc_msat to openchannel
2018-01-12 22:56:36 +01:00
Johan T. Halseth
26421031e2
lncli: rename updatefees to updatechanpolicy
...
This commit renames the `lncli updatefees` command to
`lncli updatechanpolicy` and adds `time_lock_delta` as
one of the passed parameters.
2018-01-12 22:56:34 +01:00
Olaoluwa Osuntokun
7421584341
lnrpc: making PendingChannels req/resp naming scheme consistent
...
In this commit we rename the lnrpc.PendingChannelRequest and
lnrpc.PendingChannelResponse to
lnrpc.PendingChannelsRequest/lnrpc.PendingChannelsResponse. We do this
as we strive to ensure that the naming scheme across the RPC interface
is consistent.
2018-01-04 14:20:31 -06:00
Walt Seymour
0a36bfae9c
fix issue with closechannel
2018-01-03 15:19:10 +01:00
Daniel Coonce
c36b1c3992
lncli: Fix "invalid handle" error
...
Uses syscall.Stdin rather than 0 for terminal.ReadPassword() calls.
2017-12-19 14:56:42 +01:00
Johan T. Halseth
17d1d5dc9c
lncli: add 'private' flag to openchannel command
...
This make lncli openchannel take a --private
parameter, set to false by default.
2017-12-17 18:35:34 -08:00
Olaoluwa Osuntokun
c00a3ae03b
cmd/lncli: fix graph rendering with a single channel
2017-12-02 18:56:01 -08:00