use set instead of list in memorypool_update
[electrum-server.git] / electrum.conf.sample
index f0263b3..4a1d5d8 100644 (file)
@@ -16,17 +16,26 @@ irc = yes
 #ssl_certfile = /path/to/electrum-server.crt
 #ssl_keyfile = /path/to/electrum-server.key
 
-#default backend is abe
-#backend = leveldb
+# default backend is leveldb (pruning server)
+backend = leveldb
 
-#for abe only, number of requests per single hash
-#limit = 1000
+[leveldb]
+path = /path/to/your/database
+# for each address, history will be pruned if it is longer than this limit
+pruning_limit = 100
 
-[database]
-type = MySQLdb
-database = electrum
-username = electrum
-password = secret
+
+# 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
@@ -36,10 +45,6 @@ password = secret
 # type = sqlite3
 # database = electrum.sqlite
 
-# comment database section above 
-# if you use backend = leveldb
-# [leveldb]
-# path = /path/to/your/database
 
 [bitcoind]
 host = localhost