LCOV - code coverage report
Current view: top level - src - validation.cpp (source / functions) Coverage Total Hit
Test: fuzz_coverage.info Lines: 70.3 % 2992 2104
Test Date: 2024-12-02 12:23:29 Functions: 81.1 % 169 137
Branches: 41.4 % 5406 2240

Function Name Sort by function name Hit count Sort by function hit count
_Z10CheckBlockRK6CBlockR20BlockValidationStateRKN9Consensus6ParamsEbb 543113
_Z10FatalErrorRN6kernel13NotificationsER20BlockValidationStateRK13bilingual_str 0
_Z11UpdateCoinsRK12CTransactionR15CCoinsViewCacheR7CTxUndoi 222497
_Z13ApplyTxInUndoO4CoinR15CCoinsViewCacheRK9COutPoint 0
_Z13IsBIP30RepeatRK11CBlockIndex 206293
_Z14IsBlockMutatedRK6CBlockb 3583
_Z15GetBlockSubsidyiRKN9Consensus6ParamsE 395392
_Z17CheckFinalTxAtTipRK11CBlockIndexRK12CTransaction 607935
_Z17CheckInputScriptsRK12CTransactionR17TxValidationStateRK15CCoinsViewCachejbbR26PrecomputedTransactionDataR15ValidationCachePSt6vectorI12CScriptCheckSaISC_EE 231672
_Z17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbRKSt8optionalI8CFeeRateE 244192
_Z17TestBlockValidityR20BlockValidationStateRK12CChainParamsR10ChainstateRK6CBlockP11CBlockIndexbb 115479
_Z18AcceptToMemoryPoolR10ChainstateRKSt10shared_ptrIK12CTransactionElbb 638428
_Z18IsBIP30UnspendableRK11CBlockIndex 0
_Z19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsE 7659
_Z21PruneBlockFilesManualR10Chainstatei 0
_Z23CheckSequenceLocksAtTipP11CBlockIndexRK10LockPoints 351283
_Z24CalculateLockPointsAtTipP11CBlockIndexRK10CCoinsViewRK12CTransaction 351283
_Z25GuessVerificationProgressRK11ChainTxDataPK11CBlockIndex 83964
_Z27CalculateClaimedHeadersWorkSt4spanIK12CBlockHeaderLm18446744073709551615EE 9621
_ZL12UpdateTipLogRK15CCoinsViewCachePK11CBlockIndexRK12CChainParamsRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_SF_ 83961
_ZL15CheckMerkleRootRK6CBlockR20BlockValidationState 132717
_ZL16CheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRKN9Consensus6ParamsEb 609226
_ZL16LimitMempoolSizeR10CTxMemPoolR15CCoinsViewCache 68873
_ZL19FlushSnapshotToDiskR15CCoinsViewCacheb 507
_ZL19GetBlockScriptFlagsRK11CBlockIndexRK17ChainstateManager 289075
_ZL20ContextualCheckBlockRK6CBlockR20BlockValidationStateRK17ChainstateManagerPK11CBlockIndex 206293
_ZL21DeleteCoinsDBFromDiskN2fs4pathEb 0
_ZL22CheckWitnessMalleationRK6CBlockbR20BlockValidationState 209505
_ZL22GetSnapshotCoinsDBPathR10Chainstate 0
_ZL23GetSynchronizationStatebb 279637
_ZL25IsCurrentForFeeEstimationR10Chainstate 76197
_ZL26ContextualCheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRN4node12BlockManagerERK17ChainstateManagerPK11CBlockIndex 345608
_ZL26SnapshotUTXOHashBreakpointRKN4util15SignalInterruptE 18914
_ZL29LimitValidationInterfaceQueueR17ValidationSignals 104392
_ZL30CheckInputsFromMempoolAndCacheRK12CTransactionR17TxValidationStateRK15CCoinsViewCacheRK10CTxMemPooljR26PrecomputedTransactionDataRS4_R15ValidationCache 83053
_ZL7FlattenON6kernel21ChainstateManagerOptsE 1698
_ZN10Chainstate10ConnectTipER20BlockValidationStateP11CBlockIndexRKSt10shared_ptrIK6CBlockER12ConnectTraceR29DisconnectedBlockTransactions 92512
_ZN10Chainstate11InitCoinsDBEmbbN2fs4pathE 2995
_ZN10Chainstate12ConnectBlockERK6CBlockR20BlockValidationStateP11CBlockIndexR15CCoinsViewCacheb 207991
_ZN10Chainstate12LoadChainTipEv 53
_ZN10Chainstate12ReplayBlocksEv 1698
_ZN10Chainstate12SnapshotBaseEv 484135
_ZN10Chainstate13DisconnectTipER20BlockValidationStateP29DisconnectedBlockTransactions 0
_ZN10Chainstate13PreciousBlockER20BlockValidationStateP11CBlockIndex 0
_ZN10Chainstate13PruneAndFlushEv 0
_ZN10Chainstate14InitCoinsCacheEm 2995
_ZN10Chainstate15DisconnectBlockERK6CBlockPK11CBlockIndexR15CCoinsViewCache 0
_ZN10Chainstate15InvalidateBlockER20BlockValidationStateP11CBlockIndex 2
_ZN10Chainstate16FlushStateToDiskER20BlockValidationState14FlushStateModei 1252435
_ZN10Chainstate16LoadGenesisBlockEv 1698
_ZN10Chainstate16RollforwardBlockEPK11CBlockIndexR15CCoinsViewCache 0
_ZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockE 96366
_ZN10Chainstate17FindMostWorkChainEv 104917
_ZN10Chainstate17InvalidBlockFoundEP11CBlockIndexRK20BlockValidationState 8551
_ZN10Chainstate17InvalidChainFoundEP11CBlockIndex 17102
_ZN10Chainstate17ResizeCoinsCachesEmm 4345
_ZN10Chainstate20SetBlockFailureFlagsEP11CBlockIndex 17102
_ZN10Chainstate21ActivateBestChainStepER20BlockValidationStateP11CBlockIndexRKSt10shared_ptrIK6CBlockERbR12ConnectTrace 92512
_ZN10Chainstate21ForceFlushStateToDiskEv 108432
_ZN10Chainstate22GetCoinsCacheSizeStateEmm 1252435
_ZN10Chainstate22GetCoinsCacheSizeStateEv 1252435
_ZN10Chainstate22ResetBlockFailureFlagsEP11CBlockIndex 11
_ZN10Chainstate23InvalidateCoinsDBOnDiskEv 0
_ZN10Chainstate25ClearBlockIndexCandidatesEv 0
_ZN10Chainstate25PruneBlockIndexCandidatesEv 83961
_ZN10Chainstate25TryAddBlockIndexCandidateEP11CBlockIndex 92512
_ZN10Chainstate26CheckForkWarningConditionsEv 109614
_ZN10Chainstate26MaybeUpdateMempoolForReorgER29DisconnectedBlockTransactionsb 0
_ZN10Chainstate8ToStringB5cxx11Ev 6992
_ZN10Chainstate9UpdateTipEPK11CBlockIndex 83961
_ZN10ChainstateC2EP10CTxMemPoolRN4node12BlockManagerER17ChainstateManagerSt8optionalI7uint256E 2995
_ZN10CoinsViews9InitCacheEv 2995
_ZN10CoinsViewsC2E8DBParams16CoinsViewOptions 2995
_ZN12CScriptCheckclEv 287937
_ZN12ConnectTrace14BlockConnectedEP11CBlockIndexSt10shared_ptrIK6CBlockE 83961
_ZN12ConnectTrace18GetBlocksConnectedEv 92512
_ZN12_GLOBAL__N_113MemPoolAccept12CheckFeeRateEmlR17TxValidationState 150657
_ZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE 119906
_ZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEE 411
_ZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE 118467
_ZN12_GLOBAL__N_113MemPoolAccept17ReplacementChecksERNS0_9WorkspaceE 78219
_ZN12_GLOBAL__N_113MemPoolAccept18FinalizeSubpackageERKNS0_8ATMPArgsE 80241
_ZN12_GLOBAL__N_113MemPoolAccept18PolicyScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE 119845
_ZN12_GLOBAL__N_113MemPoolAccept20ClearSubPackageStateEv 161378
_ZN12_GLOBAL__N_113MemPoolAccept20PackageMempoolChecksERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERS1_INS0_9WorkspaceESaISA_EElR22PackageValidationState 8845
_ZN12_GLOBAL__N_113MemPoolAccept21CleanupTemporaryCoinsEv 161378
_ZN12_GLOBAL__N_113MemPoolAccept21ConsensusScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE 83053
_ZN12_GLOBAL__N_113MemPoolAccept23AcceptSingleTransactionERKSt10shared_ptrIK12CTransactionERNS0_8ATMPArgsE 742972
_ZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE 138209
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs12SingleAcceptERK12CChainParamslbRSt6vectorI9COutPointSaIS6_EEb 638428
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs17PackageTestAcceptERK12CChainParamslRSt6vectorI9COutPointSaIS6_EE 124286
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs21SingleInPackageAcceptERKS1_ 104544
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs23PackageChildWithParentsERK12CChainParamslRSt6vectorI9COutPointSaIS6_EERKSt8optionalI8CFeeRateE 119906
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgsC2ERK12CChainParamslbRSt6vectorI9COutPointSaIS6_EEbbbbbSt8optionalI8CFeeRateEb 987164
_ZN12_GLOBAL__N_113MemPoolAccept9PreChecksERNS0_8ATMPArgsERNS0_9WorkspaceE 895742
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceC2ERKSt10shared_ptrIK12CTransactionE 897041
_ZN12_GLOBAL__N_113MemPoolAcceptC2ER10CTxMemPoolR10Chainstate 882620
_ZN12_GLOBAL__N_120CalculatePrevHeightsERK11CBlockIndexRK10CCoinsViewRK12CTransaction 351283
_ZN15ValidationCacheC2Emm 1698
_ZN17ChainstateManager11AcceptBlockERKSt10shared_ptrIK6CBlockER20BlockValidationStatePP11CBlockIndexbPK11FlatFilePosPbb 169035
_ZN17ChainstateManager13GetPruneRangeERK10Chainstatei 0
_ZN17ChainstateManager14LoadBlockIndexEv 1698
_ZN17ChainstateManager15CheckBlockIndexEv 452502
_ZN17ChainstateManager15NotifyHeaderTipEv 257550
_ZN17ChainstateManager15ProcessNewBlockERKSt10shared_ptrIK6CBlockEbbPb 114053
_ZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEb 1412
_ZN17ChainstateManager16ResetChainstatesEv 0
_ZN17ChainstateManager17AcceptBlockHeaderERK12CBlockHeaderR20BlockValidationStatePP11CBlockIndexb 277727
_ZN17ChainstateManager18ProcessTransactionERKSt10shared_ptrIK12CTransactionEb 4168
_ZN17ChainstateManager20InitializeChainstateEP10CTxMemPool 1698
_ZN17ChainstateManager20MaybeRebalanceCachesEv 2995
_ZN17ChainstateManager20ReportHeadersPresyncERK13arith_uint256ll 1847
_ZN17ChainstateManager21LoadExternalBlockFileER8AutoFileP11FlatFilePosPSt8multimapI7uint256S2_St4lessIS5_ESaISt4pairIKS5_S2_EEE 607
_ZN17ChainstateManager21RecalculateBestHeaderEv 8562
_ZN17ChainstateManager22ProcessNewBlockHeadersESt4spanIK12CBlockHeaderLm18446744073709551615EEbR20BlockValidationStatePPK11CBlockIndex 108680
_ZN17ChainstateManager24ActivateExistingSnapshotE7uint256 0
_ZN17ChainstateManager24DeleteSnapshotChainstateEv 0
_ZN17ChainstateManager24DetectSnapshotChainstateEv 1698
_ZN17ChainstateManager24GetChainstateForIndexingEv 0
_ZN17ChainstateManager24ValidatedSnapshotCleanupEv 0
_ZN17ChainstateManager25ReceivedBlockTransactionsERK6CBlockP11CBlockIndexRK11FlatFilePos 92512
_ZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataE 1297
_ZN17ChainstateManager31MaybeCompleteSnapshotValidationEv 1698
_ZN17ChainstateManager6GetAllEv 44997551
_ZN17ChainstateManagerC2ERKN4util15SignalInterruptEN6kernel21ChainstateManagerOptsENS4_16BlockManagerOptsE 1698
_ZN17ChainstateManagerD2Ev 1698
_ZN9CVerifyDB8VerifyDBER10ChainstateRKN9Consensus6ParamsER10CCoinsViewii 3
_ZN9CVerifyDBC2ERN6kernel13NotificationsE 3
_ZN9CVerifyDBD2Ev 3
_ZNK10Chainstate15NeedsRedownloadEv 1698
_ZNK10Chainstate21FindForkInGlobalIndexERK13CBlockLocator 979
_ZNK10Chainstate7GetRoleEv 191868
_ZNK17ChainstateManager16ActiveChainstateEv 5321083
_ZNK17ChainstateManager16IsSnapshotActiveEv 0
_ZNK17ChainstateManager17SnapshotBlockhashEv 4906
_ZNK17ChainstateManager20GetSnapshotBaseBlockEv 484135
_ZNK17ChainstateManager21GetSnapshotBaseHeightEv 10653
_ZNK17ChainstateManager21ShouldCheckBlockIndexEv 452502
_ZNK17ChainstateManager22IsInitialBlockDownloadEv 2745163
_ZNK17ChainstateManager26GenerateCoinbaseCommitmentER6CBlockPK11CBlockIndex 222150
_ZNK17ChainstateManager32UpdateUncommittedBlockStructuresER6CBlockPK11CBlockIndex 222150
_ZNK20StopHashingException4whatEv 0
_ZNK27WarningBitsConditionChecker6PeriodERKN9Consensus6ParamsE 0
_ZNK27WarningBitsConditionChecker7EndTimeERKN9Consensus6ParamsE 0
_ZNK27WarningBitsConditionChecker9BeginTimeERKN9Consensus6ParamsE 0
_ZNK27WarningBitsConditionChecker9ConditionEPK11CBlockIndexRKN9Consensus6ParamsE 0
_ZNK27WarningBitsConditionChecker9ThresholdERKN9Consensus6ParamsE 0
_ZZ14IsBlockMutatedRK6CBlockbENKUlRT_E_clIKSt10shared_ptrIK12CTransactionEEEDaS3_ 783
_ZZ17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbRKSt8optionalI8CFeeRateEENKUlvE_clEv 244192
_ZZ19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsEENKUlRKT_E_clIS0_EEDaSB_ 65626
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENKUlvE0_clEv 92512
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENKUlvE_clEv 96366
_ZZN10Chainstate26MaybeUpdateMempoolForReorgER29DisconnectedBlockTransactionsbENKUlN5boost11multi_index6detail21hashed_index_iteratorINS4_17hashed_index_nodeINS6_INS4_18ordered_index_nodeINS4_19null_augment_policyENS7_IS8_NS7_IS8_NS4_15index_node_baseI15CTxMemPoolEntrySaISA_EEEEEEEEEEEEENS4_12bucket_arrayISB_EENS4_17hashed_unique_tagENS4_32hashed_index_global_iterator_tagEEEE_clESM_ 0
_ZZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENKUlRKT_E0_clI5CTxInEEDaSE_ 257625
_ZZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEEENKUlRKT_E_clIS5_EEDaSO_ 864
_ZZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENKUlvE_clEv 118467
_ZZN12_GLOBAL__N_113MemPoolAccept20PackageMempoolChecksERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERS1_INS0_9WorkspaceESaISA_EElR22PackageValidationStateENKUlRKT_E_clIS5_EEDaSI_ 18947
_ZZN17ChainstateManager15CheckBlockIndexEvENKUlvE_clEv 60108802
_ZZN17ChainstateManager15ProcessNewBlockERKSt10shared_ptrIK6CBlockEbbPbENKUlvE_clEv 90814
_ZZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEbENKUl13bilingual_strE_clES6_ 1244
_ZZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEbENKUlvE_clEv 1297
_ZZN17ChainstateManager24ValidatedSnapshotCleanupEvENKUlN2fs4pathES1_RKNSt10filesystem7__cxx1116filesystem_errorEE_clES1_S1_S6_ 0
_ZZN17ChainstateManager24ValidatedSnapshotCleanupEvENKUlRT_E_clISt10unique_ptrI10ChainstateSt14default_deleteIS5_EEEESt8optionalIN2fs4pathEES1_ 0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE0_clEv 1297
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE1_clEv 1297
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE2_clEv 0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE3_clEv 507
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE_clEv 1297
_ZZN17ChainstateManager31MaybeCompleteSnapshotValidationEvENKUlvE_clEv 0

Generated by: LCOV version 2.0-1