Last active
January 4, 2018 03:26
-
-
Save DickyT/5ee5884b486f127448dfeb1818cc31a9 to your computer and use it in GitHub Desktop.
docker hub dickyt/coinhive-proxy-nodejs startup file template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Proxy = require("coin-hive-stratum"); | |
const proxy = new Proxy({ | |
host: "POOL_ADDR", | |
port: POOL_PORT, | |
pass: "POOL_PASSWD", | |
ssl: false, | |
user: "POOL_USER", | |
address: "WALLET_ADDR", | |
dynamicPool: false, | |
maxMinersPerConnection: MAX_CONN_LOAD, | |
donations: [], | |
}); | |
proxy.listen(SERVER_PORT); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment