New hardfork class

This keeps track of voting via block version, in order to decide
when to enable a particular fork's code.
This commit is contained in:
moneromooo-monero
2015-09-01 09:40:33 +01:00
parent bed9a44e56
commit 62b1f74116
5 changed files with 871 additions and 3 deletions
+4 -2
View File
@@ -37,7 +37,8 @@ set(cryptonote_core_sources
cryptonote_format_utils.cpp
difficulty.cpp
miner.cpp
tx_pool.cpp)
tx_pool.cpp
hardfork.cpp)
set(cryptonote_core_headers)
@@ -60,7 +61,8 @@ set(cryptonote_core_private_headers
miner.h
tx_extra.h
tx_pool.h
verification_context.h)
verification_context.h
hardfork.h)
if(PER_BLOCK_CHECKPOINT)
set(Blocks "blocks")