Open jptbrandao opened 4 years ago
BlockSci doesn't provide the X11 hash function, but if I'm not mistaken you should not need since you're using RPC. Try removing the "disk" section in the parser config.
Getting a different error now. Removed 'disk' section.
blocksci_parser file.config generate-config dash /path/to/datadir --max-block 1000 --rpc username password --address 127.0.0.1
{ "chainConfig": { "coinName": "dash", "dataDirectory": "/path/to/datadir", "pubkeyPrefix": [ 76 ], "scriptPrefix": [ 16 ], "segwitActivationHeight": 2147483647, "segwitPrefix": "NONE" }, "parser": { "maxBlockNum": 1000, "rpc": { "address": "127.0.0.1", "password": "password", "port": 9998, "username": "user" } }, "version": 5 }
Any thoughts?
982GB of free disk space available. Warning: Open files limit of 1024 is potentially too low. This could lead to data corruption.
Locking data directory. Segmentation fault
Hello, I'm having trouble on starting BlockSci on Dash's blockchain. It says that the hash function isn't supported. In the config file, the hash function field is empty. I tried manually inputing the 'X11' hash function in the config file, but it also didn't work.
System Information (if applicable)
Using AMI: not yet
BlockSci version: v0.6 Blockchain: Dash Parser: RPC
Total memory: 512 GB
Instructions
I generate the config file as follows:
blocksci_parser <config-file> generate-config dash <data-dir> --max-block <max-block> --disk <path-to-blocks> --rpc <user> <password> --address localhost --port 3001
Config File: { "chainConfig": { "coinName": "dash", "dataDirectory": "/path/to/datadir", "pubkeyPrefix": [ 76 ], "scriptPrefix": [ 16 ], "segwitActivationHeight": 2147483647, "segwitPrefix": "NONE" }, "parser": { "disk": { "blockMagic": 21175304, "coinDirectory": "", "hashFuncName": "" }, "maxBlockNum": 1200000, "rpc": { "address": "localhost", "password": "password", "port": 3001, "username": "user" } }, "version": 5 }
Output:
Locking data directory. terminate called after throwing an instance of 'std::runtime_error' what(): Unsupported hash func type Aborted