MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / GetRole

Method GetRole

src/validation.cpp:6270–6273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6268}
6269
6270ChainstateRole Chainstate::GetRole() const
6271{
6272 return ChainstateRole{.validated = m_assumeutxo == Assumeutxo::VALIDATED, .historical = bool{m_target_blockhash}};
6273}
6274
6275void ChainstateManager::RecalculateBestHeader()
6276{

Callers 6

FlushStateToDiskMethod · 0.95
ActivateBestChainMethod · 0.95
LoadChainTipMethod · 0.95
FindFilesToPruneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected