Skip to content

Bitcoin Machine Code v0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 11:24
· 21 commits to main since this release

Bitcoin Machine Code (bmc) v0.2.0 — Native Desktop GUI, Hardware Wallet PSBT & 38B+ Fuzzing

Experimental Software Notice: bmc is 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.


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 to estimatesmartfee, manual UTXO selection, Build Unsigned PSBT (primary safe path), and hot-wallet send with confirmation modal.
    • Hardware & PSBT Workbench: USB hardware signer detection (enumeratesigners), .psbt save/load + QR, decodepsbt + analyzepsbt, descriptor updater (air-gapped export), Sign via Hardware Device (HWI signtx), combinepsbt, finalizepsbt, testmempoolaccept dry-run, and sendrawtransaction.
    • UTXOs & History: Freeze/unfreeze UTXOs (lockunspent) and 1-click RBF bumpfee.
    • 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>/.cookie or connects to a remote node via host/port/user/pass, plus BIP324 v2 peer & index status.

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 standard m/<purpose>'/<coin>'/0'/<change>/<index> (0' mainnet, 1' testnet4/signet/regtest), interoperable with Bitcoin Core, Sparrow, Electrum, Coldcard, Trezor, and Ledger. listdescriptors now emits true ranged account descriptors (wpkh([mfp/84h/<coin>h/0h]xpub.../0/*)#checksum, tr(...), sh(wpkh(...)), pkh(...)), and wallet.idx persists per-(type, chain) address indices so getnewaddress and change outputs never reuse index 0.
  • Live Tip-Following, Reorg-Safe & Mempool-Aware Wallet Sync: Upgraded walletscan.dat to BMCWSCN5 (48-byte header with tip_hash[32]), adding incremental wscan_catchup() with O(1) tip-unchanged fast-path and automatic rewind/replay across chain reorgs. Added shared-mempool overlay (rpc_node_mempool_foreach) so getbalances reports real mine.untrusted_pending and consecutive sends skip mempool-spent UTXOs.
  • Hardware Signer (HWI signtx) & Watch-Only PSBT Flow: Added rpc_signer_signtx() (512 KiB buffers), unblocked walletcreatefundedpsbt, fundrawtransaction, and walletprocesspsbt for watch-only wallets with internal change derivation, explicit inputs Coin Control, and fee_rate options.

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/7 bmc-fuzz.service runner (commit 579e9b61).
  • 4.34 billion (4,340,433,920) in-process Bitcoin Core v31.1 EvalScript differential 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 SHA256