aboutsummaryrefslogtreecommitdiff
path: root/src/versionbits.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2016-06-01 16:47:36 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2016-06-06 17:10:23 +0000
commit98790608a43e60b8025346034d28ff1f58cebab0 (patch)
treeb9a3ce893fde333352e4411841165178a8d5a430 /src/versionbits.h
parent72cd6b20cae3d1eda2f917f1608a8ae7f1e606f7 (diff)
downloadbitcoin-98790608a43e60b8025346034d28ff1f58cebab0.tar.xz
getblocktemplate: Explicitly handle the distinction between GBT-affecting softforks vs not
Diffstat (limited to 'src/versionbits.h')
-rw-r--r--src/versionbits.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/versionbits.h b/src/versionbits.h
index d805942028..ede2dcdda8 100644
--- a/src/versionbits.h
+++ b/src/versionbits.h
@@ -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[];