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.cpp | |
| 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.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1777717cd..50158b468 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6918,6 +6918,12 @@ ThresholdState VersionBitsTipState(const Consensus::Params& params, Consensus::D return VersionBitsState(chainActive.Tip(), params, pos, versionbitscache); } +int VersionBitsTipStateSinceHeight(const Consensus::Params& params, Consensus::DeploymentPos pos) +{ + LOCK(cs_main); + return VersionBitsStateSinceHeight(chainActive.Tip(), params, pos, versionbitscache); +} + class CMainCleanup { public: |