citp / BlockSci

A high-performance tool for blockchain science and exploration
https://citp.github.io/BlockSci/
GNU General Public License v3.0
1.34k stars 259 forks source link

Blocksci_parser generate-config returns nothing #424

Closed Kindhearted57 closed 4 years ago

Kindhearted57 commented 4 years ago

System Information (if applicable)

Ubuntu 16.04 Using AMI: no BlockSci version: v0.6 Blockchain: Bitcoin Parser: Disk Total memory: 338GB (/var/data/block_data)

blocksci_parser /var/data/blocksci_data/btc.cfg generate-config bitcoin /var/data/blocksci_data --max-block '-6' --disk /var/data/block_data

didn't return an error information, at the same time, there is no btc.cfg under blocksci_data. I have no clue about why...

Kindhearted57 commented 4 years ago

Ok, I've learned from this page that BlockSci requires at least 60GB of RAM to parse the Bitcoin blockchain now, so I guess this is what caused my problem. The RAM available was 47G before, and now I have expanded it to 61GB(which is the best I can do), however, there is still no response from the generate-config. My RAM information is as follows:

              total        used        free      shared  buff/cache   available
Mem:            62G        740M         34G         71M         27G         61G
Swap:           61G         66M         60G

Does that mean 61GB is not enough to run the parser?

maltemoeser commented 4 years ago

Generating the config file shouldn't depend on the memory available (it's just writing a .json file). Did you double-check that the file permissions allow the parser to access the directories and write the config file?

Kindhearted57 commented 4 years ago

I have checked the file permission and it turns out that's exactly where the problem comes in! Thanks~ However, maybe there should be some error information returned to make it easier to find out what caused the problem?🧐

kakarottocheng commented 2 years ago

I have the same issue, I wonder how I should fill out the parameters to generate the config file?