Skip to content

Remove support for old V1 survey - #4660

Merged
marta-lokhova merged 1 commit into
stellar:masterfrom
bboston7:remove-old-survey
Mar 5, 2025
Merged

marta-lokhova merged 1 commit into
stellar:masterfrom
bboston7:remove-old-survey

Conversation

@bboston7

@bboston7 bboston7 commented Mar 4, 2025

Copy link
Copy Markdown
Contributor

Closes #4332.

Now that all stellar-core nodes on the network support the V2 survey, and there are no node stellar-core nodes that will generate V1 survey messages, it's safe to cleanup the codebase a bit and remove support for the old V1 survey entirely. This has the benefit of greatly simplifying SurveyManager.

Checklist

  • Reviewed the contributing document
  • Rebased on top of master (no merge commits)
  • Ran clang-format v8.0.0 (via make format or the Visual Studio extension)
  • Compiles
  • Ran all tests
  • If change impacts performance, include supporting evidence per the performance document

@bboston7
bboston7 requested a review from marta-lokhova March 4, 2025 01:22
Comment thread src/protocol-curr/xdr Resolved
Comment thread src/protocol-next/xdr Resolved

@marta-lokhova marta-lokhova 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.

Looks good overall, just a few questions on survey API support and tests.

Comment thread src/overlay/SurveyMessageLimiter.cpp Resolved
Comment thread src/main/CommandHandler.cpp Resolved
Comment thread src/overlay/SurveyManager.h Resolved
Comment thread src/overlay/test/SurveyManagerTests.cpp Resolved
Comment thread src/overlay/SurveyManager.cpp Resolved
@marta-lokhova

Copy link
Copy Markdown
Contributor

LGTM! I think you need to rebase on top of master to pickup cargo-deny fix, and refresh XDR pointers after the prerequisite PRs are merged.

Closes stellar#4332.

Now that all stellar-core nodes on the network support the V2 survey,
and there are no node stellar-core nodes that will generate V1 survey
messages, it's safe to cleanup the codebase a bit and remove support for
the old V1 survey entirely. This has the benefit of greatly simplifying
`SurveyManager`.
@bboston7
bboston7 force-pushed the remove-old-survey branch from 90bc0ce to 4126cdd Compare March 4, 2025 23:39
@marta-lokhova
marta-lokhova enabled auto-merge March 5, 2025 00:02
@marta-lokhova
marta-lokhova added this pull request to the merge queue Mar 5, 2025
Merged via the queue into stellar:master with commit 025b02a Mar 5, 2025
@drebelsky drebelsky mentioned this pull request Feb 19, 2026
github-merge-queue Bot pushed a commit that referenced this pull request Apr 8, 2026
* Add tracy binaries to `.gitignore`
* Add check for `SecretKey::random` in tests
* Remove duplicated header guard
* Don't run Soroban tests when Catch2 tests fail
* Remove outdated documentation (#4660 removed the "surveytopology"
endpoint)
* Remove impossible condition (#5119)
* Initialize `analyzeCriticalGroups` cli option
* Add clang-format rule for east const
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.

Remove V1 survey XDR and supporting code

2 participants