← All posts
Announcement

Lotus v12.1.0 commits every signature to the chain

Chain-specific replay protection activates at median time past 1797886200, 21 December 2026, 20:50 UTC. Node operators, wallet developers, and custodians each have one action before the gate; holders have none.

Lotus v12.1.0, released 23 November, carries one consensus change: replay protection that commits every signature to this chain and no other. It activates at median time past 1797886200, 21 December 2026, 20:50 UTC, the 2nd Kings boundary. Until then a v12.1.0 node validates exactly like a v12.0.x one. Past it, the two versions enforce different signature rules, and a network running both splits at the gate. That makes this a required upgrade rather than a routine release, and the deadline is the solstice.

The change on one screen

  • Activates: median time past 1797886200, 21 December 2026, 20:50 UTC. Testnet crosses 21 days early, on 30 November.
  • Changes: every signature (legacy, BIP143, SIGHASH_LOTUS, and taproot) commits CHAIN_FORK_ID = 0x4c4f54 where it used to commit the shared value 0xffdead.
  • Does not change: no new opcodes, no block-size or proof-of-work change, and no address-format change. Every path under src/ that differs between v12.0.2 and v12.1.0 serves this change, its signing surfaces, or its tests.
  • Who acts: node operators, wallet developers, and exchanges and custodians each have one action before the gate. Holders have none.

A marker, not a name

Replay protection writes a chain’s name into every signature, so the same signed transaction cannot be presented anywhere else. A signature is the only proof that the holder of coins authorized their spend; this makes that proof good on one chain only. It works like a cheque drawn on a named bank: identical handwriting, different institution, refused.

In the code, the name is a fork value, a spare 24-bit number inside the signature type. Once median time past (the chain’s agreed clock, the middle timestamp of the last eleven blocks) crosses the activation time, SignatureHash rewrites that value, so a signature made after the boundary differs from one made before it. lotusd has carried this rewrite for years, and it is the same arithmetic every ABC-derived chain ships. The commit that replaces it:

5463ed8+142−89consensus: add the Lotus chain fork id for 2nd Kings replay protection (DEV-328) (#45)lotusd
     if (flags & SCRIPT_ENABLE_REPLAY_PROTECTION) {
-        // Legacy chain's value for fork id must be of the form 0xffxxxx.
-        // By xoring with 0xdead, we ensure that the value will be different
-        // from the original one, even if it already starts with 0xff.
-        uint32_t newForkValue = sigHashType.getForkValue() ^ 0xdead;
-        sigHashType = sigHashType.withForkValue(0xff0000 | newForkValue);
+        // Commit the signature to this chain's fork id. Signatures made for
+        // another chain (including one using the old 0xffdead transform) are
+        // invalid here, and signatures made here are invalid there.
+        sigHashType = sigHashType.withForkValue(CHAIN_FORK_ID);
     }

The old transform fails in two ways. First, it is a marker, not a name: any two chains running the same code compute the same 0xffdead, so the protection vanishes exactly when both sides upgrade onto the same release. Second, its activation came too late. The v12.0.x line set the switch to 1st Chronicles, in June 2027. The chains separate by design on 21 December, and a signature domain shared until June leaves every transaction in between replayable across both records.

Why the date moves to 2nd Kings

In the Winter Solstice post I said the fork-ID switch was deferred to 1st Chronicles. That was the right plan while this chain ran alone: replay protection separates chains that share a history, and until November there was nothing to separate from.

The unexpected split at height 1428771 changed the terms. A second record has run alongside this one ever since, and signatures stay valid on both of them until the gate. v12.1.0 restores the activation to 2nd Kings. The June date keeps its role as an epoch boundary and loses the replay-protection job.

What changes at the gate

The replacement is one constant:

static constexpr uint32_t CHAIN_FORK_ID = 0x4c4f54; // "LOT"
static_assert(CHAIN_FORK_ID != 0, "CHAIN_FORK_ID must be non-zero");
static_assert(CHAIN_FORK_ID <= 0xffffff,
              "CHAIN_FORK_ID must fit in the 24-bit fork-value field");

0x4c4f54 is LOT in ASCII. The chain’s own name now rides in the fork-value field of every signature this chain accepts, on all three signature formats and both taproot spend paths. The value is implicit in the signature and is not carried in the transaction, so transaction IDs do not change.

Before the gate, nothing moves. Fork value 0 validates as it always has, so mempools, wallets, and pending transactions work unchanged. After the gate, a node requires 0x4c4f54 on every input, and a transaction signed before the boundary is rejected. Anything pending on 21 December must confirm before the gate or be re-signed.

The fork activates its own upgrade, Napoleon, at the same gate. It ships no transform, so it requires fork value 0 where this chain requires 0x4c4f54. A signature is valid on exactly one side.

The exposure until then

Right now, a transaction spending a coin that existed before height 1428771 replays: signed once, valid on both chains. That is the one replay risk anyone can touch today, and it stays live until the gate.

From the gate, every signature this chain accepts is chain-bound, and the shared-txid ambiguity ends for new transactions. A txid shared between the two records remains meaningless either way, and explorers should treat it as nothing.

What you have to do

Holders have nothing to do. Everyone else has one action before 21 December.

Node operators

Upgrade every node to v12.1.0, from the canonical daemon, LotusiaStewardship/lotusd. There is no configuration: the activation default is secondKingsActivationTime, and -replayprotectionactivationtime stays what it was, the testnet and regtest override. Confirm the version with lotus-cli getnetworkinfo; subversion must report 12.1.0.

Testnet reaches the boundary on 30 November at 20:50 UTC, so a rehearsal window opens a week from now.

Wallet developers

[email protected] is published and carries the same constant, exported as CHAIN_FORK_ID. The default policy is auto: sign fork value 0 until the activation has passed plus a margin, then the chain id.

export function chainForkIdAt(
  unixSeconds: number = Math.floor(Date.now() / 1000),
  activationTime: number = REPLAY_PROTECTION_ACTIVATION_TIME,
): ForkId {
  return unixSeconds >= activationTime + REPLAY_PROTECTION_ACTIVATION_MARGIN
    ? CHAIN_FORK_ID
    : 0
}

The margin exists because median time past trails the wall clock. On two-minute blocks it lags by roughly twelve minutes, and block-production jitter stretches that. Signing the new fork id before the median crosses produces transactions the network rejects, so the default stays on the safe side for thirty minutes. Callers who know a chain’s median time past, or who sign offline, pin the value instead: 'auto' does not know about testnet’s earlier date.

Signers with no chain state read no clock. lotus-tx now takes -forkid=<id>: -forkid=0x4c4f54 commits the chain id, and the default -forkid=0 preserves pre-activation behaviour. PSBT and hardware signers need the value configured out of band, because the transaction itself does not carry it.

Three legacy copies are out of scope for this epoch: bitcore-lib-xpi, the bitcore vendored inside lotus-sdk, and lotus-vase. A signer that still commits fork value 0 stops working on Lotus at the gate, so move to a maintained wallet before 21 December.

Exchanges and custodians

Update every signing surface before the gate, and re-sign anything still pending when it arrives. Between now and 21 December, deposits of pre-split coins replay: a withdrawal signed once can be broadcast again on the other chain and pay out twice from the same input.

The 2018 split between BCH and BSV shipped without replay protection; holders had to split their own coins by hand, because a transaction broadcast on one chain would also spend them on the other. The same caution applies to your withdrawals exactly as it applies to everyone else. After the gate, a signature made for Lotus is invalid everywhere else, and a transaction signed for another chain is invalid here.

The port to the original repository

The same change has been proposed upstream. givelotus/lotusd is the original project’s repository (the name on the domain is a separate story, recorded in the chain-split post), and its December line, lotusv1-dec2026, carries the 12.7.1 upgrade:

#323open+660−157consensus: sign with the Lotus chain fork id from 2nd Kings (ported from LotusiaStewardship/lotusd v12.1.0)givelotus/lotusd

The PR ports this fork ID onto that line so both implementations enforce the same signature rules from the gate. It is open and unmerged; until it merges, the canonical daemon for this chain is LotusiaStewardship/lotusd.

What does not change

The signature algorithms stay: legacy and BIP143 remain valid, and SIGHASH_LOTUS remains the only sighash taproot accepts. There are no chain-tagged outputs and no UTXO migration window; coins are not marked, holdings do not move, and only the act of signing changes. 1st Chronicles stays scheduled for 21 June 2027 as the epoch boundary; it no longer gates replay protection.

Downloads

Lotus v12.1.0, unsigned builds:

ARM and AArch64 builds, debug symbols and the source tarball are on the release page. Checksums are in SHA256SUMS on the same page. The builds are unsigned; your OS will warn on first launch.

Next

Testnet crosses the boundary on 30 November at 20:50 UTC; rehearse there first. Mainnet reaches the gate on 21 December at 20:50 UTC, where 2nd Kings activates on this chain and Napoleon on the fork. Then comes 1st Chronicles, on 21 June 2027, the next boundary and the next epoch.

A signature is a claim about who may accept it. From the solstice, every signature on this chain carries the chain’s name: 0x4c4f54 spells LOT. The constant is public, the tests are in the tag, and the gate is four weeks out. Check your version today; the boundary checks it again on the solstice.