1
0

Notify when a chunk of headers is validated

And a couple of cosmetic changes.
This should fix #1379.
This commit is contained in:
Neil Booth
2015-08-25 14:27:53 +09:00
parent f9ab33592f
commit a056f9804b
3 changed files with 5 additions and 3 deletions

View File

@@ -128,7 +128,8 @@ class WalletSynchronizer():
return
self.wallet.receive_tx_callback(tx_hash, tx, tx_height)
self.requested_tx.remove((tx_hash, tx_height))
self.print_error("received tx:", tx_hash, len(tx.raw))
self.print_error("received tx %s height: %d bytes: %d" %
(tx_hash, tx_height, len(tx.raw)))
# callbacks
self.network.trigger_callback('new_transaction', (tx,))
if not self.requested_tx: