Commit graph

1540 commits

Author SHA1 Message Date
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
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
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
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
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
ziggie
7c92c88270
docs: add release-notes 2025-10-13 12:50:05 +02:00
ziggie
b8a855f572
docs: add release-notes LND 0.21.0 2025-09-30 19:06:27 +02:00
yyforyongyu
dcdc97c70f
docs: add release note for tor.v2 deprecation 2025-09-29 13:01:33 +08:00
Olaoluwa Osuntokun
506c3d5b0d
docs/release-notes: add release notes entry 2025-09-26 17:02:11 -07:00
George Tsagkarelis
e7f7fe418b
docs: add release note 2025-09-25 11:15:31 +02:00
Olaoluwa Osuntokun
df46d18626
Merge pull request #10182 from GeorgeTsagk/aux-feature-bits
Aux feature bits
2025-09-24 18:26:35 -07:00
George Tsagkarelis
2302debd6c
docs: add release note 2025-09-23 19:05:47 +02:00
yyforyongyu
7b6589366d
docs: update release notes 2025-09-18 22:29:40 +08:00
Yong
cbed86e21d
Merge pull request #10189 from ziggie1984/fix-fee-estimation
bugfix error matching sweeper
2025-09-17 00:53:10 +08:00
ziggie
1f23c8b0eb
docs: add release-notes 2025-09-16 14:25:42 +02:00
Yong
9a6d34a028
Merge pull request #10218 from ellemouton/docs-fix-graph-links
docs: improve readability of graph SQL work
2025-09-16 15:16:48 +08:00
Elle Mouton
48674cf28c
docs: improve readability of graph SQL work 2025-09-15 12:50:33 +02:00
MPins
97f2fbb2b2
doc: release-notes-0.20.0 2025-09-12 12:26:37 -07:00
Yong
5082566ed7
Merge pull request #9677 from NishantBansal2003/conf-count
Expose confirmation count for pending 'channel open' transactions
2025-09-11 22:36:05 +08:00
Nishant Bansal
64a841b0c6
docs: add release notes
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2025-09-11 18:27:53 +05:30
Yong
d1d3a82010
Merge pull request #9884 from ellemouton/relaxFeatureBitCheck
multi: use relaxed feature bit `Set` method for peer features
2025-09-10 17:22:16 +08:00
Elle Mouton
318f4aa863
docs: add release note entry 2025-09-04 18:52:00 +02:00
Mohamed Awnallah
ad966157fc docs: add release note 2025-09-03 01:11:35 +00:00
yyforyongyu
86a915a772
docs: update release notes 2025-09-02 21:23:08 +08:00
yyforyongyu
48f88248b8
docs: update release notes 2025-08-26 20:36:22 +08:00