X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=blobdiff_plain;f=electrum.conf.sample;h=4a1d5d8e60a64e36c45f9e05c557498c860bf7aa;hp=5c2dae53dca12d4c2cc82ce54c166066530b6b6d;hb=4ce69b7ea24ead59ebbcc7ed335ea9762ae3724b;hpb=ba7381c35f1c45b1318dd95eebf27080e5a491f9 diff --git a/electrum.conf.sample b/electrum.conf.sample index 5c2dae5..4a1d5d8 100644 --- a/electrum.conf.sample +++ b/electrum.conf.sample @@ -1,26 +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 = +#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 +user = user password = password