From 7ffd928e8052a59c33081cd463d0325304bd6bec Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 17 Jan 2019 17:19:08 +0100 Subject: [PATCH] wallet: add comment --- electrum/address_synchronizer.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/electrum/address_synchronizer.py b/electrum/address_synchronizer.py index ab1f64d10..846eb41fb 100644 --- a/electrum/address_synchronizer.py +++ b/electrum/address_synchronizer.py @@ -373,11 +373,13 @@ class AddressSynchronizer(PrintError): @profiler def load_transactions(self): # load txi, txo, tx_fees - self.txi = self.storage.get('txi', {}) + # bookkeeping data of is_mine inputs of transactions + self.txi = self.storage.get('txi', {}) # txid -> address -> (prev_outpoint, value) for txid, d in list(self.txi.items()): for addr, lst in d.items(): self.txi[txid][addr] = set([tuple(x) for x in lst]) - self.txo = self.storage.get('txo', {}) + # bookkeeping data of is_mine outputs of transactions + self.txo = self.storage.get('txo', {}) # txid -> address -> (output_index, value, is_coinbase) self.tx_fees = self.storage.get('tx_fees', {}) tx_list = self.storage.get('transactions', {}) # load transactions