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 legacy bootstrap #4777

Merged
merged 23 commits into from
Oct 31, 2024

Conversation

pwojcikdev
Copy link
Contributor

@pwojcikdev pwojcikdev commented Oct 29, 2024

This removes legacy bootstrap, which was replaced by the new ascending bootstrap. Legacy bootstrap implementation was unnecessarily complicated with many inefficiencies. Debugging it was a pain and slowed down development of new features.

All the bootstrap_ascending* classes and stats are renamed to simply bootstrap.

TODO for the future is porting previous bootstrap_processor test suite to use the new bootstrapper.

@gr0vity-dev-bot
Copy link

gr0vity-dev-bot commented Oct 29, 2024

Test Results for Commit 93385bb

Pull Request 4777: Results
Overall Status:

Test Case Results

  • 5n4pr_conf_10k_bintree: PASS (Duration: 116s)
  • 5n4pr_conf_10k_change: PASS (Duration: 177s)
  • 5n4pr_conf_change_dependant: PASS (Duration: 135s)
  • 5n4pr_conf_change_independant: PASS (Duration: 138s)
  • 5n4pr_conf_send_dependant: PASS (Duration: 129s)
  • 5n4pr_conf_send_independant: PASS (Duration: 137s)
  • 5n4pr_rocks_10k_bintree: PASS (Duration: 112s)

Last updated: 2024-10-31 13:38:00 UTC

@pwojcikdev pwojcikdev force-pushed the remove-legacy-bootstrap-2 branch 4 times, most recently from a9b2d97 to 4071670 Compare October 30, 2024 11:47
@qwahzi qwahzi added this to the V28 milestone Oct 30, 2024
@pwojcikdev
Copy link
Contributor Author

I rebased it on top of frontier scan PR #4739 as without the frontier sca spam test suite had trouble keeping all frontiers in sync.

clemahieu
clemahieu previously approved these changes Oct 31, 2024
@pwojcikdev pwojcikdev dismissed clemahieu’s stale review October 31, 2024 10:32

The merge-base changed after approval.

# Conflicts:
#	nano/node/bootstrap/account_sets.hpp
#	nano/node/bootstrap/bootstrap.cpp
#	nano/node/bootstrap/bootstrap.hpp
#	nano/node/bootstrap/bootstrap_attempt.hpp
#	nano/node/bootstrap/bootstrap_bulk_push.cpp
#	nano/node/bootstrap/bootstrap_bulk_push.hpp
#	nano/node/bootstrap/bootstrap_connections.cpp
#	nano/node/bootstrap/bootstrap_connections.hpp
#	nano/node/bootstrap/bootstrap_lazy.cpp
#	nano/node/json_handler.cpp
@pwojcikdev pwojcikdev merged commit c612519 into nanocurrency:develop Oct 31, 2024
25 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged / V28.0
Development

Successfully merging this pull request may close these issues.

4 participants