1
0

async block headers

This commit is contained in:
Janus
2018-08-14 17:50:20 +02:00
committed by SomberNight
parent 19387ff911
commit e9ceeb85af
6 changed files with 364 additions and 37 deletions

View File

@@ -70,8 +70,7 @@ class SPV(ThreadJob):
if header is None:
index = tx_height // 2016
if index < len(blockchain.checkpoints):
# FIXME disabled until async block header download has been merged
pass #await self.network.request_chunk(tx_height, None)
await self.network.request_chunk(tx_height, None)
elif (tx_hash not in self.requested_merkle
and tx_hash not in self.merkle_roots):
self.print_error('requested merkle', tx_hash)