Commit graph

1967 commits

Author SHA1 Message Date
ziggie
1551b44d6d
docs: move post-0.20.2 entries into new 0.20.3 release notes
The v0.20.2-beta tag was cut on 2026-07-07 and published as a release
the following day, but the seven backports that landed on the release
branch afterwards all appended their entries to
release-notes-0.20.2.md, since no notes file existed for the next
patch release. The published 0.20.2 notes therefore advertised fixes
that are not in the 0.20.2 binaries.

Create release-notes-0.20.3.md and move those entries into it,
restoring release-notes-0.20.2.md to its content at the v0.20.2-beta
tag. The entry prose is carried over verbatim and matches the wording
already used for the same backports in release-notes-0.21.2.md on the
v0.21.x branch.
2026-08-07 09:53:15 -03:00
ziggieXXX
7611889fcb
Merge pull request #11030 from lightningnetwork/backport-11019-to-v0.20.x-branch
[v0.20.x-branch] Backport #11019: lnwallet/chancloser: fix data race in the legacy coop close state machine
2026-08-07 09:31:30 -03:00
Olaoluwa Osuntokun
23257e7253
docs: add release notes entry for the coop close fixes
Backport of the release note from PR #11019, retargeted from
release-notes-0.21.2.md to release-notes-0.20.2.md.
2026-08-07 00:09:02 -03:00
ziggie
93230c84e4
docs: add interceptor auto-fail height release note 2026-08-07 00:03:25 -03:00
ziggie
f93ca95481
docs: update release notes 2026-08-06 08:48:41 -03:00
ziggie
fab4905aa5 docs: update 0.21.2 release notes
(cherry picked from commit 758bbb8e52)
2026-08-05 18:15:09 +00:00
Olaoluwa Osuntokun
e18a3428c5
discovery: bound channel range reply buffering
In this commit, we cap each QueryChannelRange response at 100,000 SCIDs
across all streamed replies. The existing reply-count limit did not track
the aggregate decoded working set, so memory use varied with the encoding
and composition of the reply stream.

We count raw SCIDs before timestamp filtering, charge replies using the
received encoding type, and release all accumulated range state on any
error. This bounds both memory and CPU work while still leaving headroom
above the current graph.

(cherry picked from commit ceff94fadd)
2026-08-03 18:07:22 -03:00
bitromortac
a08de6de32
docs: update release notes
Add the blinded node-ID forwarding changes to the v0.20.2 release notes.

(cherry picked from commit f42b429899)
2026-07-30 12:42:30 -03:00
ziggie
cf20de9bfb
docs: add v0.20.2 release note
(cherry picked from commit 9c5f32a2ec)
2026-06-26 14:29:35 -03:00
ziggie
b9619a28cd
docs: update release notes
(cherry picked from commit bffae65a60)
2026-06-26 07:58:48 -03:00
Erick Cestari
010f72681b
docs: add release note for 0.20.2
(cherry picked from commit 2ee49698af)
2026-06-25 14:26:48 -03:00
Matt Morehouse
f427fee341 docs: add release note for #10540 2026-02-04 17:16:20 -08:00
Olaoluwa Osuntokun
fe486e13a9 graphdb: fix backwards-compat for channel edge feature deserialization
This commit fixes a backwards compatibility issue that prevented nodes
from upgrading from v0.19.x to v0.20.x.

In v0.19.x, channel edge features were serialized as raw feature bytes
without a length prefix. In v0.20.x (commit 2f2845dfc), the serialization
changed to use Features.Encode() which adds a 2-byte big-endian length
prefix before the feature bits. The deserialization code was updated to
use Features.Decode() which expects this length prefix.

When v0.20.x reads a database created by v0.19.x, Decode() tries to read
a length prefix that doesn't exist, causing an EOF error:

    unable to decode features: EOF

The fix adds a deserializeChanEdgeFeatures() helper that detects which
format is being read and decodes accordingly:

- New format (v0.20+): First 2 bytes encode the length of the remaining
  bytes. Detected when uint16(bytes[0:2]) == len(bytes)-2.

- Legacy format (pre-v0.20): Raw feature bits without length prefix.
  Uses DecodeBase256 with the known length.

The format detection is safe because in the legacy format, the first byte
always has at least one bit set (the serialization uses minimum bytes),
so the first two bytes can never encode a value equal to len-2.

Fixes #10528.

(cherry picked from commit 56a7f45b99)
2026-02-03 18:24:39 -08:00
Olaoluwa Osuntokun
1495920bb9 Revert "Merge pull request #10510 from lightningnetwork/backport-10331-to-v0.20.x-branch"
This reverts commit 40d8b475b5, reversing
changes made to 0b9e8c33e1.
2026-01-26 13:36:14 -04:00
Olaoluwa Osuntokun
c12c9e7bd2 docs/release-notes: add release notes entry 2026-01-16 15:32:43 -08:00
ziggie
8565d12e40
mod: update the minimum go version to 1.24.11
We update the minimum required go version to build the LND
exectuable to the latest minor release of go 1.24.11.

(cherry picked from commit e26a114cdc)
2026-01-13 20:30:10 +01:00
Olaoluwa Osuntokun
5cf38edc62
docs/release-notes: add release notes
(cherry picked from commit 7da41cb367)
2026-01-13 08:17:50 +01:00
Olaoluwa Osuntokun
8b471eadeb
discovery: enforce non-zero timestamp in gossip messages
In this commit, we add validation for channel updates and node
announcements to ensure that we reject gossip messages with zero
timestamps at the discovery layer.

From BOLT 7:
  "MUST set timestamp to greater than 0, AND to greater than any
  previously-sent channel_update for this short_channel_id."

This validation is performed in the gossip handlers (handleNodeAnnouncement
and handleChanUpdate) rather than at the wire protocol level. This approach
ensures we can still decode messages from disk or embedded in onion errors
while rejecting invalid gossip from peers.

Remote peers sending zero-timestamp gossip will have their ban score
incremented.

(cherry picked from commit cad1b957bf)
2026-01-12 14:05:21 +01:00
Abdullahi Yunus
580e820b6a
docs: add release note
(cherry picked from commit 68f558c865)
2026-01-05 20:31:45 +01:00
ziggie
99b136e39e
docs: add release-notes for LND 20.1
(cherry picked from commit e5b0704d73)
2025-12-16 18:18:22 +01:00
ziggieXXX
eceaadc958
Merge pull request #10445 from lightningnetwork/backport-10439-to-v0.20.x-branch
[v0.20.x-branch] Backport #10439: Always add the payment address when probing an invoice
2025-12-15 12:59:18 +01:00
Elle
07b845207f
Merge pull request #10443 from ellemouton/backport-fixMissingEdge
[backport] localchans: populate FundingScript for missing edges
2025-12-15 08:02:08 +02:00
ziggie
f82c35c777
docs: add release-notes for LND 20.1
(cherry picked from commit ac30443cc1)
2025-12-13 01:28:32 +01:00
ziggie
43091bdd51
docs: add release-notes for LND 20.1 2025-12-12 10:10:40 +01:00
ziggie
68c4809913
docs: update api documentation for estimateRouteFee 2025-12-12 10:10:40 +01:00
Elle Mouton
53994daf13
docs: update release notes 2025-12-12 10:51:14 +02:00
Yong
189e23af97
Merge pull request #10429 from ziggie1984/backport/fix-sql-pool-exhaustion
backport: fix potential sql tx exhaustion
2025-12-11 23:02:42 +08:00
ziggie
0c7db1a206
docs: add release-notes for LND 20.1 2025-12-09 16:16:46 +01:00
Elle Mouton
ad87b492d1
docs: add release notes for race condition fixes 2025-12-09 10:18:39 +02:00
Yong
ec480f033f
Merge pull request #10422 from mohamedawnallah/handle-partial-tls-files-v0.20.x
tls_manager: port tls partial files handling back to `v0.20.x-branch`
2025-12-05 20:05:54 +08:00
Mohamed Awnallah
222e038a77 docs: update release notes 2025-12-04 11:20:41 +00:00
Elle Mouton
2590593c3f
docs: add release note 2025-12-04 12:21:42 +02:00
Olaoluwa Osuntokun
b60920b1ae
Merge pull request #10402 from ziggie1984/backport/fix-mission-control-startup
backport:allow misson control manager to startup despite errors
2025-12-02 19:20:56 -08:00
ziggie
1fa6f70b0d
docs: add release-notes for LND 20.1 2025-12-02 20:47:50 +01:00
ziggie
6bdfb1dc4d
docs: add release-notes for LND 20.1 2025-11-28 09:36:34 +01:00
ziggie
a25659a6e4
lncfg+scripts: use configurable global lock for postgres backends
Replace hardcoded WithGlobalLock assignment with configurable
options wallet postgres backends. Also add the WithGlobalLock
option to the channeldb table for postgres backends.

Defaults:
- channeldb: false (allow concurrent access)
- wallet: true (maintain safe single-writer behavior)

Users can now override these defaults via:
- db.postgres.channeldb-with-global-lock
- db.postgres.walletdb-with-global-lock

This gives operators flexibility while maintaining safe defaults
until full native SQL migration is complete.

Moreover exclude db.postgres.walletdb-with-global-lock check
in the sample config file script. We cannot easily check the
correct default because we set it later in the LND startup
sequence so we exclude it.
2025-11-28 09:36:34 +01:00
bitromortac
7bf9f30b55
docs: add release-notes for lnd v0.20.1 2025-11-27 13:11:18 +01:00
ziggie
465013f097
docs: add release-notes for LND 20.1 2025-11-22 09:47:23 +01:00
ziggie
da55e567e9
docs: add release-notes for 20.1 2025-11-19 19:03:19 +01:00
Olaoluwa Osuntokun
adaa893f22
docs: add release notes entry 2025-11-03 10:44:14 -08:00
Yong
9f5094c98e
Merge pull request #10315 from saubyk/db-migration-guide
docs: added a user guide for db migration
2025-10-29 00:49:08 +08:00
Yong
995a1e75cd
Merge pull request #10314 from AbelLykens/patch-2
[docs] Typo recovery.md
2025-10-28 18:31:55 +08:00
saubyk
99745f3e60
docs: added a user guide for db migration 2025-10-27 11:55:07 -07:00
Yong
ead95de2ce
Merge pull request #10312 from saubyk/release-signing-doc-url-fix
docs: fix build instructions doc url
2025-10-27 18:09:47 +08:00
Olaoluwa Osuntokun
6a82c61f47
Merge pull request #10280 from mohamedawnallah/optimize-neutrino-rescan
rpcserver: resolve root cause of premature wallet rescanning
2025-10-23 19:33:21 +02:00
Mohamed Awnallah
f761dc4c7a docs: update release notes v0.20.0 2025-10-22 18:01:48 +00:00
AbelLykens
529ee2eff7
[docs] Typo recovery.md
`-multi_file` should be `--multi_file`
2025-10-22 13:30:58 +02:00
saubyk
5ef97632a7
docs: fix build instructions doc url
Signed-off-by: saubyk <39208279+saubyk@users.noreply.github.com>
2025-10-21 17:32:24 -07:00
Boris Nagaev
4fc8d8dda3
build: update CI+release version to Go 1.25.3
We also update the go.mod files to pin to Go 1.24.9.
2025-10-21 14:32:44 -03:00
Olaoluwa Osuntokun
a315ad3b50
Merge pull request #10273 from ziggie1984/fix-nursery-height-hint
fix height hint Zero issue in utxonursery
2025-10-20 14:51:05 +01:00