1. enter the running container which run the viabtc programs `docker exec -it THE_CONTAINER /bin/bash`(Not need stop the container)
2. cd /btc/matchengine, and you can see config.json and restart.sh
3. replace you own config.json in to it.
4. exec the restart.sh(restart the match engine.exe)
5. enter the `/var/log/trade` and watch the matchengine.log.
6. exit the terminal of the running container, and use the curl to get the `market.list`
code as follow:
`curl -H "Content-Type:application/json" -X POST --data '{"method": "market.list", "params": [], "id": 1516681174}' http://localhost:18080`
However matchengine.exe fails to run with error:
./matchengine.exe: init trade fail: -47
Is there somewhere else that needs to be changed as well? I've also tried pulling other people's repos and running them but they also fail.
I've followed these instructions:
However matchengine.exe fails to run with error: ./matchengine.exe: init trade fail: -47
Is there somewhere else that needs to be changed as well? I've also tried pulling other people's repos and running them but they also fail.
Thanks