diff options
| author | mruddy <[email protected]> | 2016-05-06 22:08:39 +0000 |
|---|---|---|
| committer | mruddy <[email protected]> | 2016-10-19 09:08:39 -0400 |
| commit | fc146095d20452686efe1944b143452bec394343 (patch) | |
| tree | d57fe4980f09dab389f55ddb0658de4d97d8096a /src/main.h | |
| parent | Merge #8972: [Qt] make warnings label selectable (jonasschnelli) (diff) | |
| download | discoin-fc146095d20452686efe1944b143452bec394343.tar.xz discoin-fc146095d20452686efe1944b143452bec394343.zip | |
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 e91f6e46f..3eab9b89d 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 |