Skip to content

v1.2.5

Choose a tag to compare

@Bitflash-sh Bitflash-sh released this 30 Jul 13:50
a1bd22b

Update if you mine headless

From v1.2.0 through v1.2.4, a node started with -gen but without the GUI mined nothing at all. nMineMode stayed at MINE_RELAY, BitcoinMiner() returned at its first guard, and it logged nothing on the way out. The node synced, held peers, reported no errors, and sat there with an idle CPU looking perfectly healthy.

Anyone running a headless miner across those four releases was earning nothing and had no way to tell. GUI users were unaffected — the interface sets a mining mode explicitly, which is why this went unnoticed for four releases.

To confirm the fix on your node, check debug.log for:

nMineMode = 1
BitcoinMiner started

If RandomX cannot get the ~2 GB for fast mode it says so and drops to light mode. That is expected on small machines, not an error.

Also in this release

  • ARM64 builds work again (#41) — an x86 bswap asm block was guarded only on __GNUC__, which every GCC and Clang target defines, so the assembler rejected it on Apple Silicon, ARM servers and Raspberry Pi.
  • Format strings are checked at build time (#44) — this is what was behind the Linux sync segfault in #5. %I64d is MSVC-only and glibc mis-parses it into a pointer dereference. -w had been suppressing the warning, and the printf-style wrappers carried no format attribute, so nothing in the tree was ever checked. Both are fixed, and reintroducing that specifier now fails the build.
  • Two log lines repaired (#44) — CBlockIndex printed block pointers with %08x, truncating them to 32 bits on every 64-bit build; and CInv::GetCommand threw a message that read type= 3nknown type.
  • .gitignore covers key material (#43) — btf_enc.key, nostr.key and walletrpc.token are as sensitive as wallet.dat and none of them end in .dat.

Thanks to @ericscalibur for #41, #42 and #43, and to @Bananajoe97 for the #5 report that led to the format-string work.

Downloads

File Platform Notes
Bitflash-1.2.5-windows.zip Windows x86_64 Extract and run
Bitflash-1.2.5-x86_64.AppImage Linux x86_64 Desktop/GUI — chmod +x and run
bitflash-node-1.2.5-x86_64 Linux x86_64 Headless server node, no libGL or FUSE needed

Your wallet needs no migration: every version uses the same data directory, so the balance appears on its own. Do not delete the data directory.

Verify

sha256sum -c SHA256SUMS