use set instead of list in memorypool_update
[electrum-server.git] / electrum.conf.sample
index 62c4477..4a1d5d8 100644 (file)
@@ -1,18 +1,42 @@
 [server]
 host = localhost
+#report_host = 
 stratum_tcp_port = 50001
 stratum_http_port = 8081
+#stratum_tcp_ssl_port = 50002
+#stratum_http_ssl_port = 8082
+#report_stratum_tcp_port = 50001
+#report_stratum_http_port = 80
+#report_stratum_tcp_ssl_port = 50002
+#report_stratum_http_ssl_port = 443
 password = secret
 banner = Welcome to Electrum!
 irc = yes
-cache = no
+#irc_nick = <yournickname>
+#ssl_certfile = /path/to/electrum-server.crt
+#ssl_keyfile = /path/to/electrum-server.key
+
+# default backend is leveldb (pruning server)
+backend = leveldb
+
+[leveldb]
+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 = MySQLdb
-database = electrum
-username = electrum
-password = secret
-#
 # [database]
 # type = psycopg2
 # database = electrum
@@ -21,6 +45,7 @@ password = secret
 # type = sqlite3
 # database = electrum.sqlite
 
+
 [bitcoind]
 host = localhost
 port = 8332