Repository navigation
Releases
Bitcoin Machine Code v0.2.1
Full Changelog: v0.2.0...v0.2.1
Bitcoin Machine Code v0.2.0
Bitcoin Machine Code (bmc) v0.2.0 — Native Desktop GUI, Hardware Wallet PSBT & 38B+ Fuzzing
Experimental Software Notice:
bmcis 100% AI-authored software verified differentially against Bitcoin Core v31.1 and hardened across multiple security audits and 24/7 continuous fuzzing. It has not received an independent human security audit of its consensus and cryptographic assembly. Watch-only + Hardware Signer (HWI / Air-Gapped PSBT) is the recommended custody posture; do not hold significant funds in a hot wallet on mainnet.
- Documentation Site: https://bobclawblaw.github.io/bitcoinmachinecode/
- Continuous Fuzzing & Assembly Validation: https://bobclawblaw.github.io/bitcoinmachinecode/fuzzing.html
- Full Technical Assessment vs. Bitcoin Core v31.1: https://bobclawblaw.github.io/bitcoinmachinecode/assessment.html
- 2026-11-27 Full Audit Remediation Report: https://bobclawblaw.github.io/bitcoinmachinecode/security-audit.html
What's New in v0.2.0
1. Pure Native Cross-Platform Rust Desktop GUI (bmc-gui)
- Built in native Rust (
egui/eframe) — zero WebView, zero Electron, zero JavaScript runtime — bundled directly inside all three platform release archives (bmc-gui/bmc-gui.exe). - 7 Native Screens:
- Overview: Live sync progress bar, confirmed / unconfirmed (mempool) / immature balances in BTC & sats, live
estimatesmartfee, chain badge (MAINNET/SIGNET/TESTNET4/REGTEST), watch-only vs. hot-wallet safety posture, and recent transactions. - Receive & QR: Fresh non-reusing BIP44/49/84/86 address generator, native vector BIP21 QR code, and Verify on Hardware Device (
walletdisplayaddress). - Send & Coin Control: Live
validateaddress, fee-rate slider synced toestimatesmartfee, manual UTXO selection, Build Unsigned PSBT (primary safe path), and hot-wallet send with confirmation modal. - Hardware & PSBT Workbench: USB hardware signer detection (
enumeratesigners),.psbtsave/load + QR,decodepsbt+analyzepsbt, descriptor updater (air-gapped export), Sign via Hardware Device (HWI signtx),combinepsbt,finalizepsbt,testmempoolacceptdry-run, andsendrawtransaction. - UTXOs & History: Freeze/unfreeze UTXOs (
lockunspent) and 1-click RBFbumpfee. - Wallets & Security: Switch wallets, create Watch-Only vaults or Hot wallets, import descriptors,
rescanblockchain, and encrypt/unlock/lock/backup. - Node & Connection: Auto-discovers
<datadir>/<chain>/.cookieor connects to a remote node via host/port/user/pass, plus BIP324 v2 peer & index status.
- Overview: Live sync progress bar, confirmed / unconfirmed (mempool) / immature balances in BTC & sats, live
2. P0 Bitcoin Custody & Transacting Fixes
- Standard BIP44/49/84/86 Derivation & Ranged Descriptors: Switched from legacy swapped
m/<purpose>'/0'/0'/<index>/<change>to standardm/<purpose>'/<coin>'/0'/<change>/<index>(0'mainnet,1'testnet4/signet/regtest), interoperable with Bitcoin Core, Sparrow, Electrum, Coldcard, Trezor, and Ledger.listdescriptorsnow emits true ranged account descriptors (wpkh([mfp/84h/<coin>h/0h]xpub.../0/*)#checksum,tr(...),sh(wpkh(...)),pkh(...)), andwallet.idxpersists per-(type, chain) address indices sogetnewaddressand change outputs never reuse index0. - Live Tip-Following, Reorg-Safe & Mempool-Aware Wallet Sync: Upgraded
walletscan.dattoBMCWSCN5(48-byte header withtip_hash[32]), adding incrementalwscan_catchup()with O(1) tip-unchanged fast-path and automatic rewind/replay across chain reorgs. Added shared-mempool overlay (rpc_node_mempool_foreach) sogetbalancesreports realmine.untrusted_pendingand consecutive sends skip mempool-spent UTXOs. - Hardware Signer (
HWI signtx) & Watch-Only PSBT Flow: Addedrpc_signer_signtx()(512 KiB buffers), unblockedwalletcreatefundedpsbt,fundrawtransaction, andwalletprocesspsbtfor watch-only wallets with internal change derivation, explicitinputsCoin Control, andfee_rateoptions.
3. Continuous Fuzzing Milestone (38.26B+ Executions, 0 Crashes)
- 38.26 billion (
38,264,066,048) mutated executions across 134 slices (4.47 fuzz-hours) on the 24/7bmc-fuzz.servicerunner (commit579e9b61). - 4.34 billion (
4,340,433,920) in-process Bitcoin Core v31.1EvalScriptdifferential comparisons at 2.13M exec/s with 0 crashes and 0 mismatches. - Wire identity bumped to
/BitcoinMachineCode:0.2.0/across Linux x86-64, macOS ARM64, and Windows x86-64.
Release Assets & Verification
Each archive bundles bmcbitcoind, bmc-gui (native Rust desktop app), bmc_cli, bmc_wallet_cli, all 5 runtime index helpers (bmc_*), config/bitcoin.sample.conf, README.md, and LICENSE:
bmc-v0.2.0-linux-x86_64.tar.gz(Linux x86-64)bmc-v0.2.0-macos-arm64.tar.gz(macOS Apple Silicon / ARM64)bmc-v0.2.0-windows-x86_64.zip(Windows 10/11 x86-64, native Win32/NT syscall layer)SHA256SUMS.txt
sha256sum -c SHA256SUMS.txt
# On macOS:
shasum -a 256 -c SHA256SUMS.txt
# On Windows (PowerShell):
Get-FileHash bmc-v0.2.0-windows-x86_64.zip -Algorithm SHA256Bitcoin Machine Code v0.1.0
Bitcoin Machine Code (bmc) v0.1.0 (Experimental Release)
Experimental Software Notice:
bmcis 100% AI-authored software verified differentially against Bitcoin Core v31.1 and hardened across multiple security audits and continuous fuzzing tracks. It has not received an independent human security audit of its consensus and cryptographic assembly. Use for research, benchmarking, archival/explorer serving, and differential testing — do not hold production funds in its wallet; use Bitcoin Core for custody.
- Documentation Site: https://bobclawblaw.github.io/bitcoinmachinecode/
- Full Honest Technical Assessment vs. Bitcoin Core v31.1: https://bobclawblaw.github.io/bitcoinmachinecode/assessment.html
- 2026-11-27 Full Audit Remediation Report: https://bobclawblaw.github.io/bitcoinmachinecode/security-audit.html
- Benchmarks vs. Bitcoin Core v31.1: https://bobclawblaw.github.io/bitcoinmachinecode/benchmarks.html
Release Highlights
Core Capabilities & Multi-Platform Tree
- Single
maintree, three native platforms: Hand-authored x86-64 NASM assembly (asm/*.asm), AArch64 Mach-O assembly for macOS Apple Silicon (port/osx/*.S), Windows x86-64 syscall emulation (port/win/), and a shared C orchestration/RPC/mempool/wallet layer. - 3.0× faster mainnet IBD with all indexes: 3h 17m 55s wall clock (7h 13m CPU) vs. Bitcoin Core v31.1's 9h 50m 04s (13h 15m CPU) on identical NVMe hardware (
dbcache=8192,assumevalid=938343), ending byte-identical on MuHash3072 UTXO set digest. Full-script sync (assumevalid=0) completes in 8h 00m. - Zero-delay sorted-run indexing & native Esplora:
txindex(26.9 GB vs. Core's 68.8 GB),txospenderindex,coinstatsindex,blockfilterindex, and nativeaddrindexbuild asynchronously during IBD. An in-process Esplora facade (bmc.esploraport) runs an unpatchedmempool.spaceinstance with zero external indexers. - Full Bitcoin Core v31.1 surface: 162 JSON-RPCs, Core REST (
/rest/), native ZMTP 3.1 ZMQ (hashblock/hashtx/rawblock/rawtx/sequence), cluster mempool (64 tx / 101 kvB, full RBF, TRUC v3, ephemeral dust, 1p1c package relay), BIP324 v2 encrypted transport, IPv4/IPv6/Tor v3/I2P SAM 3.1/CJDNS, descriptors, Miniscript (97/97 Core vectors), PSBT v0/v2, and MuSig2 (BIP327/373/390). - Wire identity bumped to
0.1.0:/BitcoinMachineCode:0.1.0/(protocol70016) across both x86-64 and macOS ARM64.
Security Hardening & Verification
- 2026-11-27 Full 8-Track Code Audit Remediation (PR #511): Resolved 15/15 CRITICAL, 21/21 HIGH finding groups, and 12 high-impact MEDIUM defects across Linux x86-64, macOS ARM64, and CUDA, pinned by a 16-check regression suite (
asm/tests/test_audit_2026_11_27.c). - Assembly-First Static & Fuzzing Infrastructure:
- Added automated AArch64 static ABI & Darwin
svc #0x80carry-flag auditor (scripts/arm64_abi_audit.py), immediately catching and fixing a transient 8-byte SP misalignment inport/osx/bitcoin_tx.S. - Added double-sided
PROT_NONEguard-page assembly fuzzers (fuzz_tx_asm,fuzz_script_asm,fuzz_cons_asm), ASan/UBSan C fuzzers (fuzz_miniscript,fuzz_wallet_addr,fuzz_rpc_json), and an in-process Bitcoin Core v31.1 differential script fuzzer (fuzz_script_diff_inproc, running at >2M exec/s), immediately catching and fixing a remote0xffCompactSizex9-clobberSIGSEGVinport/osx/bitcoin_tx.S. - Added checked assembly cursor/bounds macros (
asm/macros_safe.inc,port/osx/macros_safe.inc), single-source dual-arch consensus spec codegen (scripts/gen_consensus_inc.py), and cross-platform GitHub Actions CI (.github/workflows/ci.yml).
- Added automated AArch64 static ABI & Darwin
- Full Verification Gates:
- Linux x86-64: 483 / 483 PASS (
make -C asm test+gate-log-check+ ASan/UBSansan-check) - macOS Apple Silicon (ARM64): 455 PASS, 12 SKIP, 16 N/A, 0 FAIL (
port/osx/run_tests.sh+ hardened-Wall -Werror -fstack-protector-strong -D_FORTIFY_SOURCE=2+F_FULLFSYNC)
- Linux x86-64: 483 / 483 PASS (
Release Assets & Verification
Prebuilt archives are published for all three native platforms:
bmc-v0.1.0-linux-x86_64.tar.gz(Linux x86-64)bmc-v0.1.0-macos-arm64.tar.gz(macOS Apple Silicon / ARM64)bmc-v0.1.0-windows-x86_64.zip(Windows 10/11 x86-64, native Win32/NT syscall layer — no WSL or Cygwin)
Each archive includes bmcbitcoind, bmc_cli, bmc_wallet_cli, all runtime helper binaries (bmc_*), config/bitcoin.sample.conf, README.md, and LICENSE.
Verify archive integrity before running:
sha256sum -c SHA256SUMS.txt
# On macOS:
shasum -a 256 -c SHA256SUMS.txt
# On Windows (PowerShell):
Get-FileHash bmc-v0.1.0-windows-x86_64.zip -Algorithm SHA256