MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / ActivateBestChain

Function ActivateBestChain

src/validation.cpp:2927–2929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2925}
2926
2927bool ActivateBestChain(CValidationState &state, const CChainParams& chainparams, std::shared_ptr<const CBlock> pblock) {
2928 return g_chainstate.ActivateBestChain(state, chainparams, std::move(pblock));
2929}
2930
2931bool CChainState::PreciousBlock(CValidationState& state, const CChainParams& params, CBlockIndex *pindex)
2932{

Callers 11

ProcessGetBlockDataFunction · 0.85
ProcessMessageFunction · 0.85
ThreadImportFunction · 0.85
PreciousBlockMethod · 0.85
LoadChainTipFunction · 0.85
LoadExternalBlockFileFunction · 0.85
TestingSetupMethod · 0.85
finalizeblockFunction · 0.85
invalidateblockFunction · 0.85
reconsiderblockFunction · 0.85
AssembleBlockFunction · 0.85

Calls 1

ActivateBestChainMethod · 0.80

Tested by 1

TestingSetupMethod · 0.68