Coder Social home page Coder Social logo

blocksci_parser - stuck about blocksci HOT 5 CLOSED

citp avatar citp commented on August 20, 2024
blocksci_parser - stuck

from blocksci.

Comments (5)

shihao-guo avatar shihao-guo commented on August 20, 2024

if you use top or htop you will see the cpu and memory use of the process, which gives you some processing indications.

from blocksci.

pranay01 avatar pranay01 commented on August 20, 2024

I see blocksci_parser working in htop. But it takes only 0.7% CPU and 228MB memory. I have a system which has a RAM of 6.8 GB.

When I try to import it in python3.5 , it gives a segmentation fault.
`
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.

import blocksci
chain = blocksci.Blockchain("/mnt/disk1/blocksci_data")
Segmentation fault (core dumped)
`

from blocksci.

hkalodner avatar hkalodner commented on August 20, 2024

Hi @pranay01,

The segmentation fault is from the python module is likely due to corruption of some sort in the data located at /mnt/disk1/blocksci_data. The code is still fairly research quality so it doesn't handle the unexpected very well 😄

Have you tried the new release of BlockSci that we released yesterday? It should provide feedback through the entire process. If I remember correctly, the previous version didn't provide feedback during the initial block header parsing stage. Now all stages should provide percentage done estimates.

The full parse process takes a little under a day at this time. The many data processing takes about 8 hours and then there is a long index generation process. BlockSci doesn't require complete chain data and the parser in fact has a --max-block parameter that lets you process only up to a given block height.

from blocksci.

will-holley avatar will-holley commented on August 20, 2024

@hkalodner - Is the data set you are using in development publically available?

from blocksci.

hkalodner avatar hkalodner commented on August 20, 2024

I'm not exactly sure what you mean by data set. BlockSci's data is generated directly from raw blockchain data. The readme links to an EC2 AMI which has a BlockSci instance running on it which contains the full Bitcoin blockchain as of a couple days ago. Additionally the data can be generated on any machine running a Bitcoin full node.

from blocksci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.