Skip to content

Official bitcoind using and insight integration #582

@ghost

Description

Hello. Please, tell me how can I use bitcoind instead bcore or configure bitcore-node for already downloaded bitcoind chain? I have next configurations:

$ cat ~/.bitcoin/bitcoin.conf 
server=1
mainnet=1
whitebind=127.0.0.1:8333
whitelist=127.0.0.1
txindex=1
addressindex=1
timestampindex=1
spentindex=1
datadir=~/bitcore/.bitcoin
zmqpubrawtx=tcp://127.0.0.1:28332
zmqpubhashblock=tcp://127.0.0.1:28332
rpcallowip=127.0.0.1
uacomment=bitcore
$ cat ~/.bitcore/bitcore-node.json 
{
  "version": "5.0.0-beta.44",
  "network": "livenet",
  "port": 3001,
  "services": [
    "address",
    "block",
    "db",
    "fee",
    "header",
    "mempool",
    "p2p",
    "timestamp",
    "transaction",
    "web"
  ],
  "datadir": "/home/bitcore/.bitcore/data",
  "servicesConfig": {
    "insight-api": {
      "cwdRequirePath": "node_modules/insight-api"
    },
    "insight-ui": {
      "cwdRequirePath": "node_modules/insight-ui"
    },
    "p2p": {
      "peers": [
        { "ip": { "v4": "127.0.0.1" } }
      ]
    }
  }
}

When I runc bitcore-node he connect to 127.0.0.1, but download chain again and I got twice downloaded chain. Can I prevent this behavior and use only bitcoind chain?

Also you remove insight service from bitcore-node, how can I use insight-ui and insight-api with bitcore-node? When I run bitcore-node - webserver tolds me, what 'GET /insight' not found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions