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

Extracting nano::bootstrap::block_deserializer class #3812

Merged
merged 6 commits into from
Jul 15, 2022

Conversation

clemahieu
Copy link
Contributor

The code to deserialize type-prefixed blocks from a stream was tightly coupled to the legacy bootstrap process. This prevented direct testing or reuse of block deserialization code.

Rewriting existing bulk_pull_client in terms of the new block deserializer.

@clemahieu clemahieu added this to the V24.0 milestone May 6, 2022
@clemahieu clemahieu requested a review from dsiganos May 6, 2022 13:58
nano/node/bootstrap/block_deserializer.cpp Outdated Show resolved Hide resolved
nano/node/bootstrap/block_deserializer.cpp Outdated Show resolved Hide resolved
nano/node/bootstrap/block_deserializer.cpp Outdated Show resolved Hide resolved
nano/node/bootstrap/bootstrap_bulk_pull.cpp Show resolved Hide resolved
@clemahieu clemahieu marked this pull request as ready for review May 9, 2022 15:20
thsfs
thsfs previously requested changes May 17, 2022
nano/node/bootstrap/bootstrap_bulk_pull.cpp Outdated Show resolved Hide resolved
nano/node/bootstrap/bootstrap_bulk_pull.cpp Outdated Show resolved Hide resolved
nano/node/bootstrap/bootstrap_bulk_pull.cpp Outdated Show resolved Hide resolved
nano/node/bootstrap/bootstrap_bulk_pull.cpp Outdated Show resolved Hide resolved
nano/node/bootstrap/bootstrap_bulk_pull.cpp Outdated Show resolved Hide resolved
@clemahieu clemahieu merged commit 0a23b40 into nanocurrency:develop Jul 15, 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.

4 participants