1
0

add configurable checkpoint to blockchain verification; use genesis as default

This commit is contained in:
ThomasV
2017-03-23 11:58:56 +01:00
parent 85f2f667c3
commit dd0b018a35
3 changed files with 48 additions and 11 deletions

View File

@@ -737,6 +737,9 @@ class Network(util.DaemonThread):
def on_get_chunk(self, interface, response):
'''Handle receiving a chunk of block headers'''
if response.get('error'):
interface.print_error(response.get('error'))
return
if self.bc_requests:
req_if, data = self.bc_requests[0]
req_idx = data.get('chunk_idx')