Skip to content

Instantly share code, notes, and snippets.

@System-Glitch
System-Glitch / generate_blocks.sh
Last active June 21, 2024 18:48
Tutorial for bitcoin regtest
# Script to generate a new block every minute
# Put this script at the root of your unpacked folder
#!/bin/bash
echo "Generating a block every minute. Press [CTRL+C] to stop.."
address=`./bin/bitcoin-cli getnewaddress`
while :
do