Commit Graph

12488 Commits

Author SHA1 Message Date
Oliver Gugger
80720cb63f
Merge pull request #6021 from greywolve/fix-link-test-hint
htlcswitch: fix hint in link tests [skip ci]
2021-11-23 18:18:46 +01:00
Oliver Gugger
9d012e8bab
Merge pull request #6016 from guggero/tor-watchtower
tor+healthcheck: fix healthcheck for multiple services
2021-11-23 15:06:24 +01:00
Oliver Powell
1fe6a3cf9b htlcswitch: fix hint in link tests [skip ci]
Fixes #6020.
2021-11-23 16:04:12 +02:00
Oliver Gugger
1fbe9061ef
Merge pull request #6015 from guggero/submodule-check
GitHub: use go version that understands retract directive
2021-11-23 11:56:20 +01:00
Oliver Gugger
5155ebc405
tor+healthcheck: fix healthcheck for multiple services
Fixes #6013.
This commit fixes the Tor healthcheck that would previously fail if
there were multiple hidden service registered.
In the controller, we only need to know that our service is contained in
the list of active services. But we can't do a string equality check
since there might be multiple services, comma separated.
2021-11-23 09:53:36 +01:00
Oliver Gugger
ca0266d31b
Merge pull request #6012 from nayuta-ueno/chk-error-db
channeldb: check fetchOpenChannel() error
2021-11-23 09:51:56 +01:00
Oliver Gugger
260094cf07
GitHub: use go version that understands retract directive
As is customary with new GitHub actions, they don't work on first
attempt if you don't test them *sigh*

We need to use a more recent version of golang than is pre-installed to
avoid the "unknown directive: retract" error message.
2021-11-23 09:32:14 +01:00
ueno
86425091e9 channeldb: check fetchOpenChannel() error 2021-11-23 17:31:57 +09:00
Oliver Gugger
fd22aab52e
Merge pull request #5999 from guggero/kvdb-update
mod: bump version of kvdb submodule
2021-11-23 09:16:13 +01:00
Oliver Gugger
e95ee4162a
Merge pull request #5961 from jyturley/fix-5937
kvdb/bolt_compact: have log message take account space multiplier
2021-11-23 09:06:45 +01:00
Oliver Gugger
55edd1b260
scripts+GitHub: check submodule version bump 2021-11-22 14:40:28 +01:00
Jamie Turley
fb43843253 kvdb/bolt_compact: have log message take account space multiplier
[skip ci]
2021-11-21 21:52:30 -08:00
Oliver Gugger
74cc9e14a7
Merge pull request #5998 from guggero/release-notes-fix
docs: fix release notes for 0.14.0 release
2021-11-19 08:06:35 +01:00
Oliver Gugger
dc517d89c4
mod: bump version of kvdb submodule
PR #5992 was merged without a bump in the kvdb version which results in
an error when trying to pull in lnd 0.14.0-beta as a library in other
projects.

We'll need to push the kvdb/v1.2.1 tag _after_ merging this PR.
2021-11-18 12:42:32 +01:00
Oliver Gugger
03adf5c626
docs: fix formatting [skip ci] 2021-11-18 09:46:30 +01:00
Max Hillebrand
9ee2129276
docs: fix link & typo in release notes 0.14.0 2021-11-18 09:27:03 +01:00
Olaoluwa Osuntokun
df0b82f016
build: bump version to v0.14.0-beta 2021-11-17 12:02:49 -08:00
Olaoluwa Osuntokun
39b4b7158f
docs/release-notes: update contributor set for 0.14.0 2021-11-17 12:01:16 -08:00
Olaoluwa Osuntokun
451280daa4
Merge pull request #5992 from bottlepay/pg-max-conn
postgres: add connection limit
2021-11-17 11:53:52 -08:00
Olaoluwa Osuntokun
fb060f742c
Merge pull request #5991 from Roasbeef/remove-amp-hold-over
cmd/lncli: remove --amp-reuse flag from lncli payinvoice
2021-11-17 11:21:08 -08:00
Joost Jager
274faff980
postgres: add connection limit 2021-11-17 11:08:43 +01:00
Olaoluwa Osuntokun
94eae34a3b
docs/release-notes: mentionn removing amp-reuse CLI flag 2021-11-16 18:26:12 -08:00
Olaoluwa Osuntokun
7d46836e9a
cmd/lncli: remove --amp-reuse flag from lncli payinvoice
In this commit, we remove the `--amp-reuse` flag as with the latest
version of lnd that implements properly re-useable AMP invoices, this
flag is no longer needed.
2021-11-16 18:19:03 -08:00
Olaoluwa Osuntokun
b0fa19e8b0
Merge pull request #5990 from guggero/lncli-payments-nil-map
cmd/lncli: fix nil map in payment req [skip ci]
2021-11-16 12:00:36 -08:00
Oliver Gugger
f65c259f06
cmd/lncli: fix nil map in payment req [skip ci]
Fixes #5989.
Fixes a panic in lncli if a payment request and the --data flag is used
at the same time.
2021-11-16 13:51:05 +01:00
Olaoluwa Osuntokun
d45675d469
Merge pull request #5985 from Roasbeef/0-14-rc4
multi: bump version to v0.14.0-beta.rc4, include postgres+etcd in release build
2021-11-15 19:58:25 -08:00
Olaoluwa Osuntokun
e94ddf7b17
build: bump release+build version to Go 1.17.3 2021-11-15 17:29:02 -08:00
Olaoluwa Osuntokun
1bff146c43
build: add new WASM specific release/build tags
We need to drop things like postgres+etcd, as they don't understand the
WASM/JS build target.
2021-11-15 17:14:09 -08:00
Olaoluwa Osuntokun
f7dd70b5cb
docs/release-notes: add release notes for illumos drop 2021-11-15 16:04:16 -08:00
Olaoluwa Osuntokun
4c6bc80d83
build: remove illumos as a release build target 2021-11-15 16:01:15 -08:00
Olaoluwa Osuntokun
203bae9aff
build: bump version to v0.14.0-beta.rc4 2021-11-15 13:59:22 -08:00
Olaoluwa Osuntokun
68309d30c2
make+build: build with postgres+etcd for the release build 2021-11-15 13:54:24 -08:00
Olaoluwa Osuntokun
c4e55bbe6b
Merge pull request #5970 from Roasbeef/pruned-block-fix-btcwallet
build: update to new btcwallet version w/ pruned node fix
2021-11-15 10:56:42 -08:00
Olaoluwa Osuntokun
e351b879dc
docs/release-notes: add release notes for pruned node fix 2021-11-12 18:27:57 -08:00
Olaoluwa Osuntokun
d4ae92efb8
build: update to new btcwallet version w/ pruned node fix
See this PR for context: https://github.com/btcsuite/btcwallet/pull/778
2021-11-12 18:24:02 -08:00
Olaoluwa Osuntokun
1abe1da5b3
build: bump version to v0.14.0-beta.rc3 2021-11-08 18:28:22 -08:00
Olaoluwa Osuntokun
c28b26935c
Merge pull request #5950 from guggero/middleware-request-id
RPC middleware: turn request ID into end-to-end identifier
2021-11-08 18:26:20 -08:00
Olaoluwa Osuntokun
c57b573f23
Merge branch 'master' into middleware-request-id 2021-11-08 18:25:35 -08:00
Olaoluwa Osuntokun
5166e19e9e
Merge pull request #5948 from guggero/daemon-error-logging
Fix logging issues, cleanup config parsing
2021-11-08 18:05:12 -08:00
Olaoluwa Osuntokun
e7e3adeb98
Merge pull request #5941 from bhandras/graph_cache_deadlock
channeldb: avoid locking the graph cache while iterating channels
2021-11-08 17:51:07 -08:00
Oliver Gugger
842221aab2
config: move directory creation to after path fixes
Fixes #5927.
This commit moves the code that attempts to create parent directories to
the correct place _after_ we've adjusted all path values to point to the
correct places. Before this commit the macaroon and tor paths would
point to their default locations, even if the --lnddir flag was
specified.
2021-11-08 22:39:41 +01:00
Oliver Gugger
35b4382f7a
docs: update release notes 2021-11-08 22:39:41 +01:00
Oliver Gugger
41c579fd09
multi: run go fmt with go 1.17 2021-11-08 22:39:41 +01:00
Oliver Gugger
602d2065eb
lnd: make sure error is logged to file
Fixes #5936.
This commit makes sure every error that causes the Main() function to
return is logged to the log file in addition to being printed to stderr.
2021-11-08 15:15:27 +01:00
Oliver Gugger
338afef862
lnd: standardize printing to stdout
With this commit we standardize the error messages in the config parsing
section of the main package. We only print to stdout/stderr in a single
place and also make sure the same error is printed to the log (which
might or might not yet be initialized at that point).
2021-11-08 15:12:56 +01:00
Oliver Gugger
87a49b17cc
docs: add release notes 2021-11-08 15:03:00 +01:00
Oliver Gugger
54a25146f4
rpcperms: add unique request ID
This commit adds a unique request ID that is the same for each gRPC
request and response intercept message or each request/response message
of a gRPC stream.
2021-11-08 15:01:26 +01:00
Oliver Gugger
9a28a4a9ff
lnrpc+rpcperms+lntest: add unique MW message ID
This commit adds a new unique intercept message ID that is different for
each message sent to an RPC middleware. This will allow us to re-purpose
the existing request ID field into its original intention, which was to
have a unique ID for a full gRPC request/response pair or gRPC stream as
a whole.
2021-11-08 15:00:29 +01:00
Andras Banki-Horvath
0beaee0336
docs: update release notes 2021-11-08 12:40:18 +01:00
Andras Banki-Horvath
3df216f6c3
channeldb: avoid locking the graph cache while iterating channels
It may happen that we do pathfinding while also attempt to change the
graph. In this case changing the database, channel state, graph while
reading from the same sources may create deadlocks. To resolve this we
change locking policy in the graph cache when pathfinding.
2021-11-08 12:40:14 +01:00