mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-24 23:12:31 +00:00

* [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.
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