docs: add release notes for gossip v2 policy support
What changed, and why it matters
This commit only updates release notes and reformats a single line in a test file. There is no functional code change and no security relevance.
No action required; this is a documentation/test-formatting commit with no security implications.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds one release-note bullet reference (PR #10542) for gossip v2 graph DB preparation and wraps an existing require.NoError call in discovery/gossiper_test.go across multiple lines. No production logic, protocol handling, or security-sensitive behavior is modified.
Changed components
docs/release-notes/release-notes-0.21.0.mddiscovery/gossiper_test.goInspect captured patch +5 / −2
diff --git a/discovery/gossiper_test.go b/discovery/gossiper_test.go
index b1231b0..7440919 100644
--- a/discovery/gossiper_test.go
+++ b/discovery/gossiper_test.go
@@ -4448,7 +4448,9 @@ func TestRateLimitChannelUpdates(t *testing.T) {
// our rebroadcast interval.
rateLimitKeepAliveUpdate := *batch.chanUpdAnn1
rateLimitKeepAliveUpdate.Timestamp++
- require.NoError(t, signUpdate(remoteKeyPriv1, &rateLimitKeepAliveUpdate))
+ require.NoError(
+ t, signUpdate(remoteKeyPriv1, &rateLimitKeepAliveUpdate),
+ )
assertRateLimit(&rateLimitKeepAliveUpdate, nodePeer1, true)
keepAliveUpdate := *batch.chanUpdAnn1
diff --git a/docs/release-notes/release-notes-0.21.0.md b/docs/release-notes/release-notes-0.21.0.md
index 1c74a24..f81ba63 100644
--- a/docs/release-notes/release-notes-0.21.0.md
+++ b/docs/release-notes/release-notes-0.21.0.md
@@ -179,7 +179,8 @@
* Prepare the graph DB for handling gossip V2
nodes and channels [1](https://github.com/lightningnetwork/lnd/pull/10339)
[2](https://github.com/lightningnetwork/lnd/pull/10379)
- [3](https://github.com/lightningnetwork/lnd/pull/10380).
+ [3](https://github.com/lightningnetwork/lnd/pull/10380)
+ [4](https://github.com/lightningnetwork/lnd/pull/10542).
## Code Health
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.