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

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
@clemahieu clemahieu force-pushed the block_deserializer branch from 74c05ca to 424b437 Compare May 6, 2022 17:15
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 force-pushed the block_deserializer branch from 4523b11 to 94cdae7 Compare July 9, 2022 15:07
@clemahieu clemahieu force-pushed the block_deserializer branch from 1ab546c to ef0c9b2 Compare July 12, 2022 14:06
@clemahieu clemahieu requested a review from thsfs July 13, 2022 11:59
@clemahieu clemahieu force-pushed the block_deserializer branch from ef0c9b2 to 5efaf3c Compare July 15, 2022 10:06
@clemahieu clemahieu force-pushed the block_deserializer branch from 5efaf3c to 946fc1c Compare July 15, 2022 10:11
@clemahieu clemahieu merged commit 0a23b40 into nanocurrency:develop Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants