• locuester@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    19 hours ago

    Tezos would still require all nodes to upgrade to the code which contains the new algorithm. It can’t just automatically know what the new code is. It then can schedule these to activate at a certain block using a signaling system of some sort. If some nodes didn’t upgrade, this would cause a hard fork if the version they are running doesn’t have the new version required to run the new algorithm

    Its behavior and process as outlined in the link you sent is no different from other chains.

    Bitcoin uses version bits to perform these types of upgrades (see bip 9 implemented in 2016)

    Ethereum uses something similar. Solana’s activation mechanism is called “feature gate activation”.

    • Hirom@beehaw.orgOP
      link
      fedilink
      arrow-up
      1
      ·
      17 hours ago

      Tezos would still require all nodes to upgrade to the code which contains the new algorithm. It can’t just automatically know what the new code is. It then can schedule these to activate at a certain block using a signaling system of some sort.

      Code proposal, vote on new code activation of new code, are all Tezos on-chain operation. These operations include a hash of the new code to be deployed. There’s some off-chain work happening to update tools, which I guess include compiling said code. So you’re right, some off-cain action is needed for deployment https://www.tezosagora.org/learn#an-introduction-to-tezos-governance

      My understanding is that compared to BTC governance, a larger part of the process happen on-chain. Also there is a relatively smaller portion of nodes (baker) involved in creating/verifying blocks that must update. This allowed various protocol changes without forks over the years.

      • locuester@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        13 hours ago

        It’s no different. A new version of the consensus code needs written and deployed.

        That page you linked is the same on all chains. All have a proposal, discussion, implementation, waiting period (for code to be deployed), and activation. That’s just blockchain 101

        • Hirom@beehaw.orgOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          5 hours ago

          same on all chains. All have a proposal, discussion, implementation, waiting period (for code to be deployed), and activation

          I though most of those steps didn’t occur on-chain in the case of bitcoin. But I could be mistaken.

          Would you mind sharing a link with the equivalent information on bitcoin, ie its governance process and how each governance operation (proposal, vote, activation ) is handled by the chain?

          I’m looking at BIP-1. It explains how to submit a proposal via mailing list and versioned repository, ie off-chain.

          Also looking at BIP-9. It does rely on the chain for governance, and allow polling for the most popular soft-fork. But it focus on exclusively on testing soft forks, which severely limit its usefulness.

          allowing multiple backward-compatible changes (further called “soft forks”) to be deployed in parallel.

          It seems BIP-9 doesn’t provide a solution to propose/vote/activate the larger non-backward-compatible changes, ie doesn’t help prevent hard forks. And big social and environmental issues affecting bitcoin probably require such large change.