Closed oliverw closed 6 years ago
I get this for about 10-15 minutes now whenever I have to restart my dashd.
@codablock Do you know if this is expected behaviour on regtest? I know you were working thru some issues with regtest and IBD a few weeks back.
The issue actually goes away after generating a block and waiting a couple seconds.
I've created a docker test image utilizing three instances of dashd for the purpose of testing mining-pool code. While all three nodes come up without error and blocks can be generated just fine using
generate
, agetblocktemplate
RPC issued to any of the daemons initially returns:{"result":null,"error":{"code":-10,"message":"Dash Core is syncing with network..."},"id":"curltest"}
Waiting a couple seconds, one single time a valid block-template is returned. Subsequent
getblocktemplate
requests always return the result listed above.The source to the docker image can be found here.