dogecoin/src/consensus
MarcoFalke 6b2210f101
Merge #16713: Ignore old versionbit activations to avoid 'unknown softforks' warning
fdb3e8f8b2 Ignore old versionbit activations (Anthony Towns)

Pull request description:

  PR 16060 removed the CSV and Segwit BIP9 softfork definitions and hard-coded ('buried') the activation heights. The versionbits code will warn users if an undefined softfork has been signalled in block header versions, and removing the CSV/Segwit definitions caused those warnings to be triggered.

  Change the BIP 9 warning code to only check for unknown softforks after the segwit activation height.

ACKs for top commit:
  MarcoFalke:
    ACK fdb3e8f8b2
  ajtowns:
    ACK fdb3e8f8b2 for what it's worth
  achow101:
    ACK fdb3e8f8b2
  Sjors:
    ACK fdb3e8f8b2. It makes the bit 0 warning go away in mainnet and testnet QT when a new block arrives. I think the code is clear enough.
  jonatack:
    ACK fdb3e8f8b2

Tree-SHA512: e6fd34e8902f8c7affb28e8951803e47d542710d5f1229000746656a37ee59d754439fc33e36b7eef87544262e5aac374645db91b74cb507e73514003ca7a67f
2019-09-27 15:25:53 -04:00
..
consensus.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
merkle.cpp Make reasoning about dependencies easier by not including unused dependencies 2019-06-02 17:15:23 +02:00
merkle.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
params.h Ignore old versionbit activations 2019-09-05 13:51:01 -04:00
tx_check.cpp Added comments referencing multiple CVEs in tests and production code. 2019-06-02 10:25:03 -07:00
tx_check.h [build] Move CheckTransaction from lib_server to lib_consensus 2019-04-09 17:53:08 -04:00
tx_verify.cpp Separate reason for premature spends (coinbase/locktime) 2019-05-02 15:30:58 -04:00
tx_verify.h [build] Move CheckTransaction from lib_server to lib_consensus 2019-04-09 17:53:08 -04:00
validation.h Separate reason for premature spends (coinbase/locktime) 2019-05-02 15:30:58 -04:00