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

Bitcore Node 8 - Not starting #560

Open
Daniel600 opened this issue May 15, 2018 · 2 comments
Open

Bitcore Node 8 - Not starting #560

Daniel600 opened this issue May 15, 2018 · 2 comments

Comments

@Daniel600
Copy link

Using bitcore-node v8 with bitcoin ABC (BCH). Bitcoin ABC is working however cant get Bitcore node to start. Get following error

warn: Not connected to peer 127.0.0.1 {"chain":"BCH","network":"mainnet"}

https://github.com/bitpay/bitcore-node/tree/v8.0.0
@chakhalyan1

@micahriggan
Copy link
Contributor

Hi Daniel!

Thanks for checking out the v8 branch. It's still a work in progress, but it should definitely be able to connect to ABC.

Do you mind sharing your bitcore.config.json and the version of ABC, and also the port that ABC is running on for p2p and rpc?

@Daniel600
Copy link
Author

Daniel600 commented May 16, 2018

HI Micahriggan Thanks for the response - looks like we got it to work syncing at the moment - still appreciate if you can have a look.
@chakhalyan1

We were unable to install via npm. So we installed via clone -b v8.0.0 https://github.com/bitpay/bitcore-node.git - we had complications with setting config file - used https://github.com/bitpay/bitcore/tree/v8.0.0 to help including - BITCORE_CONFIG_PATH=some/path/to/config node bin/start -

bitcore.config.json
"bitcoreNode": {
"pruneSpentScripts": true,
"chains": {
"BCH": {
"mainnet": {
"chainSource": "p2p",
"trustedPeers": [
{
"host": "127.0.0.1",
"port": 8333
}
],
"rpc": {
"host": "127.0.0.1",
"port": 8332,
"username": X
"password": X
}
}
}
}
}
Bitcoin ABC Config

whitebind=127.0.0.1:8333
txindex=1
addressindex=1
timestampindex=1
spentindex=1
maxconnections=100
rpcuser=X
rpcpassword=X
rpcclienttimeout=30
rpcport=8332
rpcconnect=127.0.0.1
rpcbind=127.0.0.1
rpcallowip=127.0.0.1

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

2 participants