use set instead of list in memorypool_update
[electrum-server.git] / electrum.conf.sample
index c197750..4a1d5d8 100644 (file)
@@ -1,19 +1,54 @@
 [server]
 host = localhost
-port = 50000
+#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
-ircname = public Electrum server
+#irc_nick = <yournickname>
+#ssl_certfile = /path/to/electrum-server.crt
+#ssl_keyfile = /path/to/electrum-server.key
 
-[database]
-type = sqlite3
-database = electrum.sqlite
+# 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 = psycopg2
 # database = electrum
+#
+# [database]
+# type = sqlite3
+# database = electrum.sqlite
+
+
+[bitcoind]
+host = localhost
+port = 8332
+# user and password from bitcoin.conf
+user = user
+password = password