Skip to content

Flush 8.4.1: every node should upgrade (the follower takes back only what eCash dropped)

Latest

Choose a tag to compare

@bitlewis bitlewis released this 20 Nov 15:25

Flush 8.4.1: every node should upgrade. It fixes a fault in how a node follows eCash that took back 13,150 blocks of Flush mainnet on 19 November 2026. No rule change: 8.4.1 accepts and refuses exactly the blocks 8.4.0 does.

What happened

A node that follows eCash through the enforcer's interface (-mainchaingrpc: Backbone's gRPC, or the bip300301_enforcer) looks for the last eCash block it still agrees on when eCash reorganises. It asked for 2,000 blocks at a time, the interface answers 1,000 a call, and the heights left out of the short answer were read as blocks eCash had dropped. So a reorganisation of one eCash block (19 November, 20:57 UTC, the first since Flush's mainnet launch) was read as 1,001 blocks dropped. Every Flush block committed to in them was declared to have lost its commitment, and nodes went back from block 112,180 to block 99,029. Three more one-block reorganisations of eCash repeated it. Nodes following an eCash node by JSON-RPC were not affected.

The fix

The node asks for the rest of a range until the mainchain node has no more, and compares only what it was given. A regression test reorganises one mainchain block under a record of more than 1,000 blocks: 8.4.0 drops hundreds, 8.4.1 drops one.

Recovering a node that went back

The original chain (tip a92935fac3778de869fd29fe79fcf4e387a6eb489508aac99abed642f3c7c876, height 112,180) is still on disk, marked invalid. With 8.4.1 installed:

  1. Stop the node and keep a copy of its data folder.
  2. Start it once with -reindex-chainstate.
  3. flush-cli invalidateblock 6e9eb6fc7fac9a6b0a884a4fd556cf60b1613b93ea6841f32fc0163d95af3dcf (block 99,030 of the branch made after the fault).
  4. flush-cli reconsiderblock a92935fac3778de869fd29fe79fcf4e387a6eb489508aac99abed642f3c7c876.
  5. Check getblockcount is 112,180 or more, then restart it normally.

A validator should not be restarted on 8.4.0 or earlier: the next eCash reorganisation would take its chain back again.

Everything else

As Flush 8.4.0 (the simpler interface).

File
flush-8.4.1-x86_64-linux-gnu.tar.gz Linux x86-64
flush-8.4.1-win64-setup.exe Windows x86-64 installer
flush-8.4.1-win64.zip the same Windows programs, as a zip
SHA256SUMS checksums of the files above

Unsigned binaries: check the checksums.