MOVEONLY: Move versionbits info out of versionbits.o

This commit is contained in:
Jorge Timón
2018-06-16 22:33:42 +02:00
parent 920c090f63
commit 980b38f8a1
8 changed files with 44 additions and 24 deletions

View File

@@ -5,21 +5,6 @@
#include <versionbits.h>
#include <consensus/params.h>
const struct VBDeploymentInfo VersionBitsDeploymentInfo[Consensus::MAX_VERSION_BITS_DEPLOYMENTS] = {
{
/*.name =*/ "testdummy",
/*.gbt_force =*/ true,
},
{
/*.name =*/ "csv",
/*.gbt_force =*/ true,
},
{
/*.name =*/ "segwit",
/*.gbt_force =*/ true,
}
};
ThresholdState AbstractThresholdConditionChecker::GetStateFor(const CBlockIndex* pindexPrev, const Consensus::Params& params, ThresholdConditionCache& cache) const
{
int nPeriod = Period(params);