getblocktemplate: Explicitly handle the distinction between GBT-affecting softforks vs not

This commit is contained in:
Luke Dashjr
2016-06-01 16:47:36 +00:00
parent 72cd6b20ca
commit 98790608a4
3 changed files with 34 additions and 2 deletions

View File

@@ -33,6 +33,8 @@ typedef std::map<const CBlockIndex*, ThresholdState> ThresholdConditionCache;
struct BIP9DeploymentInfo {
/** Deployment name */
const char *name;
/** Whether GBT clients can safely ignore this rule in simplified usage */
bool gbt_force;
};
extern const struct BIP9DeploymentInfo VersionBitsDeploymentInfo[];