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: 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. jtimon force-pushed on Feb 23, 2016
  7. jtimon force-pushed on Feb 24, 2016
  8. jtimon force-pushed on Feb 25, 2016
  9. jtimon force-pushed on Feb 25, 2016
  10. jtimon force-pushed on Feb 26, 2016
  11. jtimon force-pushed on Feb 28, 2016
  12. BIP9: Prepare consensus/params.h to support version bits 108da6e7c3
  13. jtimon force-pushed on Feb 28, 2016
  14. 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
  15. BIP9: Prepare miner_tests to support BIP9 calculations (sipa)
    https://github.com/sipa/bitcoin/compare/bip9
    258cc2b91d
  16. jtimon force-pushed on Feb 29, 2016
  17. BIP9: Introduce versionbits.o
    TODO give proper credits
    95776402f7
  18. BIP9: Introduce global/server with a global variable with a concurrent
    implementation of Consensus::CVersionBitsCacheInterface
    9843703202
  19. BIP9: Use version bits in main::ConnectBlock(), main::UpdateTip() and miner::CreateNewBlock() 65909436d4
  20. BIP9/BIP68_BIP112: Use BIP68 and BIP112 as examples of BIP9 deployment
    To do so, unify nLockTime and script validation flags
    b77f1f21ed
  21. jtimon force-pushed on Mar 1, 2016
  22. Bonus: Deploy hardforks using BIP9 and the hardfork bit
    squash use hardfork bit
    990dda87b2
  23. jtimon force-pushed on Mar 1, 2016
  24. jtimon closed this on Mar 3, 2016

  25. DrahtBot 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: 2024-07-06 01:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me