Discussions

Ask a Question
Back to All

How to restart mining without restarting the sync from start.

Hi,

I am mining using the command given in https://docs.overline.network/docs/beginners-guide-to-mining-block-collider
"
docker run --rm --name bcnode
--memory-reservation="6900m"
-p 3000:3000 -p 16060:16060 -p 16061:16061 -p 36061:36061 -p 36060:36060
-e BC_MINER_KEY="<YOUR_PUBLIC_ADDRESS>"
-e BC_NETWORK="main"
-e BC_FORCE_MINE=true
-e MIN_HEALTH_NET=true
-e NODE_OPTIONS=--max_old_space_size=6096
blockcollider/bcnode:latest
start --rovers --rpc --ws --ui --node --scookie "scookie" 2>&1
"
.
Now whenever I stop the mining using "docker stop bcnode" and start it again with the above command, I see that sync start from block-1. Is there a way to restart mining without restarting the sync from start?