Joost Jager
ae6cf72b46
lncfg: add postgres
2021-09-21 10:44:20 +02:00
Olaoluwa Osuntokun
9264185f5b
Merge pull request #5101 from guggero/macaroon-interceptor
...
Add macaroon based RPC middleware interceptor
2021-09-20 19:15:04 -07:00
Olaoluwa Osuntokun
ac5f88bae8
Merge pull request #5618 from Crypt-iQ/coop_switch_sync_08092021
...
multi: optimistically shutdown link during coop close
2021-09-20 18:09:07 -07:00
Oliver Gugger
3f7909b48f
doc: add release notes
2021-09-20 17:04:39 +02:00
Oliver Gugger
4b7452a35e
lnrpc+itest: fix write deadline issue with WS ping
...
Fixes #5680 .
To make sure we're always reading from the WebSocket connection, we need
to always have an ongoing (but blocking) conn.ReadMessage() call going
on. To achieve this, we do the read in a separate goroutine and write to
a buffered channel. That way we can always read the next message while
the current one is being forwarded. This allows incoming ping messages
to be received and processed which then leads to the deadlines to be
extended correctly.
2021-09-20 12:21:03 +02:00
Oliver Gugger
29a8661517
Merge pull request #5640 from bhandras/kvdb-prefetch
...
kvdb+channeld: extend `kvdb` with `Prefetch` for prefetching buckets in one go and speed up payment control by prefetching payments on hot paths
2021-09-20 09:42:18 +02:00
Olaoluwa Osuntokun
650827aade
routing: add wait.NoError to TestBlockDifferenceFix assertion
...
This fixes a flake I've seen in the wild lately:
```
--- FAIL: TestBlockDifferenceFix (0.01s)
router_test.go:4335: height should have been updated to 5, instead got 4
FAIL
FAIL github.com/lightningnetwork/lnd/routing 3.865s
FAIL
```
We wrap things in an assertion loop to ensure that timing quirks don't
cause the test to fail sporadically.
2021-09-17 17:02:03 -07:00
Olaoluwa Osuntokun
6be472eb98
Merge pull request #5737 from naveensrinivasan/naveen/feat/fix-jwt-osv
...
mod : Replace for OSV GO-2020-0017 JWT
2021-09-17 16:30:06 -07:00
Olaoluwa Osuntokun
854d8bcd39
Merge pull request #5722 from xanoni/dedupe-pubkey-log-output
...
server.go: dedupe pubkey output in debug/log msgs
2021-09-17 16:28:15 -07:00
yyforyongyu
87ab4de149
docs: add release note
2021-09-17 07:51:07 +08:00
Oliver Gugger
dd3f3e7ce5
record: fix nil pointer in log string
2021-09-16 19:51:03 +02:00
naveen
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
xanoni
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
Oliver Gugger
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
Oliver Gugger
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
naveen
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
Oliver Gugger
15ec974b15
Merge pull request #5734 from bhandras/itest_parallelism
...
build: fix itest parallelism
2021-09-15 20:15:29 +02:00
yyforyongyu
3b4965d776
docs: update release note for healthcheck fix
2021-09-15 19:52:25 +08:00
Andras Banki-Horvath
16436a3230
docs: update release notes
2021-09-15 10:27:00 +02:00
ErikEk
46e9481e6c
routing: invalid channels updatechanpolicy call
2021-09-15 10:20:49 +02:00
Oliver Gugger
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
Olaoluwa Osuntokun
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
Olaoluwa Osuntokun
b8d5b7fa7c
Merge pull request #5315 from orbitalturtle/block_height_discrepancy
...
Router: fix block height discrepancy
2021-09-14 17:57:20 -07:00
Turtle
449f84d849
docs: update release notes for #5304
2021-09-14 16:28:31 -05:00
Oliver Gugger
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
Joost Jager
3827d15ca6
lntest/itest: fix SendPaymentAMP test
2021-09-14 18:53:17 +02:00
Andras Banki-Horvath
23ded04ff5
docs: update release notes 0.14
2021-09-14 13:12:23 +02:00
Turtle
02c4f6fe69
Docs: Updates 0.14.0 release notes
2021-09-13 21:17:46 -04:00
yyforyongyu
63bb77082e
docs: update release notes for 0.14
2021-09-14 07:34:38 +08:00
Olaoluwa Osuntokun
b0f3a08f2d
Merge pull request #5465 from Crypt-iQ/spend_height_0702
...
chainntnfs: populate spendsByHeight during historical dispatch
2021-09-13 11:58:49 -07:00
eugene
868958d2bc
docs: update release notes for 0.14
2021-09-13 13:29:51 -04:00
Bjarne Magnussen
91c3fb59ec
docs: release notes for 0.14
2021-09-13 12:50:40 +02:00
Oliver Gugger
25a53f04f7
Merge pull request #5702 from bhandras/itest_etcd_logs
...
itest: save etcd logs along node logs in separate files
2021-09-13 11:50:35 +02:00
Olaoluwa Osuntokun
27b416935e
Merge pull request #5695 from ErikEk/lncli-remove-error-log
...
lncli: remove error logs
2021-09-10 16:50:34 -07:00
Andras Banki-Horvath
400cc0eb96
docs: update release-notes-0.14.0.md
2021-09-10 14:40:58 +02:00
Oliver Gugger
4337116bce
Merge pull request #5697 from arshbot/export-selectHopHints
...
invoicesrpc: expose selectHopHints
2021-09-08 10:27:36 +02:00
Harsha Goli
8720b8f657
docs: update release-notes-0.14.0.md
2021-09-07 14:45:35 -07:00
Andras Banki-Horvath
f2cc783043
docs: update release-notes-0.14.0.md
2021-09-07 10:46:50 +02:00
Oliver Gugger
d50ee834e1
Merge pull request #5688 from bhandras/recovery_itest_flake
...
itest: fix on-chain recovery flake caused by short timeout/btcd on ARM
2021-09-07 10:44:43 +02:00
Andras Banki-Horvath
b1288ae233
docs: update release-notes-0.14.0.md
2021-09-06 21:46:23 +02:00
ErikEk
195e57025b
lncli: remove error logs
2021-09-06 19:12:43 +02:00
Oliver Gugger
180fba056f
docs: add BatchOpenChannel to PSBT doc and release notes
2021-09-03 18:39:45 +02:00
eugene
74693ed491
docs: update release notes for 0.14.0
2021-09-01 16:49:28 -04:00
Wilmer Paulino
61a0112765
docs: add explicit channel negotiation text to release notes
2021-08-30 19:17:51 -07:00
Olaoluwa Osuntokun
844874252f
Merge pull request #5676 from ErikEk/chainnotifier-remove-error-log
...
chainnotifier: remove error logs
2021-08-30 18:35:12 -07:00
Olaoluwa Osuntokun
480a111c54
Merge pull request #5453 from Crypt-iQ/neutrino_conf_0629
...
chainntnfs: neutrinonotify patches
2021-08-30 16:04:57 -07:00
Olaoluwa Osuntokun
8339b285e7
docs/release-notes: add new brontide optimization to 0.14 notes
2021-08-27 16:57:21 -07:00
Olaoluwa Osuntokun
c93824ec9a
Merge pull request #5621 from Roasbeef/ping-pong-headers
...
peer: always send latest block header as part of ping messages
2021-08-27 16:55:46 -07:00
ErikEk
c68a508535
chainnotifier: remove error log
2021-08-28 00:13:37 +02:00
eugene
9f6f5e963a
docs: update release notes for 0.14
2021-08-27 14:12:02 -04:00