lev ~/.btcd/data/mainnet/blocks_leveldb --keys --limit 10
lev version 2.1.4
level version 0.18.0
value encoding set to JSON
key encoding set to UTF8
/usr/local/lib/node_modules/lev/lev:72
throw err
^
TypeError: Cannot call method 'map' of null
at Tree.addKey (/usr/local/lib/node_modules/lev/node_modules/level-subtree/index.js:58:7)
at ReadStream. (/usr/local/lib/node_modules/lev/node_modules/level-subtree/index.js:41:24)
at ReadStream.emit (events.js:95:17)
at ReadStream. (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_streamreadable.js:786:14)
at ReadStream.emit (events.js:92:17)
at emitReadable (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:448:10)
at emitReadable (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:444:5)
at readableAddChunk (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:187:9)
at ReadStream.Readable.push (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:149:10)
at /usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/lib/read-stream.js:94:12
Let me know if there is a workaround to open this DB?
Thank you.
Is there is support working with bitcoin blockchain leveldb produced by BTCD https://github.com/conformal/btcd ?
when im` trying to open db:
lev ~/.btcd/data/mainnet/blocks_leveldb --keys --limit 10
lev version 2.1.4 level version 0.18.0
value encoding set to JSON key encoding set to UTF8
/usr/local/lib/node_modules/lev/lev:72 throw err ^ TypeError: Cannot call method 'map' of null at Tree.addKey (/usr/local/lib/node_modules/lev/node_modules/level-subtree/index.js:58:7) at ReadStream. (/usr/local/lib/node_modules/lev/node_modules/level-subtree/index.js:41:24)
at ReadStream.emit (events.js:95:17)
at ReadStream. (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_streamreadable.js:786:14)
at ReadStream.emit (events.js:92:17)
at emitReadable (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:448:10)
at emitReadable (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:444:5)
at readableAddChunk (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:187:9)
at ReadStream.Readable.push (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:149:10)
at /usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/lib/read-stream.js:94:12
Let me know if there is a workaround to open this DB? Thank you.