Bitcoind

ubuntu 系統中的 DashCoin 洞察設置

  • July 5, 2018

我試圖在我的本地機器(ubuntu OS)中安裝dash insight ui & api,它完成了所有步驟,但是我在前台啟動服務時遇到了問題。

讓我與您分享命令,配置文件。

<https://www.npmjs.com/package/bitcore-dash>

但是在我的終端中出現以下錯誤:

[2018-02-09T04:18:18.022Z] info: Using config: /home/dashcore/.bitcore/bitcore-node-dash.json [2018-02-09T04:18:18.024Z] info: Using network: testnet [2018-02-09T04:18:18.026Z] info: Starting bitcoind [2018-02-09T04:18:18.028Z] info: Using bitcoin config file: /home/dashcore/.bitcore/data/dash.conf [2018-02-09T04:18:18.030Z] info: Starting dash process dashd: zmq/zmqpublishnotifier.cpp:101: virtual void CZMQAbstractPublishNotifier::Shutdown(): Assertion psocket’ failed. [2018-02-09T04:18:18.245Z] warn: Dash process unexpectedly exited with code: null [2018-02-09T04:18:18.246Z] warn: Restarting dash child process in 5000ms [2018-02-09T04:18:23.247Z] info: Using bitcoin config file: /home/dashcore/.bitcore/data/dash.conf [2018-02-09T04:18:23.248Z] info: Starting dash process dashd: zmq/zmqpublishnotifier.cpp:101: virtual void CZMQAbstractPublishNotifier::Shutdown(): Assertionpsocket' failed. [2018-02-09T04:18:23.481Z] warn: Dash process unexpectedly exited with code: null Warning: Failed to create backup, file already exists! This could happen if you restarted wallet in less than 60 seconds. You can continue if you are ok with this.

我的配置文件 (bitcore-node-dash.json)

{ "network": "testnet", "port": 3006, "services": [ "bitcoind", "web" ], "servicesConfig": { "bitcoind": { "spawn": { "datadir": "/home/dashcore/.bitcore/data", "exec": "/home/dashcore/.bitcore/data/dashd" } } } }

破折號配置 (dash.conf)

server=1 whitelist=127.0.0.1 txindex=1 addressindex=1 timestampindex=1 spentindex=1 zmqpubrawtx=tcp://MyIPAddress:28332 zmqpubrawtxlock=tcp://MyIPAddress:28332 zmqpubhashblock=tcp://MyIPAddress:28332 rpcallowip=127.0.0.1 rpcuser=dash rpcpassword=local321 uacomment=bitcore

你能幫我嗎?哪一步出了什麼問題?

試試這個配置。它對我有用,它也可能對你有用。

server=1
whitelist=0.0.0.0/0
txindex=1
addressindex=1
timestampindex=1
spentindex=1
zmqpubrawtx=tcp://127.0.0.1:28332
zmqpubrawtxlock=tcp://127.0.0.1:28332
zmqpubhashblock=tcp://127.0.0.1:28332
rpcuser=dash
rpcpassword=local321
rpcport=9998
rpcallowip=0.0.0.0/0
uacomment=bitcore
debug=0
testnet=1

引用自:https://bitcoin.stackexchange.com/questions/70483