bitpay / bitcore

A full stack for bitcoin and blockchain-based applications
https://bitcore.io/
MIT License
4.86k stars 2.09k forks source link

V8 insight-api differs #1696

Open maektwain opened 6 years ago

maektwain commented 6 years ago

While running v8 bitcore node with insight api with Bitcoin ABC , the API returns 500 error from BWS ?

screen shot 2018-09-09 at 4 02 14 pm
micahriggan commented 6 years ago

BWS and v8 integration is still WIP and will be merged into this repo soon

speculees commented 6 years ago

Does that mean that v8 will have BWS project in the packages folder?

micahriggan commented 6 years ago

Correct, it'll be in the packages folder

On Wed, Sep 12, 2018, 09:13 Speculees notifications@github.com wrote:

Does that mean that v8 will have BWS project in the packages folder?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/bitpay/bitcore/issues/1696#issuecomment-420643093, or mute the thread https://github.com/notifications/unsubscribe-auth/ADdV6VRT9QzFkPdaoTcx-L7X0x30VfMSks5uaQh6gaJpZM4WgPSX .

speculees commented 6 years ago

Awesomeness! Thank you! When would this be? is there a branch? Perhaps I can help somehow.

Fantic666 commented 6 years ago

@maektwain may i ask if you got a full sync with v8 and bitcoin-abc ? is it possible that you write some lines how did you got it ? many thanks for your help.

maektwain commented 6 years ago

Yeah sure , you need to define the settings for Bitcoin ABC as

{
  "bitcoreNode": {
    "pruneSpentScripts": true,
    "port":"3002",
    "dbHost":"10.164.3.3",
    "dbName":"testnet",
    "dbPort":"27017",
    "insight": {
      "network":"testnet",
      "chain":"BCH"
    },
    "chains": {
      "BCH": {
        "testnet": {
          "chainSource": "p2p",
          "trustedPeers": [
            {
              "host": "ipaddress",
              "port": 18333
            }
          ],
          "rpc": {
            "host": "ipaddress",
            "port": 18333,
            "username": "username",
            "password": "password"
          }
        }
      }
    }
  }

}

You need to have mongoDB installed.