hash tree of unspents
[electrum-server.git] / electrum.conf.sample
index aa6956c..d0a6468 100644 (file)
@@ -1,26 +1,28 @@
 [server]
 host = localhost
-native_port = 
+#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 = no
+#irc_nick = <yournickname>
+#ssl_certfile = /path/to/electrum-server.crt
+#ssl_keyfile = /path/to/electrum-server.key
 
-[database]
-type = MySQLdb
-database = electrum
-username = electrum
-password = secret
-#
-# [database]
-# type = psycopg2
-# database = electrum
-#
-# [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
 
 [bitcoind]
 host = localhost