Skip to content

Backbone v0.2.2 (eCash mainnet and betanet)

Choose a tag to compare

@bitlewis bitlewis released this 29 Oct 00:02
· 46 commits to main since this release

Backbone v0.2.2 — Backbone for eCash's main network (fork at block 973,728) and betanet, in one download. Built from ecash (block-fabric/backbone main) at 1cc7ce0f88 (tag backbone-v0.2.2).

Consensus change on eCash mainnet: upgrade before any sidechain activates. Backbone v0.2.2 checks drivechain messages exactly as the bip300301_enforcer does at a2ce3fe (2026-10-29), the version eCash miners run from the fork. v0.2.1 and v0.2.0 would leave the chain at the first block with an aggregated deposit, or with a withdrawal paid on between 6,049 and 13,150 votes. Betanet is unchanged: its rules are those of v0.2.1, as eCash's betanet enforcer still has them.

New in v0.2.2 (eCash mainnet, -chain=ecash)

  • Aggregated deposits (enforcer 64256fc).
    • A deposit no longer has to spend the sidechain's treasury output: it can add its own treasury output.
    • The block's last transaction then merges them: zero fee, version 2, locktime 0, spending the treasury output and every deposit output of that sidechain into one. A block that leaves a deposit output unmerged is invalid.
    • A withdrawal (M6) spends the treasury output and may also spend deposit outputs of its own sidechain.
    • Backbone's block template adds the merging transaction and reserves room for it. The wallet (createsidechaindeposit, gRPC CreateDepositTransaction) makes deposits that leave the treasury output unspent.
    • The mempool refuses a transaction spending an unconfirmed deposit's treasury output (relay policy only).
    • Sidechains see deposits as before: each with its own txid, output, destination and amount (getsidechainevents, gRPC GetBlockInfo/SubscribeEvents). The merging transaction is not an event. listsidechaindeposits leaves it out, and its total is the whole escrow.
  • eCash's own withdrawal thresholds (enforcer 46d3ad9): a bundle is paid with more than 6,048 votes within 12,096 blocks (it was 13,150 in 26,300), at least about six weeks at full support. Replacing the sidechain in a used slot needs the same. A new slot stays at more than 1,815 in 2,016.
  • One sidechain proposal (M1) and one bundle proposal (M3) per block, across all slots (enforcer fa78089, ce4bd6b). A block with two is invalid (bad-dc-multiple-proposals, bad-dc-multiple-bundles). Backbone's miner proposes one of each at most.
  • The same rules apply on ecashtest and the eCash regtest, for tests.
  • The programs say v0.2.2. The P2P user agent is /eCash Backbone:0.2.2/ on mainnet and /Backbone:0.2.2/ on betanet.

Upgrading

  • The first start on mainnet rebuilds the drivechain database, as its parameters changed. It writes one empty record per block before the fork and reads no block: expect a few minutes.
  • Pools building blocks from getblocktemplate must keep the merging transaction, and every deposit it spends, or drop all of them together.
  • Betanet nodes need no rebuild.

Known gaps

  • Backbone's miner pays a bundle from the treasury output alone. A bundle that only the same block's new deposits would cover waits for the next block, where the enforcer's block producer would pay it at once. Both kinds of blocks are valid.
  • ecashtest activates drivechains at 161,280; the enforcer's eCash testnet4 at 0. It's for our own tests.
  • The rest is as in v0.2.1, except that the aggregated-deposit gap is closed: see the v0.2.1 notes.

Which network

One download runs both. eCash mainnet is the default. For betanet, start with -chain=ecashbeta (backbone-app -chain=ecashbeta, backboned -chain=ecashbeta), or use the Backbone (eCash betanet) shortcut on Windows.

Mainnet drivechain parameters (-chain=ecash)

Activation block 973,728 (the fork), OP_DRIVECHAIN = OP_NOP8
New slot more than 1,815 acks in 2,016 blocks
Bundle, used slot more than 6,048 in 12,096 blocks
Deposits aggregated, merged by the block's last transaction
Per block one M1, one M3
Replay protection nLockTime 499,999,998

Files

File
backbone-0.2.2-x86_64-linux-gnu.tar.gz Linux x86-64: bin/, desktop entry and icon, README, INSTALL, docs, COPYING
backbone-0.2.2-win64-setup.exe Windows x86-64 installer (NSIS)
backbone-0.2.2-win64.zip the same Windows programs, as a zip
SHA256SUMS checksums of the files above

Linux requirements: glibc 2.38 or newer, and libnghttp2, libsqlite3 and libzmq5 from the system. backbone-app also needs GTK 3 and WebKitGTK 4.1 (sudo apt install libgtk-3-0 libwebkit2gtk-4.1-0 libnghttp2-14 libsqlite3-0 libzmq5).

Windows requirements: Windows 10 or 11, 64-bit, with the WebView2 runtime.

Not GPG-signed: check SHA256SUMS.

SHA256SUMS

782536ea8217be5b4c67aad2223cb9624cedab7149654dd0a084f08196a58acb  backbone-0.2.2-x86_64-linux-gnu.tar.gz
27b24b77ffedb00b628783fdda5941f94082f02c59e4ea6c9fc80583bec3d927  backbone-0.2.2-win64-setup.exe
b25f48d4817a9b49b59cec1cbc85037f6e349ed5c41178ededc467d6d1d2992b  backbone-0.2.2-win64.zip