Install Bitcoin Core
- Choose the official Bitcoin Core 31.1 archive for your platform: Linux uses
.tar.gz; Windows and macOS use.zip. See the official download and verification instructions. - Verify the signed
SHA256SUMSusing trusted keys, then compare the archive hash. On this machine, the archive hash was compared with Bitcoin Core's published SHA256; verification of the checksum-list signature is still pending. - Extract
bitcoindandbitcoin-clito.local/binor add them toPATH. This project has no custom installer or binary.
| Platform | x86-64 | 32-bit x86 | ARM64 |
|---|---|---|---|
| Windows | Official package; tested here | No 31.1 package | No native 31.1 package |
| Linux | Official package | No 31.1 package | Official package; testing pending |
| macOS | Official package; testing pending | No 31.1 package | Official package; testing pending |
Linux ARM 32-bit (armhf) has a separate official package. Other build targets require toolchain, dependency, memory, and CI validation before support is claimed. See Bitcoin Core Guix targets and 31.1 packages.
Run the local test
python lab/node.py start
python lab/node.py mine 105
python lab/node.py wallet
python lab/node.py export .local/blocks-local.json
python lab/node.py stop
mine calls Bitcoin Core's generatetoaddress on regtest. The wallet command reports mature and immature balances. On a fresh setup, 105 blocks mature five coinbases under Bitcoin Core's rules.
To send a test transaction in PowerShell while the node is running:
$wallet = (py lab/node.py start | ConvertFrom-Json).wallet
$core = '.local/bin/bitcoin-cli.exe'
$rpc = @('-regtest', ('-datadir=' + (Resolve-Path .local/regtest).Path),
'-rpcport=19443', "-rpcwallet=$wallet")
$address = & $core @rpc getnewaddress
$txid = & $core @rpc -named sendtoaddress "address=$address" amount=1.25 fee_rate=2
py lab/node.py mine 1
& $core @rpc gettransaction $txid
On Linux/macOS, use bitcoin-cli -regtest -datadir="$PWD/.local/regtest" -rpcport=19443 -rpcwallet=<wallet-name> with the wallet name returned by start and the same RPC calls. The fee is explicit because a fresh regtest has too little history to estimate one.
Future pruned Bitcoin node
If you later run a Bitcoin node connected to the public network, use a separate data directory and bitcoind -datadir=<absolute-directory> -prune=4096. Create the directory first and allow extra space for chainstate and other files. The node still downloads and validates history during initial sync, then removes old block files according to the target. Compact filters are a separate option for lightweight clients. Keep remote RPC behind an authenticated administrative connection. See BIP 157 and the Bitcoin Core guide.
Performance measurements
The local profile reserves 64 MiB for the database cache and caps the mempool at 32 MB. These are memory settings and can increase validation time. Compare changes with Bitcoin Core 31.1 on the same machine, chain, and workload. Record peak memory, CPU, disk, blocks per second, p95 RPC latency, and restart recovery. For snapshot startup, also measure time until background historical validation completes. See AssumeUTXO.
Production mining needs hardware and a verifiable template and submission path. Stratum V2 is a candidate for pools. Before connecting hardware, test template selection, duplicate shares, job changes, and reorganizations on a private test network. See the Stratum V2 specification.
Local measurements
At height 107, exporting all 108 blocks took 3.55 seconds with one CLI process per block and 0.23 seconds with one persistent RPC connection. Both JSON files had the same SHA-256 digest. This single Windows measurement covers snapshot export only.
Verify the fixtures
Run python lab/reserve.py verify site/reserve.json against the original local node. It checks the descriptor, address, amount and confirmed unspent output. To create a separate fixture, run python lab/reserve.py create .local/new-reserve.json with a funded regtest wallet.
The Prague storage example with input 42 produced state root e07095cb0c954e40c5afd19c75d6700d74be96a6c9e4a86ea94eb6f417e3d530. Block 107 contains the commitment in transaction 9dd06db2a97ce9e11f6d98faa6ebfbe68c3dfcf313b9372fe242ed9fecd92fb1. The output contains the ASCII prefix BKMK:EVM:1 followed by the 32-byte root.