diff options
author | mruddy <mruddy@users.noreply.github.com> | 2016-05-06 22:08:39 +0000 |
---|---|---|
committer | mruddy <mruddy@users.noreply.github.com> | 2016-10-19 09:08:39 -0400 |
commit | fc146095d20452686efe1944b143452bec394343 (patch) | |
tree | d57fe4980f09dab389f55ddb0658de4d97d8096a /src/main.h | |
parent | d736a6eb1f91ba88059ff41634bd4ea715d9a1f1 (diff) |
RPC: augment getblockchaininfo bip9_softforks data
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 3 |
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 |