MCPcopy Create free account
hub / github.com/bcndev/bytecoin / get_checkpoint_difficulty

Method get_checkpoint_difficulty

src/Core/BlockChain.cpp:1321–1326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1319}
1320
1321BlockChain::CheckpointDifficulty BlockChain::get_checkpoint_difficulty(Hash hash) const {
1322 auto bit = m_blods.find(hash);
1323 if (bit == m_blods.end())
1324 return CheckpointDifficulty{};
1325 return bit->second.checkpoint_difficulty;
1326}

Callers

nothing calls this directly

Calls 1

endMethod · 0.45

Tested by

no test coverage detected