bitcore-node icon indicating copy to clipboard operation
bitcore-node copied to clipboard

Development with insight and insight-api

Open patricknee opened this issue 8 years ago • 2 comments

Does anybody have current instructions for how to set up a development environment with the 5.0.0-beta44 (or any recent) of:

bitcore-node insight-api insight-ui

I have been able to get the code running and populating the db, but calls to insight-api do not return valid data, with block: 0 (shown below) while the code populates the database, and calls to /insight-api/block/:blockhash using a blockhash that is reported as added in the console result in "block not in index".

{"info":{"version":"bitcore-1.1.2","blocks":0,"proxy":"","difficulty":1,"testnet":true,"relayfee":0,"errors":"","network":"testnet"}}

Debugging this setup has been a mesh of messages reporting 'More than one instance of bitcore-lib found' and attemps to hack a resolution to this have not been successful.

Has anyone gotten a development environment using the 5.0.0-beta44 code up and running?

patricknee avatar Dec 03 '17 11:12 patricknee

I've ran into this as well. Never got it sorted. I've pretty much given up. If you figure it out, share what you did please.

hawthornetr avatar Dec 14 '17 18:12 hawthornetr

Here is how to "fix it" . https://github.com/bitpay/bitcore-node/issues/518

winteraz avatar Jan 24 '18 04:01 winteraz