Skip to content

Remove legacy bootstrap#4777

Merged
pwojcikdev merged 23 commits intonanocurrency:developfrom
pwojcikdev:remove-legacy-bootstrap-2
Oct 31, 2024
Merged

Remove legacy bootstrap#4777
pwojcikdev merged 23 commits intonanocurrency:developfrom
pwojcikdev:remove-legacy-bootstrap-2

Conversation

@pwojcikdev
Copy link
Copy Markdown
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
Copy Markdown

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 pwojcikdev force-pushed the remove-legacy-bootstrap-2 branch from 4071670 to c88b196 Compare October 30, 2024 18:45
@pwojcikdev
Copy link
Copy Markdown
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.

@pwojcikdev pwojcikdev force-pushed the remove-legacy-bootstrap-2 branch from c88b196 to cc3299f Compare October 30, 2024 21:28
@pwojcikdev pwojcikdev force-pushed the remove-legacy-bootstrap-2 branch from cc3299f to ff8b6a1 Compare October 30, 2024 23:59
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
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