Hard Forks

Discussion in 'Technical Development' started by raedah, Jul 13, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. raedah

    raedah Jr. Member

    Mar 6, 2016
    55
    36
    By hybridizing PoW and PoS, Decred gains continuity across hard forks in a way that is not possible with Bitcoin, so fixing problems in consensus code is much less daunting a task. I have heard chatter that there are some ideas to do an actual test of the hard fork mechanism in the near future. What are the improvements that could potentially be implemented via a hard fork?
     
  2. ceejep

    ceejep Sr. Member
    Developer

    Dec 14, 2015
    192
    220
    The initial hardfork example will be something simple, like updating the all protocol versions to be uint32 instead of int32, or include witness stripped size of blocks in the block header. There are a myriad of hardfork changes you could make, but they will likely end up small in number compared to the number of soft forks since the software is easily extensible due to script versioning. One often requested change is modifying the ticket price algorithm, but that needs to be done with research and care.

    There will be more on the methodology for forking when we get closer to getting all the recent btcd changes merged in. The backend needs a major overhaul so that forking in breaking changes can be done smoothly and efficient.
     

Share This Page