Repository navigation
Deprecate banned accounts functionality now that CAP-0077 is active - #5426
Merged
marta-lokhova merged 1 commit intoAug 28, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Removes account-banning functionality following CAP-0077 while preserving deprecated configuration and HTTP interfaces as warning-only no-ops.
Changes:
- Removes banned-account persistence and transaction filtering.
- Adds database migrations to drop the obsolete table.
- Updates compatibility behavior, documentation, and tests.
Reviewed changes
Copilot reviewed 30 out of 30 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/transactions/TransactionFrameBase.h |
Removes account-filter validation API. |
src/transactions/TransactionFrame.h |
Removes validation override. |
src/transactions/TransactionFrame.cpp |
Removes account filtering logic. |
src/transactions/test/TransactionTestFrame.h |
Removes test-frame override. |
src/transactions/test/TransactionTestFrame.cpp |
Removes test-frame delegation. |
src/transactions/FeeBumpTransactionFrame.h |
Removes fee-bump filtering API. |
src/transactions/FeeBumpTransactionFrame.cpp |
Removes fee-source filtering. |
src/simulation/LoadGenerator.cpp |
Updates transaction submission signature. |
src/main/test/ConfigTests.cpp |
Tests deprecated config acceptance. |
src/main/test/CommandHandlerTests.cpp |
Tests deprecated endpoint warnings. |
src/main/test/BannedAccountsPersistorTests.cpp |
Removes obsolete persistence tests. |
src/main/Config.h |
Removes stored filter configuration. |
src/main/Config.cpp |
Makes legacy configuration a no-op. |
src/main/CommandHandler.h |
Removes parsing helper and documents deprecation. |
src/main/CommandHandler.cpp |
Converts legacy commands and flag to no-ops. |
src/main/BannedAccountsPersistor.h |
Removes persistence API. |
src/main/BannedAccountsPersistor.cpp |
Removes persistence implementation. |
src/main/ApplicationImpl.h |
Removes persistor ownership. |
src/main/ApplicationImpl.cpp |
Removes initialization and accessors. |
src/main/Application.h |
Removes persistor interface. |
src/herder/TransactionQueue.h |
Removes account-filter state and parameters. |
src/herder/TransactionQueue.cpp |
Removes queue filtering and metrics. |
src/herder/test/HerderTests.cpp |
Removes banned-account behavior tests. |
src/herder/HerderImpl.h |
Removes filtering API and force parameter. |
src/herder/HerderImpl.cpp |
Removes filtering setup and propagation. |
src/herder/Herder.h |
Updates transaction submission interface. |
src/database/test/DatabaseTests.cpp |
Removes obsolete migration setup. |
src/database/Database.h |
Advances database schema versions. |
src/database/Database.cpp |
Drops the obsolete persistence table. |
docs/software/commands.md |
Documents deprecated no-op interfaces. |
Suppressed comments (1)
src/main/BannedAccountsPersistor.cpp:1
- Deleting the persistor leaves both removed files in the checked-in Visual Studio project:
Builds/VisualStudio/stellar-core.vcxproj:627,1095andstellar-core.vcxproj.filters:1447,2584still reference them. Visual Studio builds will therefore fail to locate these files; remove all four project entries as part of this change.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves https://github.com/stellar/stellar-core-internal/issues/702