MCPcopy Create free account
hub / github.com/LUX-Core/lux / VersionBitsTipState

Function VersionBitsTipState

src/main.cpp:2668–2672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2666};
2667
2668ThresholdState VersionBitsTipState(const Consensus::Params& params, Consensus::DeploymentPos pos)
2669{
2670 LOCK(cs_main);
2671 return VersionBitsState(chainActive.Tip(), params, pos, versionbitscache);
2672}
2673
2674// Protected by cs_main
2675static ThresholdConditionCache warningcache[VERSIONBITS_NUM_BITS];

Callers 1

BIP9SoftForkDescFunction · 0.85

Calls 2

VersionBitsStateFunction · 0.85
TipMethod · 0.80

Tested by

no test coverage detected