Mi smooth sync
- Dec 11, 2020
-
-
Marcin authored54c62bf6
-
Marcin authored
Added object BlocksProvider which use a few threads to ask the node for batch of blocks. The threads do not wait to sql processing of already taken blocks, but immediatly asks for the next batches. config parameter max_batch used to set number of blocks taken in one http request config parameter max_worker used to set number of thread used to get blocks reporting changes: 1) times are reported after minium 1000 blocks were processe 2) timer statistics for block processing measure now times of whole loops - together with taking blocks and vops
0273877f
-