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
No known key found for this signature in database
GPG key ID: A4F5D141C01A0387
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);