stasatdaglabs 194ceace6f [NOD-71] Add support for Go modules (#251)
* [NOD-71] Replaced Gopkg.lock and Gopkg.toml with go.mod and go.sum.

* [NOD-71] Updated Dockerfiles to use go-modules instead of dep.
2019-04-17 13:45:29 +03:00
..
2019-03-26 16:37:44 +02:00

1. To build docker image invoke following command from btcd root directory:
    docker build -t mining_simulator -f ./mining/simulator/docker/Dockerfile .

2. To run:
    a. create folder ~/.btcd/mining_simulator with the following files:
        rpc.cert - certificate file that all rpc nodes accept
        addresses - list of node addresses in the format [hostname]:[port]. One node per line
    b. run:
         docker run -v ~/.btcd:/root/.btcd -t mining_simulator