Commit graph

1644 commits

Author SHA1 Message Date
George Tsagkarelis
22be7db188 docs: add release note 2026-05-13 13:53:00 +00:00
Elle
1c5df12ffa
Merge pull request #10796 from ellemouton/for-each-node-cached-autopilot
autopilot+graph/db: drop unused address loading from cached node iteration
2026-05-12 16:00:53 -07:00
Elle Mouton
c18f139e24
docs: add release note for autopilot graph-cache fix
Note the performance improvement from dropping the unnecessary address
load on the SQL backend and letting the kvdb in-memory graph cache
serve autopilot's scoring traversal.
2026-05-12 12:39:51 -07:00
Yong
3ba3eaaff4
Merge pull request #10612 from Abdulkbk/onion-msg-path
onionmessage: graph-based pathfinding for onion messages
2026-05-13 00:42:38 +08:00
Erick Cestari
bb8abc7516
docs: release note for BOLT-02 push_msat fundee enforcement
Document the user-visible error string change introduced when the
fundee rejects incoming open_channel messages whose push_msat exceeds
1000 * funding_satoshis.
2026-05-11 14:22:10 -03:00
ziggieXXX
6fd5b7bb27
Merge pull request #10780 from ziggie1984/channeldb-tombstone-close
channeldb: tombstone closed channels on KV-SQL backends
2026-05-04 12:11:00 -03:00
ziggie
1a52e85b94
docs: release note for closed-channel tombstones on KV-SQL backends
Document the tombstone close path that #10780 wires onto sqlite/postgres,
the operator-visible iteration-cost growth that comes from leaving closed
chanBuckets on disk, and the NumForwardingPackages divergence that the
preserved forwarding-package bucket produces in PendingChannels.
2026-05-04 09:46:33 -03:00
Abdullahi Yunus
72873f6275
docs: add release not for pathfinding 2026-04-29 22:34:44 +01:00
ziggieXXX
746ed3c137
Merge pull request #10776 from ziggie1984/fix-release-notes-0.21.0-contributors-anchor
docs: fix Contributors TOC anchor in v0.21.0 release notes
2026-04-28 19:22:40 -03:00
ziggie
c0b417c79c
docs: fix Contributors TOC anchor in v0.21.0 release notes
The TOC link for the Contributors section pointed to `#contributors`,
but GitHub generates the anchor for `# Contributors (Alphabetical
Order)` as `#contributors-alphabetical-order`, leaving the link
broken when the rendered file is viewed on GitHub. Update the TOC
to use the working anchor (matching the form already used in
release-notes-0.18.0.md).
2026-04-28 16:40:23 -03:00
ziggieXXX
caccaf3cf1
Merge pull request #10775 from ziggie1984/release-notes-0.22.0
docs: add empty release notes scaffold for v0.22.0
2026-04-28 15:24:48 -03:00
ziggie
fa588eaf1a
docs: add empty release notes for v0.22.0
Scaffold release-notes-0.22.0.md with the same section structure as
the 0.21.0 file so contributors have a place to land entries during
the v0.22 cycle.
2026-04-28 11:45:07 -03:00
George Tsagkarelis
33f623c855
docs: add release note for SIMPLE_TAPROOT_FINAL follow-ups
See https://github.com/lightningnetwork/lnd/pull/10763.
2026-04-20 16:11:31 +02:00
yyforyongyu
e12435ef0c
docs: update contributor list 2026-04-20 13:33:38 +08:00
Gijs van Dam
84ec3cb233 docs: add release note for same-peer onion message cycle drop
Record the onion-message same-peer cycle drop from #10754 under a new
Robustness subsection in the 0.21.0 release notes.
2026-04-17 12:07:57 -05:00
Olaoluwa Osuntokun
8e91bcc463 docs: add release note for onion message rate limiting (#10713)
Add a single consolidated release note describing the onion-message
rate-limiting feature introduced earlier in this branch: the per-peer
and global byte-denominated token-bucket limiters, their defaults and
the four tunable flags, the 0/0 disable rule and the startup-time
rejection of invalid combinations, the channel-presence gate that
drops ingress from peers with no fully open channel, and the
protocol.onion-msg-relay-all opt-out for operators who want to accept
traffic from channel-less peers. Trimmed to the operator-facing
essentials; longer-form prose about the adversary model, the layers,
default sizing, and operator recipes lives in
docs/onion_message_rate_limiting.md, which the note links to.
2026-04-15 13:23:50 -07:00
Olaoluwa Osuntokun
91e35c4d5a docs/release-notes: add release note for production taproot channels 2026-04-13 12:21:42 -07:00
Olaoluwa Osuntokun
ac71ea7559 discovery+funding+peer+server: migrate gossip result to actor.Future[error]
In this commit, we eliminate the three buffered chan error patterns in
the discovery package and replace them with actor.Promise[error]/
actor.Future[error]. The old pattern is error-prone: if a channel is
completed more than once (e.g. when a deferred message copy is
re-enqueued and processed again), the second write to a capacity-1
channel blocks forever. actor.Promise.Complete() is idempotent via
sync.Once, so the second call is always a safe no-op regardless of
whether anyone holds a reference to the Future.

Additionally, PropagateChanPolicyUpdate previously blocked on <-errChan
after enqueuing a policy update with no quit-channel check, creating a
latent deadlock if the gossiper shut down between enqueue and send. It
now uses AwaitGossipResult with a ContextFromQuit-derived context, so
shutdown is always respected.

This is an atomic migration that updates all callers in the same
commit so each commit builds standalone. The three main pieces are:

discovery

networkMsg.err chan error becomes errPromise actor.Promise[error].
chanPolicyUpdateRequest.errChan chan error becomes errPromise.
syncTransitionReq.errChan chan error becomes errPromise. All ~65 sites
that previously wrote to the error channel now call
completeGossipResult(nMsg.errPromise, err) instead.

ProcessRemoteAnnouncement and ProcessLocalAnnouncement now return
actor.Future[error] instead of chan error. The capacity-2 buffer
comment on ProcessRemoteAnnouncement, which was itself a workaround
for the old pattern, is removed along with the TODO referencing the
actor model redesign. ProcessSyncTransition in syncer.go follows the
same pattern: the errChan select is replaced with AwaitGossipResult
using a ContextFromQuit-derived context.

funding

The SendAnnouncement function type in funding.Config changes from
returning chan error to returning actor.Future[error]. The call sites
in addToGraph and announceChannel are updated to await the future with
AwaitGossipResult, passing a context derived from f.quit via
ContextFromQuit. Shutdown signals (context.Canceled and
discovery.ErrGossiperShuttingDown) are both mapped to
ErrFundingManagerShuttingDown via the new mapGossipError helper, which
also factors out the duplicated graph-rejected / unknown-error
handling. The three mock SendAnnouncement implementations in
manager_test.go are updated accordingly.

peer+server

In peer/brontide.go, the ProcessRemoteAnnouncement call in the gossip
stream handler intentionally discards the result since remote gossip
messages are fire-and-forget from the peer's perspective. The old
comment explaining why the chan error was unsafe to use is replaced
with a note that an unawaited Future[error] carries no overhead.

In server.go (applyChannelUpdate), the previous select on errChan and
the quit channel is replaced with ContextFromQuit + AwaitGossipResult.
2026-04-10 19:16:49 -07:00
ziggie
a10cd1699f
docs: add release note for network separation safeguard
This is in particular important when running with a postgres
backend.

This only works if you run LND with the native sql flag but
people should run it with this flag from 21 on anyways.
2026-04-10 12:04:04 +02:00
Elle
27e50765b6
Merge pull request #10717 from ellemouton/g175-filter-known-chan-ids-v2
graph/db: make FilterKnownChanIDs version-aware
2026-04-09 17:05:51 +05:45
ziggieXXX
6dd4094c24
Merge pull request #10719 from ziggie1984/hodlqueue-stop-order-fix
htlcswitch: fix hodlQueue deadlock by stopping htlcManager first
2026-04-09 12:23:24 +02:00
ajaysehwal
bb1b56f3fe docs: add release notes for Android 16KB page size 2026-04-09 14:09:51 +05:30
ziggie
15135222ea
docs: add release-notes for 21 2026-04-09 10:20:29 +02:00
Elle Mouton
4d85877a05
docs: add release note for FilterKnownChanIDs versioning 2026-04-09 10:45:49 +05:45
Matthew Zipkin
39639056ad
docs: update release notes 2026-04-08 10:41:58 -04:00
ziggie
85c8e95514
docs: add release note for cursor-based invoice pagination 2026-04-01 10:55:43 +02:00
Elle Mouton
f3d9b1f2a4
docs: add release note for v1 node horizon query optimization 2026-03-31 12:05:45 +02:00
Elle Mouton
f38daf81dd
docs: add release note for versioned graph horizon queries 2026-03-31 09:14:50 +02:00
ziggieXXX
137e5b1a16
Merge pull request #10666 from ziggie1984/fwd-history-purge
multi: add DeleteForwardingHistory to selectively purge old forwarding history
2026-03-30 18:45:03 +02:00
ziggie
a5fcc8191a
docs: add release-notes for LND 21 2026-03-30 17:39:46 +02:00
Olaoluwa Osuntokun
f297c4782e
Merge pull request #10063 from lightningnetwork/taproot-rbf
multi: add taproot support to the new RBF close flow
2026-03-27 16:17:44 -07:00
Olaoluwa Osuntokun
55854e1dcd docs: add taproot RBF coop close to 0.21.0 release notes 2026-03-27 14:04:25 -07:00
Elle Mouton
9eac07df31
docs: add release notes for v1 taproot funding script fix 2026-03-27 14:19:21 +02:00
yyforyongyu
59f50fbaad
docs: update release note 2026-03-26 18:55:13 +08:00
ziggieXXX
c14a054604
Merge pull request #10659 from guggero/lncli-wallet-psbt-sign
lncli: add missing `wallet psbt sign` sub command
2026-03-25 16:13:56 +01:00
ziggieXXX
3b598bef3e
Merge pull request #10658 from saubyk/fix_rpc_documentation
Fix rpc documentation for Router Service
2026-03-24 19:27:52 +01:00
ziggieXXX
e4133bcb50
Merge pull request #10065 from ellemouton/asyncGraphCacheLoad
graph/db: async graph cache population
2026-03-24 18:29:44 +01:00
saubyk
06c383f26a
docs: add release notes for missing lncli tags fix 2026-03-24 07:33:29 -07:00
Oli
1ed028fc6c
docs: add release notes 2026-03-24 13:13:43 +01:00
Elle Mouton
f733eed26e
docs: add release notes 2026-03-24 09:49:23 +02:00
ziggieXXX
db765a752b
Merge pull request #10481 from bhandras/lntest-bitcoind-miner
lntest: add bitcoind miner backend
2026-03-23 18:17:50 +01:00
Andras Banki-Horvath
ad62f5fa21
docs: add 0.21 release note for bitcoind miner tests 2026-03-23 15:46:38 +01:00
ziggie
c455975d23
docs: add release-notes to LND release 21 2026-03-19 19:30:13 +01:00
ziggie
7a2a4ef55c
docs: remove gossiper deadlock fix entry from 0.21.0 release notes
The gossiper deadlock fix (PR #10540) was already included in the
v0.20.1 release, so the entry should not appear again in the 0.21.0
release notes.
2026-03-18 15:07:56 +01:00
saubyk
1306376984
docs: release notes entries removed for prs merged with release v0.20.1 2026-03-17 15:29:08 -07:00
saubyk
84e82bfe98
docs: add missing v0.20.1 release notes from release branch 2026-03-17 15:16:47 -07:00
Elle Mouton
fd239c18f5
channeldb: add V2 (taproot) waiting proof codec support
Introduce the WaitingProofInner interface and two concrete
implementations — V1WaitingProof (AnnounceSignatures1) and
V2WaitingProof (AnnounceSignatures2 + optional aggregate MuSig2 nonce).

WaitingProof.Encode/Decode now dispatch on the type prefix byte added
in the previous commit, so the store can transparently persist either
proof variant.

The gossiper is updated with a V1 type assertion to maintain existing
behaviour; full V2 gossiper integration will follow when taproot channel
announcements are wired up.

No live code path creates V2 waiting proofs yet — this commit only
lands the codec and storage readiness so the schema is in place before
new writers are introduced.
2026-03-17 11:10:39 +02:00
Elle
62c931de31
Merge pull request #10582 from ellemouton/g175-db-8
[g175] graph/db: add versioned range queries and complete v2 graph query migration
2026-03-17 10:25:38 +02:00
ziggieXXX
8fb69b20c0
Merge pull request #10611 from calvinrzachman/multi-readonly-middleware
rpcperms: allow multiple read-only middleware
2026-03-17 00:26:02 +01:00
Calvin Zachman
58f5997ef7
docs: update v0.21 release notes 2026-03-16 17:01:01 -04:00