Skip to content

How to use this api together with docker-dashd #41

@devluist

Description

@devluist

Hi I can't figure it out how should be set the dash.conf to listen to the daemon from a docker image (https://github.com/dashpay/docker-dashd)

I have like this

addressindex=1
txindex=1
listen=1
server=1
daemon=1
timestampindex=1
spentindex=1

and dashcore-node.json

It's like this

{
  "network": "livenet",
  "port": 3001,
  "services": [
    "@dashevo/insight-api",
    "dashd",
    "web"
  ],
  "servicesConfig": {
    "dashd": {
      "spawn": {
        "datadir": "/dashcore-node/dash-data",
        "exec": "/dashcore-node/dash-data/dashd"
      }
    }
  }
}

I've installed dashcore-node outside of the docker image (as i am kind new to docker development)
when a run
./bin/dashcore-node start

it says

"starting dashd"

and then it fails with error

RPCError: Dash JSON-RPC: Request Error: connect ECONNREFUSED 127.0.0.1:9998

I have placed a question in SO but i'm on a deadline and nobody has answered, so please any help thank you

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