WIP: Implement BIP9 and get BIP113 to be ready to be deployed with it as an example #7566

pull jtimon wants to merge 8 commits into bitcoin:master from jtimon:bip9-0.12.99 changing 13 files +503 −39
  1. jtimon commented at 3:24 AM on February 20, 2016: contributor

    An implementation of BIP9.

    Unnecessary but good-to-have dependencies:

    - [ ] Interface for chain.o #7563 - [ ] BIP113 ready for trivial deployment #7565

    TODO:

    • GetMinerNextVersion()
    • warnings when undefined (for you) rule changes are locked_in/activated according to bip9 rules.
    • Unittests

    EDIT: Use BIP68 + BIP112 as example deployment instead of BIP113.

  2. jtimon renamed this:
    WIP: Implement BIP9 and get BIP113 to be deployed with it as an example
    WIP: Implement BIP9 and get BIP113 to be ready deployed with it as an example
    on Feb 20, 2016
  3. jtimon renamed this:
    WIP: Implement BIP9 and get BIP113 to be ready deployed with it as an example
    WIP: Implement BIP9 and get BIP113 to be ready to be deployed with it as an example
    on Feb 20, 2016
  4. jonasschnelli added the label Consensus on Feb 20, 2016
  5. in src/consensus/versionbits.h:None in c417fc1284 outdated
      10 | +
      11 | +class CBlockIndexView;
      12 | +class CValidationState;
      13 | +
      14 | +/**
      15 | + * Thee version bit reserved for signaling hardfork activation to all types of nodes (previously "sign bit").
    


    NicolasDorier commented at 11:12 AM on February 21, 2016:

    typo Thee

  6. sipa cross-referenced this on Feb 21, 2016 from issue Minimal BIP9 implementation by sipa
  7. jtimon force-pushed on Feb 23, 2016
  8. jtimon force-pushed on Feb 24, 2016
  9. jtimon force-pushed on Feb 25, 2016
  10. jtimon force-pushed on Feb 25, 2016
  11. jtimon force-pushed on Feb 26, 2016
  12. jtimon force-pushed on Feb 28, 2016
  13. BIP9: Prepare consensus/params.h to support version bits 108da6e7c3
  14. jtimon force-pushed on Feb 28, 2016
  15. BIP9: Introduce consensus/interfaces.h with CVersionBitsCacheInterface
    This file is intended to be compatible with a C API, thus uses simple
    structs and function pointers instead of C++ classes and methods.
    4c3cd3fa7c
  16. BIP9: Prepare miner_tests to support BIP9 calculations (sipa)
    https://github.com/sipa/bitcoin/compare/bip9
    258cc2b91d
  17. jtimon force-pushed on Feb 29, 2016
  18. jtimon cross-referenced this on Mar 1, 2016 from issue Support building without libevent by luke-jr
  19. BIP9: Introduce versionbits.o
    TODO give proper credits
    95776402f7
  20. BIP9: Introduce global/server with a global variable with a concurrent
    implementation of Consensus::CVersionBitsCacheInterface
    9843703202
  21. BIP9: Use version bits in main::ConnectBlock(), main::UpdateTip() and miner::CreateNewBlock() 65909436d4
  22. BIP9/BIP68_BIP112: Use BIP68 and BIP112 as examples of BIP9 deployment
    To do so, unify nLockTime and script validation flags
    b77f1f21ed
  23. jtimon force-pushed on Mar 1, 2016
  24. Bonus: Deploy hardforks using BIP9 and the hardfork bit
    squash use hardfork bit
    990dda87b2
  25. jtimon force-pushed on Mar 1, 2016
  26. jtimon closed this on Mar 3, 2016

  27. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC