tadd option to disable spv; just in case - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit fa870d83b9d291e8d49eab7bf19ebf1579d2eb81
DIR parent 3a8a649d4e2a4aec74a358070e9c737cdf4322bd
HTML Author: ThomasV <thomasv@gitorious>
Date: Sun, 28 Oct 2012 08:58:21 +0100
add option to disable spv; just in case
Diffstat:
M electrum | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
DIR diff --git a/electrum b/electrum
t@@ -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()