Skip to content

Merge v25.2.0 and v25.2.1 into master - #5190

Merged
marta-lokhova merged 25 commits into
stellar:masterfrom
marta-lokhova:port25.2.0and25.2.1
Mar 20, 2026
Merged

marta-lokhova merged 25 commits into
stellar:masterfrom
marta-lokhova:port25.2.0and25.2.1

Conversation

@marta-lokhova

Copy link
Copy Markdown
Contributor

No description provided.

graydon and others added 25 commits March 18, 2026 13:30
This change alters the various cleanup functions around SCP (primarilly
for slots and envelopes) to also clean any data for slots far in the
future. These can accumulate when a node is not tracking consensus, and
therefore cannot reject SCP messages for slots in the far future. The
solution is to clean these up whenever the node is tracking.
- Revert unintentional .gitmodules change (p25 URL)
- Database.cpp: add comment explaining DETACH after populateMiscDatabase
- Database.cpp: use mMiscSession.session() in schema upgrade case 2
- Database.cpp: add comment explaining unconditional getRawMiscSession() call
- DatabaseTests: CHECK -> REQUIRE for main/misc table overlap
- DatabaseTests: use non-empty FILTERED_G_ADDRESSES in schema parity test
- DatabaseTests: remove try/catch around Postgres test
- HerderImpl: rephrase FILTERED_G_ADDRESSES deprecation message
- BannedAccountsPersistor: make getters const
- BannedAccountsPersistorTests: check actual accountIDs not just sizes
- BannedAccountsPersistorTests: restructure ban test to avoid queue brittleness
- CommandHandler: extract parseAccountIds helper to deduplicate ban/unban
- CommandHandlerTests: remove unused Herder.h/TransactionQueue.h headers

Co-authored-by: Copilot <[email protected]>
Resolves stellar#449.

This change adds a rate limit of 10 `GET_SCP_STATE` messages per peer
per minute. This is well over what we would expect from an honest node.
See the ticket for more info.
Copilot AI review requested due to automatic review settings March 19, 2026 22:46
@marta-lokhova
marta-lokhova removed the request for review from Copilot March 19, 2026 22:49
@marta-lokhova
marta-lokhova enabled auto-merge March 20, 2026 18:06
@marta-lokhova
marta-lokhova disabled auto-merge March 20, 2026 18:12
@marta-lokhova
marta-lokhova merged commit 1befa1c into stellar:master Mar 20, 2026
70 of 71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants