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

Decode block header only in Index::index_blockfiles #132

Merged
merged 1 commit into from
Feb 14, 2022

Conversation

casey
Copy link
Collaborator

@casey casey commented Feb 14, 2022

No description provided.

@casey
Copy link
Collaborator Author

casey commented Feb 14, 2022

A bitcoin::Block consists of a BlockHeader followed by a Vec<Transaction>. Since we don't look at transactions during the initial pass over the blockfiles, this PR changes the code to only deserialize the block header, and not the transaction data.

@casey casey merged commit 6a20e4a into master Feb 14, 2022
@casey casey deleted the decode-header-only branch February 14, 2022 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant