MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetHeight

Method GetHeight

src/chainparams.h:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 MapCheckpoints mapCheckpoints;
24
25 int GetHeight() const {
26 const auto& final_checkpoint = mapCheckpoints.rbegin();
27 return final_checkpoint == mapCheckpoints.rend() ? 0 : final_checkpoint->first /* height */;
28 }
29};
30
31struct AssumeutxoHash : public BaseHash<uint256> {

Callers

nothing calls this directly

Calls 2

rbeginMethod · 0.80
rendMethod · 0.80

Tested by

no test coverage detected