Commit graph

1253 commits

Author SHA1 Message Date
ziggie
71b8fac819
docs: add release-notes 2023-03-31 08:56:15 +02:00
Oliver Gugger
ec5b95c9a9
Merge pull request #7517 from yyforyongyu/fix-funding-locked
Replace `FundingLocked` with `ChannelReady`
2023-03-30 17:22:17 +02:00
Elle Mouton
82afb6a958
docs: add release note for 7556 2023-03-30 14:46:56 +02:00
ardevd
d1f961c598 docs: added release notes 2023-03-25 15:32:10 +01:00
Eval EXEC
cbcbddfe29
rpcserver: add time_lock_delta overflow check 2023-03-23 21:34:12 +08:00
bitromortac
4aa90cf474
routing: add error case for zero capacity
Since no edge should have a zero capacity associated with it, passing a
zero capacity to the bimodal probability calculation results now in an
error.
2023-03-23 11:12:10 +01:00
Elle Mouton
a3e9f5b83c
docs: add release note for 7405 2023-03-20 20:14:02 +02:00
Elle Mouton
ab98fc43fe
docs: add release note for 7069 2023-03-20 16:51:51 +02:00
yyforyongyu
c4aea6e789
docs: update release note for channel_ready 2023-03-17 18:22:00 +08:00
Oliver Gugger
ae39cd9e91
Merge pull request #7514 from yyforyongyu/rpc-verbose-log
itest+rpcserver: fix itest flake in `3rd_party_anchor_spend`
2023-03-17 08:48:40 +01:00
yyforyongyu
ef4b5dba85
docs: update release note 2023-03-17 10:01:42 +08:00
Oliver Gugger
2e8dc7bf94
Merge pull request #7439 from ellemouton/bolt3-test-vectors
lnwallet: update Bolt3 test vectors
2023-03-16 18:47:19 +01:00
Elle Mouton
05793e5591
docs: add release note 2023-03-16 17:27:39 +02:00
Elle Mouton
bc868fe270
docs: update release notes with 7059 2023-03-16 15:00:26 +02:00
Tommy Volk
7853cf0a43
docs: update release notes 2023-03-16 08:31:59 +08:00
positiveblue
034853a0a8
docs: add release notes 2023-03-14 19:26:18 -07:00
Oliver Gugger
1ed63a85b3
docs: add release notes 2023-03-13 12:46:05 +01:00
Olaoluwa Osuntokun
6b8a1f1d67
docs/release-notes: add note for new tx rebroadcast 2023-03-10 19:07:42 -08:00
Olaoluwa Osuntokun
0bbbd9b911
build: bump min Go version to 1.19
Fixes https://github.com/lightningnetwork/lnd/issues/7495
2023-03-08 18:02:57 -08:00
Elle Mouton
f6ef3db6ea
watchtower/wtdb: add tower-to-session index entry for all towers
In this commit, a small migration is added to the watchtower client DB
to ensure that there is an entry in the towerID-to-sessionID index for
all towers in the db regardless of if they have sessions or not. This is
required as a follow up to migration 1 since that migration only created
entries in the index for towers that had associated sessions which would
lead to "tower not found" errors on start up.
2023-03-08 11:00:40 +02:00
Slyghtning
910e3832dc docs: update release notes 2023-03-03 10:07:46 +01:00
Olaoluwa Osuntokun
251802d796
Merge pull request #7444 from bitromortac/2302-capacity-config
routing: configurable capacity fraction for apriori probability
2023-03-02 18:39:01 -08:00
Olaoluwa Osuntokun
530988cadf
Merge pull request #7467 from yyforyongyu/rename-lookuphtlc
rpcserver: rename `LookupHtlc` to `LookupHtlcResolution`
2023-03-01 12:05:09 -08:00
84adam
713dece401 docs: add notes on contents of Postgres DB as Key-Value store to Postgres.md 2023-02-28 21:36:24 -07:00
yyforyongyu
e3b3fea3ea
docs: update release notes for LookupHtlcResolution 2023-03-01 01:47:08 +08:00
Oliver Gugger
610fc0d927
docs: add release notes 2023-02-27 21:59:45 +01:00
bitromortac
a73581610e
routing+lnrpc: make capacity factor configurable
We make the capacity factor configurable via an lnd.conf routerrpc
apriori parameter. The capacity factor trades off increased success
probability with a reduced set of channel candidates, which may lead to
increased fees. To let users choose whether the factor is active or not,
we add a config setting where a capacity fraction of 1.0 disables the
factor. We limit the capacity fraction to values between 0.75 and 1.0.
Lower values may discard too many channels.
2023-02-24 15:28:55 +01:00
Slyghtning
313983f106 docs: update release notes 2023-02-24 10:49:11 +01:00
yyforyongyu
7a3b3c89c2
docs: update release docs 2023-02-23 21:56:13 +08:00
yyforyongyu
0bc86a3b4b
multi: move itest out of lntest
This commit moves all the test cases living in `itest` out of `lntest`,
further making `lntest` an independent package for general testing.
2023-02-23 21:56:08 +08:00
Olaoluwa Osuntokun
d793a53bba
Merge pull request #7406 from Roasbeef/gossip-cache-fix
multi: bump neutrino+btcwallet versions, use new generic lru cache
2023-02-22 15:49:49 -08:00
Oliver Gugger
b3e27f9ba7
Merge pull request #7415 from bitromortac/2302-max-htlc
routing+discovery: fail non-maxHTLC channel updates in validation
2023-02-22 08:45:56 +01:00
Olaoluwa Osuntokun
a15c45231e
multi: bump neutrino+btcwallet versions, use new generic lru cache 2023-02-21 17:28:48 -08:00
Olaoluwa Osuntokun
f4fdd82327
Merge pull request #7264 from yyforyongyu/gossip-resend-messages
discovery: fix message order in batch sending
2023-02-21 17:10:13 -08:00
bitromortac
6aac2762b3
routing: stricter maxHTLC checks
We require channel updates to have the max HTLC message flag set.

Several flows need to pass that check before channel updates are
forwarded to peers:
* after channel funding: `addToRouterGraph`
* after receiving channel updates from a peer:
  `ProcessRemoteAnnouncement`
* after we update channel policies: `PropagateChanPolicyUpdate`
2023-02-21 14:03:51 +01:00
Olaoluwa Osuntokun
748461cba4
Merge pull request #7379 from ellemouton/addFieldsToRevocationLog
multi: add local and remote amount fields to revocation log
2023-02-20 17:57:08 -08:00
yyforyongyu
9b61e09ca7
docs: update release notes for gossip fix
This commit also puts relevant docs closer to each other.
2023-02-17 14:16:31 +08:00
Oliver Gugger
93b7821df3
Merge pull request #7408 from carlaKC/bugfix-updatenodeanncli
bugfix/trivial: fix update node announcement feature bit add /remove
2023-02-16 21:40:36 +01:00
Carla Kirk-Cohen
03a61617f8
release-notes: add UpdateNodeAnnouncement changes 2023-02-16 14:42:20 -05:00
Elle Mouton
884cb2047b
docs: update release notes 2023-02-16 20:47:35 +02:00
Oliver Gugger
38dc67e1ef
Merge pull request #6815 from bitromortac/2205-bimodal
pathfinding: probability for bimodal distribution
2023-02-15 14:19:32 +01:00
bitromortac
686816d784
routing: implement bimodal probability estimator
Implements a new probability estimator based on a probability theory
framework.

The computed probability consists of:
* the direct channel probability, which is estimated based on a
  depleted liquidity distribution model, formulas and broader concept derived
  after Pickhardt et al. https://arxiv.org/abs/2103.08576
* an extension of the probability model to incorporate knowledge decay
  after time for previous successes and failures
* a mixed node probability taking into account successes/failures on other
  channels of the node (similar to the apriori approach)
2023-02-14 13:34:25 +01:00
Oliver Gugger
f245591e4b
Merge pull request #7386 from guggero/remote-signer-p2tr-inputs
remote signer: fix channel funding with mixed funding input types
2023-02-14 12:34:11 +01:00
Oliver Gugger
c79b0799bf
Merge pull request #7402 from bottlepay/final-resolution-info
rpcserver: expose store final htlc resolutions flag on info call
2023-02-13 23:12:32 +01:00
Joost Jager
784c0631f3
rpcserver: expose store final htlc resolutions flag on info call
The storage of final htlc resolutions is a safety-critical feature. By
exposing it through the GetInfo call, connected applications can
ensure that the feature is turned on and avoid relying on the assumption
that lnd was configured correctly.
2023-02-13 11:53:27 +01:00
adiabat
17f7b9f322 routerrpc: Check for nil IncomingCircuitKey
The grpc stream.Recv() will decode an ForwardHtlcInterceptResponse
without an IncomingCircuit, which will leave that pointer nil,
causing a nil pointer dereferece when components of in.IncomingCircuitKey
are used in the resolveFromClient() function.

This commit checks for the nil pointer and returns an error before
the rest of the parsing.
2023-02-10 13:40:40 -05:00
Torakushi
9edc98f940
update release-notes-0.16.0 2023-02-08 12:35:48 +01:00
Oliver Gugger
e7fb48ff73
docs: add release notes 2023-02-07 22:15:14 +01:00
Oliver Gugger
a233df99c4
Merge pull request #7388 from bhandras/cert-fixup-lnd
lnd: bump lnd/cert version to v1.2.1
2023-02-07 17:23:25 +01:00
Andras Banki-Horvath
91af62a031
lnd: bump lnd/cert version
This commit bumps the lnd/cert version to 1.2.1 and fixes all call sites
where cert.GenCertPair was called.
2023-02-07 09:50:56 +01:00