Open elichai opened 8 years ago
Yes, you can use the existing blocks however you'll need to reindex after updating bitcoin.conf to enable addressindex, spentindex and timestampindex, plus enable zmq. It's generally a good idea to keep the datadir separate from the default bitcoin location so that there isn't confusion if you have both versions.
How can I do all that?
There is a guide that goes over the options here:
Hi, I did it and now I get this Error:
elichai2@Lenovo-G510:~/mynode$ bitcore-node start
/home/elichai2/mynode/node_modules/bindings/bindings.js:83
throw e
^
Error: Module version mismatch. Expected 14, got 48.
at Error (native)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at bindings (/home/elichai2/mynode/node_modules/bindings/bindings.js:76:44)
at Object.<anonymous> (/home/elichai2/mynode/node_modules/zmq/lib/index.js:6:30)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32
@elichai That's simply a nodejs error with native modules - you'll want to reinstall bitcore-node, or go into the containing directory (/home/elichai2/mynode
) and npm rebuild
.
This fixed it. Now it works fine except the blocks section (insight is "waiting for blocks" endlessly)
Did you ever figure that out? The waiting for blocks thing? I have this issue.
Hi, Is it possible to use Bitcoin core data for bitcore-node? (I tried just setting up a link and I got this error:) (I have txindex on in my Bitcoin Core)