hash tree of unspents
[electrum-server.git] / electrum.conf.sample
index 5c2dae5..d0a6468 100644 (file)
@@ -1,26 +1,32 @@
 [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 = no
+#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
 
-# type = MySQLdb
-# database = electrum
-# username = electrum
-# password = secret
-
-# type = psycopg2
-# database = electrum
+[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
 port = 8332
 # user and password from bitcoin.conf
-user = user 
+user = user
 password = password