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

Bitcore Node 8 - Not starting

Open Daniel600 opened this issue 7 years ago • 2 comments

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

Daniel600 avatar May 15 '18 06:05 Daniel600

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?

micahriggan avatar May 15 '18 15:05 micahriggan

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

Daniel600 avatar May 16 '18 06:05 Daniel600