-
Notifications
You must be signed in to change notification settings - Fork 647
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
Deserialization usage example #20
Comments
No, the blk*.dat files are not stored in the same format as blocks are in the Bitcoin network protocol. You cannot parse them with rust-bitcoin. Thank you for reporting this memory-DoS issue though! |
Thanks for your fast response! I'll look for another way then. If you want you can close this issue. |
Fixed in apoelstra@cdb452f |
Closed
Tibo-lg
pushed a commit
to p2pderivatives/rust-bitcoin
that referenced
this issue
Sep 1, 2020
add .gitignore file
Davidson-Souza
pushed a commit
to Davidson-Souza/rust-bitcoin
that referenced
this issue
Jul 12, 2023
expose 2-key version of PublicKey::combine
yancyribbens
pushed a commit
to yancyribbens/rust-bitcoin
that referenced
this issue
Mar 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, I would like to use this library to analyse the blockchain. I already have a downloaded copy, using the standard bitcoind. I assumed that I could use
bitcoin::network::serialize::deserialize
to deserialize a blk*.dat file into aBlock
struct. Is that correct? When I try to do that, the deserializer allocates an extremely largeVec<u8>
and crashes because it's out of memory.The text was updated successfully, but these errors were encountered: