commit fa870d83b9d291e8d49eab7bf19ebf1579d2eb81
parent 3a8a649d4e2a4aec74a358070e9c737cdf4322bd
Author: ThomasV <thomasv@gitorious>
Date: Sun, 28 Oct 2012 08:58:21 +0100
add option to disable spv; just in case
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/electrum b/electrum
@@ -212,7 +212,10 @@ if __name__ == '__main__':
verifier = WalletVerifier(interface, config)
wallet.set_verifier(verifier)
- verifier.start()
+ if not config.get('disable_spv'):
+ verifier.start()
+ else:
+ print "warning: SPV is disabled"
gui.main(url)
wallet.save()