Skip to content
New issue

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

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

Already on GitHub? # to your account

Bootstrap cleanup #3809

Merged
merged 13 commits into from
May 5, 2022
Merged

Conversation

clemahieu
Copy link
Contributor

Removing a number of abstraction holes on nano::bootstrap_attempt that expose implementation details of concrete subtypes.

@clemahieu clemahieu added this to the V24.0 milestone May 5, 2022
@clemahieu clemahieu requested review from dsiganos and theohax May 5, 2022 14:16
class bulk_pull_account_client final : public std::enable_shared_from_this<nano::bulk_pull_account_client>
{
public:
bulk_pull_account_client (std::shared_ptr<nano::bootstrap_client> const &, std::shared_ptr<nano::bootstrap_attempt> const &, nano::account const &);
Copy link
Contributor

Choose a reason for hiding this comment

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

I may be misunderstanding this but it seems strange to me to limit the bulk pull to a wallet bootstrap attempt only.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a bulk_pull_account call which is a different network messages from bulk_pull. It is only used by bootstrap_attempt_wallet.

nano/node/bootstrap/bootstrap_lazy.cpp Show resolved Hide resolved
@clemahieu clemahieu merged commit 837259c into nanocurrency:develop May 5, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants