X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=blobdiff_plain;f=electrum.conf.sample;h=4a1d5d8e60a64e36c45f9e05c557498c860bf7aa;hp=f0263b3ee6d3c7005f550fed846b5d286aebc604;hb=240db7c28d2e6a0d0078c42f81b2b110615e88c6;hpb=e781b55075eb67c70ff7cfdcd159e825d86c80ce diff --git a/electrum.conf.sample b/electrum.conf.sample index f0263b3..4a1d5d8 100644 --- a/electrum.conf.sample +++ b/electrum.conf.sample @@ -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