Developer Docs
  • Overview
  • Setup & Configuration
    • Run a Validator
    • Configuration
    • Disk Usage Optimization
    • State Sync
    • Mempool
    • Validator FAQ
  • Security Essentials
    • Security
    • Tendermint KMS
    • Validator Security Checklist
  • Upgrades Overview
    • Upgrades
    • List of Upgrades
    • Hard Fork Upgrades
    • Manual Upgrades
    • Rollback
  • BitNet Ops Handbook
    • Testnet
    • Mainnet
    • Run an IBC Relayer
Powered by GitBook
On this page
  1. Upgrades Overview

Hard Fork Upgrades

Coordinating Hard Fork Upgrades on BitNet

While traditional governance proposals allow BitNet to schedule upgrades in a decentralized way, they require a full voting period. For critical updates, such as emergency patches or security fixes, BitNet supports Hard Fork Upgrades to ensure faster execution.


What is a Hard Fork Upgrade?

A Hard Fork in BitNet allows validators to pre-agree on a future upgrade height without waiting for a governance vote. It is triggered by a specially crafted patch release that automatically initiates the upgrade logic when the blockchain reaches a defined block height.


Step-by-Step Hard Fork Process

  1. Patch Creation A private branch is used to fix the vulnerability or apply breaking changes. Example: A patch release like v8.0.1 includes upgrade logic targeting v9.0.0.

  2. Patch Deployment Validators install the patch release (v8.0.1), which contains the hard-coded fork logic set for a specific block height.

  3. Validator Coordination At least two-thirds (2/3) of the validator voting power must upgrade before the fork height to avoid network halts.

  4. Release Distribution The full major release (v9.0.0) is made publicly available at least one hour before the scheduled fork to allow:

    • Binary creation (~30 minutes)

    • Validator testing and Cosmovisor updates


Why Hard Forks Matter

  • Fast Response: Ideal for critical security fixes

  • No Governance Delay: Bypasses full voting periods

  • Automated Execution: Logic executes at BeginBlock of upgrade height

  • Validator Participation Required: If <2/3 voting power upgrades, the fork will fail

PreviousList of UpgradesNextManual Upgrades

Last updated 5 days ago