Commit 0273877f authored by Marcin's avatar Marcin
Browse files

blocks provider takes blocks independet for sql processing

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
parent fd93051e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment