Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't setup insight working for Bitcore 8 #584

Open
purplefox81 opened this issue Nov 28, 2018 · 0 comments
Open

Couldn't setup insight working for Bitcore 8 #584

purplefox81 opened this issue Nov 28, 2018 · 0 comments

Comments

@purplefox81
Copy link

I am referring to the bitcore v8.0.0 at https://github.com/bitpay/bitcore/tree/v8.0.0

I am aware that bitcore v4.1.0 goes with insight-ui and insight-api
but it seems that I am unable to find which insight repository and which version of insight is the one I should use in bitcore v8

Q0) I install the out-of-box bitcore v8, port 3000 is listening, but curl localhost:3000 failed. curl http://localhost:3000/ gave me "Cannot GET /insight" so how to test/verify my local 3000 is working and what endpoint shall i use for the testing?

Q1) does bitcore v8 (given the url above) has any built in insight ui/api?
-- My guess is no, because i didnt find any

Q2) To support Bitcore v8, shall I install inisght or insight-ui + insight-api?
-- My guess is i should install https://github.com/bitpay/insight, am i right? anybody can confirm this?

Q2.1) for Insight at https://github.com/bitpay/insight, what is the configuration that I should add to bitcore.config.json?? I couldn't find any reference on bitpay or github discussing about that. My current bitcore.config.json is as follows.
{
"bitcoreNode": {
"pruneSpentScripts": true,
"chains": {
"BTC": {
"mainnet": {
"chainSource": "p2p",
"trustedPeers": [
{ "host": "127.0.0.1","port": 8333 }, { and some other peers here... }
],
"rpc": {
"host": "127.0.0.1",
"port": 8332,
"username": "X",
"password": "X"
}
}
}
}
}
}

Q2.5) for a team who is already familiar with the old insight-ui/insight-api, can they still use the old code in the old repo insight-ui/insight-api?

Q3) which version of insight works best with bitcore v8. OR which version of insight-api/ui if that is a better fit.

I find it quite lost in trying to close these gaps, perhaps some experts in this can give me a hand? Many thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant