open-ethereum-pool icon indicating copy to clipboard operation
open-ethereum-pool copied to clipboard

stateUpdateInterval and blockRefreshInterval

Open ucyildirim opened this issue 6 years ago • 1 comments

Hi all, What is the difference between stateUpdateİnterval and blockRefreshİnterval?

I know that blockRefreshInterval is checking daemon for new jobs. But I dont understand the other one. When I dig into code, I saw that get_work request refreshes blockTemplate too.

So, why do I need stateUpdateInterval and what is the proper value for that?

Thank you in advance!

ucyildirim avatar Feb 09 '19 21:02 ucyildirim

It updates your blockchain nodes state in DB

aemet93 avatar Jan 22 '20 11:01 aemet93