set IRC default to off, cleanup sample config
authorEagle[TM] <eagletm@mpex.net>
Fri, 3 Jan 2014 12:18:28 +0000 (13:18 +0100)
committerEagle[TM] <eagletm@mpex.net>
Fri, 3 Jan 2014 12:18:28 +0000 (13:18 +0100)
README-IRC.md
electrum.conf.sample
server.py

index 75a8a9b..39c9af1 100644 (file)
@@ -13,7 +13,7 @@ The following config file options are used by the IRC part of Electrum server:
     #report_stratum_http_port = 80
 
 `irc` is used to determine whether the IRC thread will be started or the 
-Electrum server will run in private mode. In private mode, 
+Electrum server will run in private mode (default). In private mode, 
 `./server.py peers` will always return an empty list.
 
 `host` is a fully-qualified domain name (FQDN) of your Electrum server. It is
index 4a1d5d8..d0a6468 100644 (file)
@@ -11,7 +11,7 @@ stratum_http_port = 8081
 #report_stratum_http_ssl_port = 443
 password = secret
 banner = Welcome to Electrum!
-irc = yes
+#irc = no
 #irc_nick = <yournickname>
 #ssl_certfile = /path/to/electrum-server.crt
 #ssl_keyfile = /path/to/electrum-server.key
@@ -24,28 +24,6 @@ path = /path/to/your/database
 # for each address, history will be pruned if it is longer than this limit
 pruning_limit = 100
 
-
-# ABE configuration for full servers
-# Backends other than level db are deprecated and currently unsupported
-
-# number of requests per single hash
-# limit = 1000
-
-# [database]
-# type = MySQLdb
-# database = electrum
-# username = electrum
-# password = secret
-
-# [database]
-# type = psycopg2
-# database = electrum
-#
-# [database]
-# type = sqlite3
-# database = electrum.sqlite
-
-
 [bitcoind]
 host = localhost
 port = 8332
index d41bcf3..eb2b548 100755 (executable)
--- a/server.py
+++ b/server.py
@@ -57,7 +57,7 @@ def create_config():
     config.set('server', 'ssl_certfile', '')
     config.set('server', 'ssl_keyfile', '')
     config.set('server', 'password', '')
-    config.set('server', 'irc', 'yes')
+    config.set('server', 'irc', 'no')
     config.set('server', 'irc_nick', '')
     config.set('server', 'coin', '')
     config.set('server', 'datadir', '')