store deserialized tx in/out in wallet file for fast computation
This commit is contained in:
@@ -450,7 +450,7 @@ class MiniWindow(QDialog):
|
||||
self.history_list.empty()
|
||||
|
||||
for item in tx_history[-10:]:
|
||||
tx_hash, conf, is_mine, value, fee, balance, timestamp = item
|
||||
tx_hash, conf, value, timestamp = item
|
||||
label = self.actuator.g.wallet.get_label(tx_hash)[0]
|
||||
v_str = self.actuator.g.format_amount(value, True)
|
||||
self.history_list.append(label, v_str, age(timestamp))
|
||||
@@ -862,7 +862,7 @@ class MiniDriver(QObject):
|
||||
self.window.update_completions(completions)
|
||||
|
||||
def update_history(self):
|
||||
tx_history = self.g.wallet.get_tx_history()
|
||||
tx_history = self.g.wallet.get_history()
|
||||
self.window.update_history(tx_history)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user