From 2c006212b34360a65ee736166c6a074930dae69e Mon Sep 17 00:00:00 2001 From: ocminer Date: Thu, 26 Dec 2013 22:10:33 +0100 Subject: [PATCH] Update config_sample.py These settings are all missing in the new release, stratum-mining is barking on startup. --- conf/config_sample.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/conf/config_sample.py b/conf/config_sample.py index 1f8eaf1..5a45dbe 100644 --- a/conf/config_sample.py +++ b/conf/config_sample.py @@ -175,3 +175,28 @@ NOTIFY_EMAIL_SERVER = 'localhost' # E-Mail Sender NOTIFY_EMAIL_USERNAME = '' # E-Mail server SMTP Logon NOTIFY_EMAIL_PASSWORD = '' NOTIFY_EMAIL_USETLS = True + + +# Disable the example service +ENABLE_EXAMPLE_SERVICE = False + +# Port used for Socket transport. Use 'None' for disabling the transport. +LISTEN_SOCKET_TRANSPORT = 3333 +# Port used for HTTP Poll transport. Use 'None' for disabling the transport +LISTEN_HTTP_TRANSPORT = None +# Port used for HTTPS Poll transport +LISTEN_HTTPS_TRANSPORT = None +# Port used for WebSocket transport, 'None' for disabling WS +LISTEN_WS_TRANSPORT = None +# Port used for secure WebSocket, 'None' for disabling WSS +LISTEN_WSS_TRANSPORT = None + +# ******************** Getwork Proxy Settings ********************* +# This enables a copy of slush's getwork proxy for old clients +# It will also auto-redirect new clients to the stratum interface +# so you can point ALL clients to: http://: +GW_ENABLE = False # Enable the Proxy +GW_PORT = 8332 # Getwork Proxy Port +GW_DISABLE_MIDSTATE = False # Disable midstate's (Faster but breaks some clients) +GW_SEND_REAL_TARGET = True # Propigate >1 difficulty to Clients (breaks some clients) +