Softfork status report in RPC

This commit is contained in:
Pieter Wuille
2016-03-03 21:00:03 +01:00
committed by BtcDrak
parent 5f90d4e294
commit 0bdaacd791
3 changed files with 31 additions and 1 deletions

View File

@@ -5930,7 +5930,11 @@ bool SendMessages(CNode* pto)
return strprintf("CBlockFileInfo(blocks=%u, size=%u, heights=%u...%u, time=%s...%s)", nBlocks, nSize, nHeightFirst, nHeightLast, DateTimeStrFormat("%Y-%m-%d", nTimeFirst), DateTimeStrFormat("%Y-%m-%d", nTimeLast));
}
ThresholdState VersionBitsTipState(const Consensus::Params& params, Consensus::DeploymentPos pos)
{
LOCK(cs_main);
return VersionBitsState(chainActive.Tip(), params, pos, versionbitscache);
}
class CMainCleanup
{