When miners/stratums want to get new block template, they have to use rpc request twice.
'eth_getBlockByNumber' for height
'eth_getWork' for pow informations
After receiving result of 'eth_getWork', the real blockNumber right now may be different to the response of 'eth_getBlockByNumber'.
Just call rpc once and get the complete informations.
When miners/stratums want to get new block template, they have to use rpc request twice.
After receiving result of 'eth_getWork', the real blockNumber right now may be different to the response of 'eth_getBlockByNumber'. Just call rpc once and get the complete informations.