Commit Graph
53 Commits
Author SHA1 Message Date
Oliver Gugger 95226771ed signrpc+rpcserver: add signer macaroon permissions 2019-12-11 22:37:40 +01:00
Oliver Gugger 9a73b9be78 signrpc: sign and verify messages with custom key
To allow signing of messages with any key in the key chain
we add two new methods to the signer RPC. These behave differently
to the methods with the same name in the main RPC as described
in the documentation comment.
2019-12-11 22:37:39 +01:00
Oliver Gugger d47f67d260 signrpc+subserver: add key chain to signer 2019-12-10 09:48:13 +01:00
Oliver Gugger a124bb24da lntest: add unconfirmed channel SCB test 2019-11-28 08:59:38 +01:00
Oliver Gugger fb683f74a4 chanbackup: set funding broadcast height on restore 2019-11-26 14:45:22 +01:00
Oliver Gugger d4f836ecb3 chanbackup: encode broadcast height in chan ID for unconfirmed channels 2019-11-26 14:45:21 +01:00
Oliver Gugger 570275435b lntest: add SCB repeated restore test 2019-11-20 10:57:20 +01:00
Oliver Gugger 4cd06465ea lnd: increase max message receive size for REST proxy 2019-11-18 14:06:14 +01:00
Oliver Gugger 4728ac844a chanbackup: continue recovery if channel already exists 2019-11-18 10:51:23 +01:00
Oliver Gugger 6a807b2d4c mod: use tagged version of cert package 2019-11-18 09:51:30 +01:00
Oliver Gugger b145378a4d cert: create independent go modules 2019-11-18 09:44:55 +01:00
Oliver Gugger dbbb169e06 lnd: use TLS code from cert package 2019-11-18 09:44:54 +01:00
Oliver Gugger 7470f696ae cmd/lncli: increase gRPC max message receive size to 200MiB 2019-11-15 16:21:20 +01:00
Oliver Gugger 543b258e30 lnd_test: add integration test for macaroon authentication 2019-11-14 16:34:52 +01:00
Oliver Gugger b18698c321 cert: copy common TLS code from lnd to cert package 2019-11-14 10:23:40 +01:00
Oliver Gugger bfe10376f3 lnd: prepare TLS code for extraction 2019-11-14 10:23:35 +01:00
Oliver Gugger e8df2757ae lntest: allow client to connect with specific macaroon 2019-11-13 15:29:00 +01:00
Oliver Gugger 7e9c4f0f87 proto: deprecate duplicate string fields in requests
With this PR we deprecate fields that have been specifically added to
to work around a bug in the gRPC/REST gateway that didn't allow bytes
fields to be encoded in REST requests.
That bug has now been fixed so the fields are no longer required.
To make it more clear how bytes fields have to be used in REST,
comments have been added to all those fields.
2019-11-07 08:53:00 +01:00
Oliver Gugger 2b163480cf docs: bitcoind is required for unit tests 2019-11-06 09:47:48 +01:00
Oliver Gugger ae04bdb98a doc: describe macaroon bakery 2019-11-04 15:07:24 +01:00
Oliver Gugger b6c7ff8183 lnrpc: generate protos with new gateway version 2019-10-31 09:13:38 +01:00
Oliver Gugger b6b57d1c00 proto: update to grpc-gateway v1.8.6 2019-10-31 09:13:33 +01:00
Oliver Gugger 1270a8ebae lncli: add command for baking new macaroons 2019-10-24 10:25:38 +02:00
Oliver Gugger 6a463de7a2 lnrpc: add command for baking new macaroons 2019-10-24 10:25:32 +02:00
Oliver Gugger 05096b0c2d input+sweep: log input witness types instead of CSV/CLTV count 2019-10-23 17:09:31 +02:00
Oliver Gugger c66c4052ec lnrpc: document missing ForwardingHistory command 2019-10-23 13:28:04 +02:00
Oliver Gugger fa948c23fe chainntnfs: add test that validates fixed nil pointer dereference 2019-10-23 11:25:30 +02:00
Oliver Gugger 51c066e7ed chainntnfs: don't register notifications twice if details exist 2019-10-23 11:19:25 +02:00
Oliver Gugger fb0051a318 input+sweep: rework witness type into an interface 2019-10-14 15:32:54 +02:00
Oliver Gugger 8e4a897a60 sweep: use chain notifier instead of chain IO for best block
Because the BestBlock method of ChainIO is not exposed through any
RPC we want to get rid of it so we can use the sweeper outside of
lnd too. Since the chain notifier now also delivers the current best
block we don't need the BestBlock method any more.
2019-10-14 15:32:54 +02:00
Oliver Gugger b6dda143d0 sweep: use bbolt DB directly instead of channeldb 2019-10-14 15:32:53 +02:00
Oliver Gugger 4190146066 sweep: add test to make sure fee estimation is correct 2019-10-14 15:32:53 +02:00
Oliver Gugger 3ca2c363fe lnd+rpcserver: initialize new log writer correctly 2019-10-14 14:56:32 +02:00
Oliver Gugger 94f49192cf lnd: refactor sub logger setup to use new rotating log writer 2019-10-14 14:56:31 +02:00
Oliver Gugger d3995a73ae build: move log rotator code 2019-10-14 14:56:31 +02:00
Oliver Gugger 3ea74c4362 build: move log level parse code and add new leveled sub logger interface 2019-10-14 14:56:30 +02:00
Oliver Gugger c01f9f043d lnd: pin go version to 1.12 in go.mod 2019-09-24 09:18:21 +02:00
Oliver Gugger 976c996fda queue: run go mod tidy 2019-09-23 15:11:20 +02:00
Oliver Gugger 567c357c61 ticker+queue: run go mod tidy 2019-07-26 09:29:38 +02:00
Oliver Gugger 3704c0e149 keychain: fix comment about derivation path 2019-07-22 21:52:36 +02:00
Oliver Gugger 10b976187d rpcserver: handle unconfirmed TX properly when listing all transactions 2018-09-15 11:29:32 +02:00
Oliver Gugger c943f02c32 Merge branch 'master' into unix-sockets 2018-06-26 09:35:55 +02:00
Oliver Gugger 4d521da1a3 Merge branch 'master' into unix-sockets 2018-06-19 11:27:24 +02:00
Oliver Gugger f22b0ccdbc macaroons: fix incorrect comparison in isRegistered, wrap long lines 2018-05-18 10:14:06 +02:00
Oliver Gugger 3eff9804ee macaroons: add technical documentation, fix comments 2018-05-18 10:13:25 +02:00
Oliver Gugger 8e4e2bd889 macaroons: add tests for service and constraints 2018-05-18 10:08:05 +02:00
Oliver Gugger 45ccace41c docs: add line wrap to contribution checklist 2018-05-07 19:21:03 +03: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
Oliver Gugger b75429c6fe test: upload integration test logs from TravisCI to file.io 2018-05-01 13:16:21 +03:00
Oliver Gugger cbd981c236 lnd_test: make sure node ID is correctly initialized in log file name 2018-04-30 11:59:34 +03:00
Oliver Gugger 578f1d9332 lnd_test: give nodes a name and print that name in log file name 2018-04-28 17:46:50 +03:00