naveen
04f57c6f57
mod: Upgraded xz library to FIX the CVE-2021-29482
...
Included a replace directive to avoid using an high severity CVE
https://github.com/advisories/GHSA-25xm-hr59-7c27
This library is indirectly referenced and cannot be upgraded directly.
The https://github.com/fergusstrange/embedded-postgres/pull/42 was
merged to fix the CVE issue.
2021-09-29 15:16:26 +00:00
Oliver Gugger
a5202a89e6
docs: add release notes
2021-09-29 17:00:05 +02:00
Oliver Gugger
3385d38414
Merge pull request #5766 from JssDWt/update-csharp-grpc-docs-grpc.net.client
...
Update C# grpc docs to use Grpc.Net.Client
2021-09-29 12:02:03 +02:00
Olaoluwa Osuntokun
7f3c59033b
Merge pull request #5527 from ErikEk/isset-validateconfig
...
config: sync-freelist being ignored
2021-09-28 20:35:57 -07:00
Olaoluwa Osuntokun
884cc0d191
Merge pull request #5768 from priyanshiiit/lookupInvoice
...
lnd: adds NOT_FOUND status code for LookupInvoice
2021-09-28 14:33:29 -07:00
yyforyongyu
e2129cd8a9
docs: update release note for load config err
2021-09-29 04:53:03 +08:00
Olaoluwa Osuntokun
7bde1662e2
multi: move breach arbiter and utxo nursery into contractcourt package
...
In this commit, we take an initial step towards converting the existing
breach arbiter and utxo nursery logic into contract resolvers by moving
the files as is, into the `contractcourt` pacakge.
This commit is primarily move only, though we had to massage some
interfaces and config names along the way to make things compile and the
tests run properly.
2021-09-27 19:10:31 -07:00
Oliver Gugger
be2566cf26
Merge pull request #5053 from guggero/verify-count
...
verify-install: add keys to repo, pin signatures to keys
2021-09-27 18:28:05 +02:00
Oliver Gugger
421add062c
docs: add release notes
2021-09-27 15:49:12 +02:00
Oliver Gugger
f60a1ba0ce
Merge pull request #5699 from guggero/lncli-deletepayment
...
lncli: add deletepayments command
2021-09-27 13:41:41 +02:00
Oliver Gugger
57d203c9f1
docs: add release notes
2021-09-27 12:34:53 +02:00
ErikEk
d5463818a8
bbolt sync-freelist ignored
2021-09-27 06:49:56 +01:00
yyforyongyu
198dc73f4e
docs: add release notes for fwding pkg gc
2021-09-23 13:24:15 +08:00
github2k20
927a13e514
docs: Updates release notes for 0.14
2021-09-22 14:05:50 +05:30
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
Juan Pablo Civile
78ce3abee5
routing: relax penalties for channel disabled errors
...
It was being considered a misbehaviour from the intermediate hop which
penalized that hop, which is a bit harsh considering mobile nodes. We
change it be considered as other channel update types and only penalize
the channel that failed.
2021-09-20 12:22:51 -03: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
Jesse de Wit
0577a6086a
docs: Update C# grpc docs to use Grpc.Net.Client
...
The Grpc.Core NuGet package is in maintentance mode. Grpc.Net.Client is now the recommended implementation.
2021-09-20 12:20:46 +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