06fa17513c
itest: move tests by their category
2021-09-17 07:50:43 +08:00
87c13d31b4
itest: watch channel policy updates in harness node
2021-09-17 07:50:43 +08:00
d2277ac915
itest: replace chanOpen bool with chanWatchType
2021-09-17 07:50:42 +08:00
a58543d1c7
itest: remove extra graph topology subscription
2021-09-17 07:50:42 +08:00
92cd6657c5
lntest: refactor handle close channel update
2021-09-17 07:50:42 +08:00
0701834a5d
lntest: refactor handle update open channel
2021-09-17 07:50:42 +08:00
a1024163fe
itest: add more verbose log and print node state
2021-09-17 07:50:42 +08:00
eadbd69882
routing: increase log level when notifying topology change
2021-09-17 07:50:41 +08:00
44d73d7e3e
Merge pull request #5743 from guggero/amp-string-nil
...
record: fix nil pointer in log string
2021-09-16 20:16:01 +02:00
dd3f3e7ce5
record: fix nil pointer in log string
2021-09-16 19:51:03 +02:00
8b4bbfbf61
mod : Replace for OSV GO-2020-0017 JWT
...
The github.com/dgrijalva/jwt-go is no longer maintained
has this CVE https://github.com/advisories/GHSA-w73w-5m7g-f7qc
But it is being used by https://github.com/etcd-io/etcd/issues/13254
which `lnd` uses.
The https://github.com/golang-jwt/jwt/releases/tag/v3.2.1 is a fork of
the same version which was 3.2.0 with the security fix.
2021-09-16 11:23:28 +00:00
a17d161e0c
server.go: dedupe pubkey output in debug/log msgs
...
Default human readable format of NetAddress already contains pubkey:
a329c80612/channeldb/migration/lnwire21/netaddress.go (L38-L47)
2021-09-16 04:25:44 -04:00
7d012ae581
Merge pull request #5738 from naveensrinivasan/naveen/fix/dns
...
mod: bump miekg/dns to next version
2021-09-16 09:42:16 +02:00
d9534ea108
Merge pull request #5405 from ErikEk/routing-updatechanpolicy-chan-check
...
routing: report invalid channels in updatechanpolicy call
2021-09-16 09:41:02 +02:00
ae6f771443
mod: bump miekg/dns to next version
...
The dns has https://deps.dev/go/github.com%2Fmiekg%2Fdns/v1.1.25 has
GO-2020-0012 https://storage.googleapis.com/go-vulndb/golang.org/x/crypto.json
Updated the dependency with the fix.
2021-09-15 23:11:04 +00:00
15ec974b15
Merge pull request #5734 from bhandras/itest_parallelism
...
build: fix itest parallelism
2021-09-15 20:15:29 +02:00
3c15e3d81a
Merge pull request #5686 from yyforyongyu/fix-health-check
...
healthcheck: quit checking when max attempts are reached
2021-09-15 17:41:44 +02:00
3b4965d776
docs: update release note for healthcheck fix
2021-09-15 19:52:25 +08:00
d19ee28089
healthcheck: stop checking when max attempts are reached
...
This commit adds a check to the returned error from calling retryCheck
such that when the max number of attempts is reached, the health check
will quit.
2021-09-15 19:52:03 +08:00
3204e2d74b
multi: add shutdown logs in subservers
...
This commit adds a simple shutdown to every subserver to assist
debugging.
2021-09-15 19:52:03 +08:00
16436a3230
docs: update release notes
2021-09-15 10:27:00 +02:00
ef7e46bc2e
travis: fix ARM and Windows itest parallelism
2021-09-15 10:26:52 +02:00
46e9481e6c
routing: invalid channels updatechanpolicy call
2021-09-15 10:20:49 +02:00
03bce2129b
Merge pull request #5732 from ellemouton/returnPingHanglerIfError
...
peer: return from pingHandler if error
2021-09-15 09:48:17 +02:00
08c9d3fbdd
Merge pull request #5304 from orbitalturtle/check-macaroon-rpcs
...
rpc: Bake and validate macaroons with external permissions
2021-09-15 09:42:38 +02:00
171d047972
peer: return from pingHandler if error
...
This commit adds a missing return statement to pingHandler. This
prevents a nil pointer dereference panic from happening if an error is
returned from RegisterBlockEpochNtfn.
2021-09-15 08:43:16 +02:00
fb06c14c22
Merge pull request #5731 from guggero/arm-reduce-parallel
...
Travis: reduce ARM itest parallelism to 2
2021-09-14 18:06:29 -07:00
b8d5b7fa7c
Merge pull request #5315 from orbitalturtle/block_height_discrepancy
...
Router: fix block height discrepancy
2021-09-14 17:57:20 -07:00
449f84d849
docs: update release notes for #5304
2021-09-14 16:28:31 -05:00
0120c86687
itest: Test new RPC call for checking macaroon permissions
2021-09-14 16:27:02 -05:00
ba17842e34
itest: Test new BakeMacaroonRequest for allowing external permissions
2021-09-14 16:27:02 -05:00
38c47e86f7
lncli: Add allow external permissions option to bakemacaroons cli call
2021-09-14 16:27:02 -05:00
72a46b8673
rpcserver: Add flag to BakeMacaroonRequest for allowing external permissions
2021-09-14 16:27:01 -05:00
d10a682fa9
macaroons+rpcserver: Add new RPC call for checking macaroon permissions
2021-09-14 16:26:28 -05:00
4d89585a2d
Travis: reduce ARM itest parallelism to 2
...
Reduces the number of concurrent tranches of itests running to two on
ARM in an attempt to make the tests less flaky because of very high CPU
usage with the default 4 parallel tranches.
2021-09-14 22:11:25 +02:00
1ea6db1f26
Merge pull request #5725 from bottlepay/fix-amp-itest
...
lntest/itest: fix SendPaymentAMP test
2021-09-14 22:06:58 +02:00
3827d15ca6
lntest/itest: fix SendPaymentAMP test
2021-09-14 18:53:17 +02:00
23ded04ff5
docs: update release notes 0.14
2021-09-14 13:12:23 +02:00
3648f2fa4b
payments: prefetch payment on hot paths
2021-09-14 13:12:23 +02:00
152d1dc36a
kvdb: extra test coverage for kvdb.Prefetch
2021-09-14 13:12:23 +02:00
256b62e0d5
etcd: add kvdb.Prefetch
...
This commit extends the kvdb interface in a backwards compatible way
such that we'll be able to prefetch all keys in a bucket in one go reducing the
number of roundtrips.
2021-09-14 13:12:22 +02:00
daec66a4e4
etcd: STM to allow prefetching of keys and full ranges
...
This commit adds more full range caching to the STM such that we'll
be able to prefetch keys and ranges on the kvdb level. This will allow
us to reduce roundtrips to etcd do fast iteration of small ranges.
2021-09-14 13:12:19 +02:00
3608d36cca
Merge pull request #5637 from yyforyongyu/fix-bitcoind-backup
...
itest: fix restore backup file test flake for bitcoind backend
2021-09-13 20:36:06 -07:00
02c4f6fe69
Docs: Updates 0.14.0 release notes
2021-09-13 21:17:46 -04:00
70dfa34f38
router: test that this change catches up router to the latest blocks
2021-09-13 21:15:50 -04:00
147c7dc94c
router: fix 'out of order block error' by retrieving missing blocks in router
...
Fixes an issue where an out of order block error occurs in the router. When this occurs, the change uses the chain notifier to catch up on missed blocks and uses those blocks to fully update the routing graph with closed channels. Fixes #4710 , #5132
2021-09-13 21:15:49 -04:00
63bb77082e
docs: update release notes for 0.14
2021-09-14 07:34:38 +08:00
c4913e6f4a
itest: require server being started when creating node
...
We now require the lnd to be fully started when creating a new node
using newNode.
2021-09-14 07:34:10 +08:00
286ca35bf4
rpcserver: check server is started in ExportAllChannelBackups
2021-09-14 07:34:10 +08:00
f5bac969e3
rpcperms+rpc: add ServerActive state and set it when server started
2021-09-14 07:34:09 +08:00