Notify when a chunk of headers is validated
And a couple of cosmetic changes. This should fix #1379.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user