Patched version of Bitcoin regtest with halving interval increased to mainnet and testnet values. Halving occurs every 210000 blocks, instead of default 150.
GitHub Repository is available at ulamlabs/bitcoind-custom-regtest.
docker build -t ulamlabs/bitcoind-custom-regtest:latest .
docker run -p 19001:19001 -p 19000:19000 -p 28332:28332 ulamlabs/bitcoind-custom-regtest:latest
By default RPC is available on port 19001 with username test
and password test
. Image includes a mining script which generates a new block every minute. Bitcoin node has wallet feature enabled and coins are available to be spent using CLI as soon as they're matured (after 100 blocks).