-
Notifications
You must be signed in to change notification settings - Fork 258
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
Is it possible to recover parsing after initial process was killed? #32
Comments
I have also tried with the updated command syntax: $ blocksci_parser --output-directory ~/blocksciparse2 update disk --coin-directory ~/.bitcoin |
Sorry but the parser currently doesn't have any way of cleanly exciting mid run so the produced data is likely corrupted. I've added Issue #33 which would greatly improve this situation, but for now there's not a ton to be done. The issue that you referenced has to do only with when there is a blockchain reorganization that has occurred that affects blocks that have already been parsed and so it is only possible in fully up to date data. The new command syntax was really just to remove the dependency on boost program options and didn't reflect any other changes. If you'd like to be able to play around with BlockSci on a portion of the chain, the parser has an On another note, your computer may not be quite up to the task of running the parser. Running it through block 400000 should be relatively quick since the most of blocks before that point were not full and thus the vast majority in the blockchain comes from blocks that were added after that point. On an 8 core machine with 61 GB of memory (r4.2xlarge EC2 machine) the whole parser currently runs in a bit under 24 hours. If I remember correctly running up to where you interrupted doesn't take more than a couple hours with that setup. |
Hi @hkalodner, Things seem to really slow down for me around 300000. The computer is decent in terms of CPU, but only has 16GB of ram and not enough SSD space, so have had to run of a HDD. Will try to free up some SSD space and go from there. Thanks again. |
So, it's taking a long time to process the entire BTC blockchain. I had to reboot the machine I'm using.
When I try to run the parser again I get these errors. Should I perhaps delete some partially written block files in order to resume processing? I really don't want to start from scratch again.
I did start with a completely new parser data folder after the recent release, I have also just updated to edb6b46 and the issue still occurs.
Is this the same issue as #31?
The text was updated successfully, but these errors were encountered: