electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit e4dc3f37529073d24cb77373c9a82e2f332eab9d
parent 2cb5b14b9b9c57b08e020ff01b705df2e9e1237e
Author: thomasv <thomasv@gitorious>
Date:   Wed, 27 Feb 2013 10:13:03 +0100

use history to determine if the wallet has been used

Diffstat:
Mlib/wallet.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -336,7 +336,8 @@ class Wallet: def is_found(self): - return (len(self.change_addresses) > self.gap_limit_for_change ) or ( len(self.addresses) > self.gap_limit ) + return self.history.values() != [[]] * len(self.history) + def fill_addressbook(self): for tx_hash, tx in self.transactions.items():