-
Notifications
You must be signed in to change notification settings - Fork 787
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
Bootstrap cleanup #3809
Conversation
…abstraction hole.
…g abstraction hole.
…ving abstraction hole.
…oving abstraction hole.
…lass removing abstraction hole.
…ing abstraction hole.
…ng abstraction hole.
…moving abstraction hole.
…ing abstraction hole.
…ss removing abstraction hole.
… class removing abstraction hole.
…removing abstraction hole.
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 &); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Removing a number of abstraction holes on nano::bootstrap_attempt that expose implementation details of concrete subtypes.