From bb78d0e12888c980cda4e4ce3b3a0d9b33662ebe Mon Sep 17 00:00:00 2001 From: ahmedbodi Date: Sun, 2 Feb 2014 13:30:20 +0000 Subject: [PATCH] Version System --- mining/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mining/__init__.py b/mining/__init__.py index 9544e3a..8ba7bec 100644 --- a/mining/__init__.py +++ b/mining/__init__.py @@ -31,7 +31,10 @@ def setup(on_startup): from lib.coinbaser import SimpleCoinbaser bitcoin_rpc = BitcoinRPCManager() - + if settings.CONFIG_VERSION != 0.1: + log.exception("Config File is out of date. Stratum will now shut down") + break + else: continue # Check litecoind # Check we can connect (sleep) # Check the results: