run_rpc_command(sys.argv[1], stratum_tcp_port)
sys.exit(0)
- from processor import Dispatcher
+ from processor import Dispatcher, print_log
from backends.irc import ServerProcessor
backend_name = config.get('server', 'backend')
from backends.abe import BlockchainProcessor
elif backend_name == 'libbitcoin':
from backends.libbitcoin import BlockchainProcessor
- elif backend_name == 'bitcoind':
+ elif backend_name == 'leveldb':
from backends.bitcoind import BlockchainProcessor
else:
print "Unknown backend '%s' specified\n" % backend_name
sys.exit(1)
- print "\n\n\n\nStarting Electrum server on", host
+ for i in range(5): print ""
+ print_log( "Starting Electrum server on", host)
# Create hub
dispatcher = Dispatcher()
except:
shared.stop()
- print "Electrum Server stopped"
+ print_log( "Electrum Server stopped")