LearnBitcoin

Glossary

Chain Flag Day

A chosen date or block height when nodes begin enforcing new consensus rules, often seen in user-activated forks.

A "chain flag day" is a Bitcoin upgrade activation mechanism where new consensus rules begin enforcing at a pre-announced block height or timestamp - rather than waiting for BIP-9-style miner signaling thresholds.

The pattern:

  1. Developers announce the change with months of lead time and a specific activation height.
  2. Node operators upgrade software to enforce the new rules starting at the flag day.
  3. At the activation height, nodes running new software begin rejecting blocks that violate the new rules.
  4. Non-upgraded nodes continue accepting old-rule-conformant blocks, but if a majority of the economic network is upgraded, miners following the old rules see their blocks orphaned.

The famous example: BIP-148 (UASF) for SegWit activation in 2017. The UASF set August 1, 2017 as the flag day - nodes running BIP-148 would reject blocks not signaling for SegWit starting that date. Before then, miners adopted BIP-91. From block 477,120 on July 23, 2017, about nine days before the flag day, nodes running it rejected any block that did not signal for SegWit. Every block from then until SegWit locked in on August 9 signaled, so BIP-148's rule was already met on August 1 and the split it threatened never came. SegWit activated at block 481,824 on August 24, 2017.

Flag day mechanics matter because they shift the activation power from miners (who can stall BIP-9 signaling) to nodes (who can enforce the rule unilaterally). The economic majority of nodes - exchanges, businesses, large holders, the long tail of self-custody users - is what ultimately decides what "Bitcoin" is.

The Taproot activation in 2021 used Speedy Trial instead: about three months of miner signaling at a 90 percent threshold, with no fallback flag day. Had miners not signaled, it would simply have failed. They signaled, and Taproot activated at block 709,632 in November 2021.

Flag days are powerful but risky. If they're not actually supported by the economic majority, they can fragment the network. If they are, they're the most credible activation tool in Bitcoin's governance toolkit.

See BIP-148 for the historical case study and Soft Fork for the broader activation landscape.

Key takeaways

  • Sets a deadline for enforcing consensus changes
  • Popular in user-activated soft fork strategies
  • Can unify the network or risk a chain split

Corrected

  • Was: The entry said SegWit activated via BIP-91 a week before BIP-148's August 1, 2017 flag day.

    Now: BIP-91 was enforced from block 477,120 on July 23, 2017, about nine days before the flag day, and every block from then until SegWit locked in on August 9 signaled for SegWit. SegWit itself activated at block 481,824 on August 24, 2017. Details

  • Was: The entry said Taproot's Speedy Trial combined miner signaling with a fallback flag day.

    Now: Speedy Trial had no fallback flag day. It ran about three months of signaling at a 90 percent threshold and would have failed if miners had not signaled; they did, and Taproot activated at block 709,632 in November 2021. Details

Sources (7)

External references (2)

Related terms (5)

Published . Revised . Two corrections logged for this page.

Edit this page on GitHub