connector
This commit is contained in:
parent
cd6b8fc088
commit
fc1edf1707
@ -210,11 +210,11 @@ class Worker:
|
|||||||
t = 0
|
t = 0
|
||||||
batch = list()
|
batch = list()
|
||||||
h_list = list()
|
h_list = list()
|
||||||
rpc_batch_limit = 50
|
# rpc_batch_limit = 50
|
||||||
while True:
|
while True:
|
||||||
batch.append(["getblockhash", height])
|
batch.append(["getblockhash", height])
|
||||||
h_list.append(height)
|
h_list.append(height)
|
||||||
if len(batch) >= rpc_batch_limit:
|
if len(batch) >= self.rpc_batch_limit:
|
||||||
height += 1
|
height += 1
|
||||||
break
|
break
|
||||||
height += 1
|
height += 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user