-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Read/write mempool.dat as a binary. #9813
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
Conversation
mempool.dat is a binary file and thus it should be read/written as such. Fixes bitcoin#9810.
|
Obviously correct ACK 171fc91 I wonder if we have any more instances of this. Edit: no, I've grepped for uses for |
|
Good catch. utACK 171fc91 |
|
ACK 171fc91 Tested on windows 10 and ubuntu 16.04. |
gmaxwell
left a comment
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.
utACK
|
utACK 171fc91 |
|
utACK 171fc91 |
171fc91 Read/write mempool.dat as a binary. (Pavel Janík)
171fc91 Read/write mempool.dat as a binary. (Pavel Janík)
171fc91 Read/write mempool.dat as a binary. (Pavel Janík)
171fc91 Read/write mempool.dat as a binary. (Pavel Janík)
mempool.datis a binary file and thus it should be read/written as such.Fixes #9810.
I can't test on Windows though.