aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authormruddy <mruddy@users.noreply.github.com>2016-05-06 22:08:39 +0000
committermruddy <mruddy@users.noreply.github.com>2016-10-19 09:08:39 -0400
commitfc146095d20452686efe1944b143452bec394343 (patch)
treed57fe4980f09dab389f55ddb0658de4d97d8096a /src/main.h
parentd736a6eb1f91ba88059ff41634bd4ea715d9a1f1 (diff)
downloadbitcoin-fc146095d20452686efe1944b143452bec394343.tar.xz
RPC: augment getblockchaininfo bip9_softforks data
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index e91f6e46fe..3eab9b89da 100644
--- a/src/main.h
+++ b/src/main.h
@@ -297,7 +297,8 @@ std::string FormatStateMessage(const CValidationState &state);
/** Get the BIP9 state for a given deployment at the current tip. */
ThresholdState VersionBitsTipState(const Consensus::Params& params, Consensus::DeploymentPos pos);
-
+/** Get the block height at which the BIP9 deployment switched into the state for the block building on the current tip. */
+int VersionBitsTipStateSinceHeight(const Consensus::Params& params, Consensus::DeploymentPos pos);
/**
* Count ECDSA signature operations the old-fashioned (pre-0.6) way