From f6c2d4246b7e80b5502bb2b0c68d820b049f25e4 Mon Sep 17 00:00:00 2001 From: Matthew Little Date: Fri, 7 Mar 2014 01:10:17 -0700 Subject: [PATCH] Update README.md --- README.md | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 49c7740..1eee12a 100644 --- a/README.md +++ b/README.md @@ -170,8 +170,8 @@ Description of options: detects those and disconnects them. */ "connectionTimeout": 600, //Remove workers that haven't been in contact for this many seconds - /* If a worker is submitting a good deal of invalid shares we can temporarily ban them to - reduce system/network load. Also useful to fight against flooding attacks. */ + /* If a worker is submitting a high threshold of invalid shares we can temporarily ban them + to reduce system/network load. Also useful to fight against flooding attacks. */ "banning": { "enabled": true, "time": 600, //How many seconds to ban worker for @@ -249,16 +249,19 @@ If you are creating multiple pools, ensure that they have unique stratum ports. For more information on these configuration options see the [pool module documentation](https://github.com/zone117x/node-stratum#module-usage) + + ##### [Optional, recommended] Setting up blocknotify - * In `config.json` set the port and password for `blockNotifyListener` - * In your daemon conf file set the `blocknotify` command to use: +1. In `config.json` set the port and password for `blockNotifyListener` +2. In your daemon conf file set the `blocknotify` command to use: +``` +[path to scripts/blockNotify.js] [listener host]:[listener port] [listener password] [coin name in config] %s +``` +Example: inside `dogecoin.conf` add the line +``` +blocknotify="scripts/blockNotify.js localhost:8117 mySuperSecurePassword dogecoin %s" +``` - ``` - [path to scripts/blockNotify.js] [listener host]:[listener port] [listener password] [coin name in config] - %s" - ``` - - * Example: `dogecoin.conf` > `blocknotify="scripts/blockNotify.js localhost:8117 mySuperSecurePassword dogecoin %s"` @@ -268,6 +271,9 @@ For more information on these configuration options see the [pool module documen node init.js ``` +Optionally, use something like [forever](https://github.com/nodejitsu/forever) to keep the node script running +in case the master process crashes. + Donations ---------