Commit graph

1989 commits

Author SHA1 Message Date
Olaoluwa Osuntokun
b3e37edfae
Merge pull request #10563 from Roasbeef/go-1-25
build+docs: bump minimum Go version to 1.25.5
2026-02-11 14:55:30 -08:00
ziggieXXX
3267fec34a
Merge pull request #10536 from starius/unlock-wait
lncli unlock: wait until daemon can unlock
2026-02-11 17:28:55 +01:00
Olaoluwa Osuntokun
ba1fb50380 build+docs: bump minimum Go version to 1.25.5
With Go 1.26 now released, this bumps the minimum required Go version
from 1.24.11 to 1.25.5 across all go.mod files and updates the
installation documentation with the correct download links and SHA256
hashes for Go 1.25.5 binaries.

The build system (Dockerfiles, Makefile, CI) was already using Go 1.25.5,
so this change aligns the go.mod minimum version to match.
2026-02-10 12:54:10 -08:00
Slyghtning
7766c1dd9a
docs: add release notes for wallet_synced RPC field 2026-02-05 08:58:33 +01:00
Boris Nagaev
d8f39fa1b4
docs/release-notes: add release notes entry 2026-02-04 15:21:03 -05:00
Boris Nagaev
593e8c01cf
docs/release-notes: fix PR reference 2026-02-04 15:20:03 -05:00
Olaoluwa Osuntokun
5c7d3ad045
Merge pull request #10540 from morehouse/gossiper_shutdown_deadlock
discovery: fix gossiper shutdown deadlock
2026-02-04 10:32:15 -08:00
Olaoluwa Osuntokun
d332cb0761
Merge pull request #10529 from Roasbeef/fix-edge-features-decode-compat
graphdb: fix backwards-compat for channel edge feature deserialization
2026-02-03 13:12:26 -04:00
Olaoluwa Osuntokun
56a7f45b99 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.
2026-02-03 09:12:04 -08:00
Matt Morehouse
5fa025e9e7
docs: add release note 2026-02-03 09:15:34 -06:00
Slyghtning
22feff6dbb
docs: update release notes for gossip trickle delay validation 2026-02-02 20:48:01 +01:00
ziggieXXX
20a6b1726f
Merge pull request #10532 from darioAnongba/fix/ignored-local-mark-coop
peer: fix MarkCoopBroadcasted to correctly use local parameter
2026-02-02 12:36:06 -05:00
Dario Anongba Varela
6e56c9a538
peer: fix MarkCoopBroadcasted to correctly use local parameter 2026-02-02 12:16:29 +01:00
Dario Anongba Varela
05eed5cdb4
routerrpc: FailureDetail enums for invoice/AMP validation failures 2026-01-22 15:30:19 -05:00
Olaoluwa Osuntokun
4aef4d00ac docs/release-notes: add release notes entry 2026-01-15 16:22:26 -08:00
ziggieXXX
70dfbd284b
Merge pull request #10488 from yashbhutwala/rpcserver-fix-fundmax-maxchansize
rpcserver: use protocol max for fundMax, not maxChanSize
2026-01-13 22:03:14 +01:00
Yash Bhutwala
f48e6ba145
docs: update release notes for fundMax fix 2026-01-13 10:54:55 -05:00
ziggie
e26a114cdc
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.
2026-01-13 16:07:38 +01:00
Olaoluwa Osuntokun
ab6ff825c6
Merge pull request #10470 from Roasbeef/discovery-panic-recovery
discovery: add panic recovery for gossip message processing
2026-01-12 17:10:35 -08:00
Olaoluwa Osuntokun
7da41cb367
docs/release-notes: add release notes 2026-01-12 17:10:17 -08:00
ziggieXXX
7bbf26c0e2
Merge pull request #10469 from Roasbeef/lnwire-timestamp-validation
lnwire: enforce non-zero timestamp in gossip messages
2026-01-12 13:57:12 +01:00
Olaoluwa Osuntokun
cad1b957bf
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.
2026-01-09 17:10:37 -08:00
Slyghtning
202e473c7f
docs: update release notes 2026-01-07 10:30:04 +01:00
elnosh
6f49bea52b server: remove accountability signal experiment period
In the previous iteration with endorsement
signaling, the recommendation was for the sender to
set it to 1 and that could have had privacy concerns
when first deploying given that the default was to
downgrade the signal to 0. In the latest proposal
the recommended default for both sending and
forwarding nodes is to set `accountable` to 0.
As a result, the dates have been removed given
that there are no privacy risks associated
with relaying the signal with zero values.
2026-01-06 09:12:34 -05:00
ziggieXXX
ac006d73cf
Merge pull request #10356 from Abdulkbk/ispublicnode-perf
graph: fix inefficient query for IsPublicNode
2026-01-05 10:32:56 +01:00
Erick Cestari
523002984b
docs: add release-notes 2025-12-29 19:19:53 -03:00
Abdullahi Yunus
68f558c865
docs: add release note 2025-12-24 18:08:46 +01:00
Yong
91423ee519
Merge pull request #10449 from ziggie1984/bugfix/setsource-node-sql
server: fix timestamp comparison in setSelfNode
2025-12-16 16:58:25 +08:00
ziggie
e5b0704d73
docs: add release-notes for LND 20.1 2025-12-16 08:21:11 +01:00
ziggie
dbb3a9e953
ci: fix some minor issues in the backport ci job
-Due to a newer version we need to use add_labels instead of just
 labels

-The backport PR will now also copy the milestones in case the
 milstones were set
2025-12-14 09:00:02 +01:00
ziggie
4af13745e5
docs: add comprehensive backport workflow documentation
This commit adds detailed documentation for the automated backport
workflow and updates the contribution guidelines to reference it.

New documentation (docs/backport-workflow.md):
- Complete overview of the automated backport process
- Step-by-step usage instructions with examples
- Detailed explanation of workflow triggers and label format
- Technical details about workflow implementation
- Conflict resolution procedures and best practices
- Multiple backport scenarios and examples
- Comprehensive troubleshooting guide

Updated contribution guidelines (docs/code_contribution_guidelines.md):
- Replaced detailed backport instructions with brief overview
- Added reference to the new detailed documentation
- Keeps contribution guidelines focused and concise

The detailed documentation provides:
- How to use backport labels correctly
- What happens when labels are added before/after merge
- How the workflow validates branches and handles errors
- Step-by-step conflict resolution instructions
- Solutions for common problems and edge cases
- Examples of valid vs invalid label formats

This documentation ensures contributors and maintainers have clear
guidance on using the automated backport workflow effectively.
2025-12-12 22:48:51 +01:00
Elle Mouton
da9868b06d
docs: update release notes 2025-12-11 18:13:47 +02:00
Yong
1e15efc473
Merge pull request #10439 from ziggie1984/bugfix/probing
Always add the payment address when probing an invoice
2025-12-10 22:39:58 +08:00
ziggie
ac30443cc1
docs: add release-notes for LND 20.1 2025-12-10 09:49:57 +01:00
Elle
3d7ff866f8
Merge pull request #10436 from ellemouton/musigRegisterAggNonce 2025-12-10 09:58:58 +02:00
Elle Mouton
a7b61f3ec1
docs: add release notes for combined nonce RPC methods
Document the new MuSig2RegisterCombinedNonce and MuSig2GetCombinedNonce RPC
methods in the v0.21.0 release notes. These methods enable coordinator-based
signing patterns as an alternative to the standard MuSig2RegisterNonces
workflow.
2025-12-10 07:19:07 +02:00
Olaoluwa Osuntokun
456d7dcf05
Merge pull request #10424 from MPins/sat_per_byte_remove_warning
docs: release-notes-0.21
2025-12-09 17:59:15 -08:00
ziggie
f289e4920e
docs: add release-notes for LND 20.1 2025-12-09 11:51:47 +01:00
Elle
bc670fab82
Merge pull request #10396 from ziggie1984/enhance-lsp-heuritic
Enhance Lsp Heuristic when probing a payment
2025-12-09 10:43:43 +02:00
MPins
bf473431bd
docs: release-notes-0.21
Warning message about removing the deprecated option --sat_per_byte
2025-12-08 14:31:37 -03:00
Elle Mouton
e68bf6c58d
docs: add release notes for race condition fixes 2025-12-08 11:57:01 +02:00
AbelLykens
f811805c65 docs: update sql migration guide 2025-12-04 09:34:58 +00:00
Elle Mouton
3e0bc6b18c
docs: add release note 2025-12-03 13:09:22 +02:00
Yong
4b1c4998ad
Merge pull request #10399 from mohamedawnallah/handle-partial-tls-files
tls_manager: Handle partial TLS files
2025-12-03 18:27:39 +08:00
Mohamed Awnallah
0a6f69dd7e docs: update release notes 2025-12-03 09:13:23 +00:00
ziggie
17b77b64a3
docs: add release-notes for LND 20.1 2025-12-02 20:38:55 +01:00
ziggie
de0424eca8
docs: add release-notes for LND 20.1 2025-12-01 18:07:57 +01:00
ziggie
34619d4758
docs: update api documentation for estimateRouteFee 2025-12-01 18:07:56 +01:00
ziggie
565633578f
docs: add release-notes for LND 20.1 2025-11-28 09:22:20 +01:00
ziggie
4f051d97ea
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:22:19 +01:00