Skip to content

Commit

Permalink
chore: epoch3 bitcoin mining sleep earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
zone117x committed Mar 8, 2024
1 parent eb5252d commit cc71057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ services:
SLEEP_DURATION=$${MINE_INTERVAL}
BLOCK_HEIGHT=$$(bitcoin-cli -rpcconnect=bitcoind getblockcount)
if [ "$${BLOCK_HEIGHT}" -gt $$(( $${STACKS_30_HEIGHT} + 5 )) ]; then
if [ "$${BLOCK_HEIGHT}" -gt $$(( $${STACKS_30_HEIGHT} + 1 )) ]; then
echo "In Epoch3, sleeping for $${MINE_INTERVAL_EPOCH3} seconds..."
SLEEP_DURATION=$${MINE_INTERVAL_EPOCH3}
fi
Expand Down

0 comments on commit cc71057

Please sign in to comment.