Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for old V1 survey #4660

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

bboston7
Copy link
Contributor

@bboston7 bboston7 commented Mar 4, 2025

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
Copy link
Contributor

@marta-lokhova marta-lokhova left a comment

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.

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

Remove V1 survey XDR and supporting code
2 participants