Skip to content

Deprecate banned accounts functionality now that CAP-0077 is active - #5426

Merged
marta-lokhova merged 1 commit into
stellar:masterfrom
marta-lokhova:deprecateBannedAccountLogic
Aug 28, 2026
Merged

marta-lokhova merged 1 commit into
stellar:masterfrom
marta-lokhova:deprecateBannedAccountLogic

Conversation

@marta-lokhova

Copy link
Copy Markdown
Contributor

Copilot AI balanced review requested due to automatic review settings August 21, 2026 18:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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,1095 and stellar-core.vcxproj.filters:1447,2584 still 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.

@anupsdf anupsdf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marta-lokhova
marta-lokhova added this pull request to the merge queue Aug 27, 2026
Merged via the queue into stellar:master with commit f59ad6b Aug 28, 2026
70 checks passed
@marta-lokhova
marta-lokhova deleted the deprecateBannedAccountLogic branch August 28, 2026 00:42
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.

3 participants