BlockSci
BlockSci copied to clipboard
cannot import dogecoin with rpc - terminate called after throwing an instance of 'BitcoinException'
Hello
I used to import data directly from disk with blocksci for other chains but i believe i need to use rpc for dogecoin? I use latest v0.6 blocksci and dogecoin 1.14.2
cat .dogecoin/dogecoin.conf
txindex=1
server=1
rest=1
rpcusername=dogecoin
rpcpassword=xx
rpcport=8432
cat blocksci_dogecoin.conf
{
"chainConfig": {
"coinName": "custom",
"dataDirectory": "/home/ubuntu/litecoin/blocksci-dogecoin",
"pubkeyPrefix": [],
"scriptPrefix": [],
"segwitActivationHeight": 2147483647,
"segwitPrefix": ""
},
"parser": {
"maxBlockNum": -6,
"rpc": {
"address": "127.0.0.1",
"password": "xxx",
"port": 8432,
"username": "dogecoin"
}
},
"version": 5
}
blocksci_parser blocksci_dogecoin.conf update
83GB of free disk space available.
Locking data directory.
Error while interacting with RPC: std::exception
terminate called after throwing an instance of 'BitcoinException'
what(): std::exception
Aborted (core dumped)
blocksci_parser blocksci_dogecoin.conf doctor
83GB of free disk space available.
Checking configuration for issues.
OK: Found data directory on disk.
OK: Found RPC parser settings in config.
terminate called after throwing an instance of 'nlohmann::detail::out_of_range'
what(): [json.exception.out_of_range.403] key 'disk' not found
Aborted (core dumped)
System Information
Using AMI: yes/no no BlockSci version: latest v0.6 Blockchain: dogecoin Parser: Disk/RPC rpc Total memory: 32
Am I missing something?
Thanks
I haven't used BlockSci with Dogecoin, but here are a few comments:
- The
doctorcommand does currently only work for disk-based configurations. This is a bug and will eventually be fixed. See https://github.com/citp/BlockSci/blob/e367bfe21f936c7d04a8ba5425cbb942f2cfeb62/tools/parser/doctor.cpp#L100 - The failing
updatecall with theBitcoinExceptionmay be a sign that the API of the Dogecoin client has changed, but the Bitcoin API that BlockSci uses has not and is quite old (2014). Using an older Dogecoin version might help.
Thanks. Good idea i'll try that
Hello, I encountered the same problem as you in Zcash data processing. Have you solved this problem now? I would be very grateful if you can reply to my question, thank you!