LCOV - code coverage report
Current view:
top level
-
src
- validation.cpp
(
source
/ functions)
Coverage
Total
Hit
Test:
total_coverage.info
Lines:
91.5 %
2989
2735
Test Date:
2025-11-28 05:09:59
Functions:
98.2 %
166
163
Branches:
57.6 %
5490
3161
Function Name
Hit count
_Z10CheckBlockRK6CBlockR20BlockValidationStateRKN9Consensus6ParamsEbb
508194
_Z10FatalErrorRN6kernel13NotificationsER20BlockValidationStateRK13bilingual_str
1
_Z11UpdateCoinsRK12CTransactionR15CCoinsViewCacheR7CTxUndoi
279840
_Z13ApplyTxInUndoO4CoinR15CCoinsViewCacheRK9COutPoint
20990
_Z13IsBIP30RepeatRK11CBlockIndex
181235
_Z14IsBlockMutatedRK6CBlockb
58733
_Z15GetBlockSubsidyiRKN9Consensus6ParamsE
253806
_Z17CheckFinalTxAtTipRK11CBlockIndexRK12CTransaction
39824
_Z17CheckInputScriptsRK12CTransactionR17TxValidationStateRK15CCoinsViewCache19script_verify_flagsbbR26PrecomputedTransactionDataR15ValidationCachePSt6vectorI12CScriptCheckSaISD_EE
264795
_Z17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbRKSt8optionalI8CFeeRateE
245
_Z17TestBlockValidityR10ChainstateRK6CBlockbb
47597
_Z18AcceptToMemoryPoolR10ChainstateRKSt10shared_ptrIK12CTransactionElbb
39473
_Z18IsBIP30UnspendableRK7uint256i
11663
_Z19GetBlockScriptFlagsRK11CBlockIndexRK17ChainstateManager
211554
_Z19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsE
6791
_Z21PruneBlockFilesManualR10Chainstatei
29
_Z23CheckSequenceLocksAtTipP11CBlockIndexRK10LockPoints
35416
_Z24CalculateLockPointsAtTipP11CBlockIndexRK10CCoinsViewRK12CTransaction
34258
_Z27CalculateClaimedHeadersWorkSt4spanIK12CBlockHeaderLm18446744073709551615EE
65544
_ZL12UpdateTipLogRK17ChainstateManagerRK15CCoinsViewCachePK11CBlockIndexRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_SF_
142602
_ZL15CheckMerkleRootRK6CBlockR20BlockValidationState
218956
_ZL16CheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRKN9Consensus6ParamsEb
400014
_ZL16LimitMempoolSizeR10CTxMemPoolR15CCoinsViewCache
27652
_ZL19FlushSnapshotToDiskR15CCoinsViewCacheb
21
_ZL20ContextualCheckBlockRK6CBlockR20BlockValidationStateRK17ChainstateManagerPK11CBlockIndex
177702
_ZL21DeleteCoinsDBFromDiskN2fs4pathEb
29
_ZL22CheckWitnessMalleationRK6CBlockbR20BlockValidationState
236376
_ZL22GetSnapshotCoinsDBPathR10Chainstate
1
_ZL23GetSynchronizationStatebb
215335
_ZL25IsCurrentForFeeEstimationR10Chainstate
25375
_ZL26ContextualCheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRN4node12BlockManagerERK17ChainstateManagerPK11CBlockIndex
192507
_ZL26SnapshotUTXOHashBreakpointRKN4util15SignalInterruptE
7407
_ZL29LimitValidationInterfaceQueueR17ValidationSignals
158445
_ZL30CheckInputsFromMempoolAndCacheRK12CTransactionR17TxValidationStateRK15CCoinsViewCacheRK10CTxMemPool19script_verify_flagsR26PrecomputedTransactionDataRS4_R15ValidationCache
30504
_ZL7FlattenON6kernel21ChainstateManagerOptsE
1234
_ZN10Chainstate10ConnectTipER20BlockValidationStateP11CBlockIndexSt10shared_ptrIK6CBlockER12ConnectTraceR29DisconnectedBlockTransactions
132736
_ZN10Chainstate11InitCoinsDBEmbbN2fs4pathE
1271
_ZN10Chainstate12ConnectBlockERK6CBlockR20BlockValidationStateP11CBlockIndexR15CCoinsViewCacheb
181442
_ZN10Chainstate12LoadChainTipEv
759
_ZN10Chainstate12ReplayBlocksEv
1227
_ZN10Chainstate13DisconnectTipER20BlockValidationStateP29DisconnectedBlockTransactions
13464
_ZN10Chainstate13PreciousBlockER20BlockValidationStateP11CBlockIndex
10
_ZN10Chainstate13PruneAndFlushEv
61
_ZN10Chainstate14InitCoinsCacheEm
1269
_ZN10Chainstate15DisconnectBlockERK6CBlockPK11CBlockIndexR15CCoinsViewCache
18765
_ZN10Chainstate15InvalidateBlockER20BlockValidationStateP11CBlockIndex
98
_ZN10Chainstate16FlushStateToDiskER20BlockValidationState14FlushStateModei
429962
_ZN10Chainstate16LoadGenesisBlockEv
1221
_ZN10Chainstate16RollforwardBlockEPK11CBlockIndexR15CCoinsViewCache
0
_ZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockE
146253
_ZN10Chainstate17FindMostWorkChainEv
148947
_ZN10Chainstate17InvalidBlockFoundEP11CBlockIndexRK20BlockValidationState
2708
_ZN10Chainstate17InvalidChainFoundEP11CBlockIndex
5492
_ZN10Chainstate17ResizeCoinsCachesEmm
1789
_ZN10Chainstate20SetBlockFailureFlagsEP11CBlockIndex
5492
_ZN10Chainstate21ActivateBestChainStepER20BlockValidationStateP11CBlockIndexRKSt10shared_ptrIK6CBlockERbR12ConnectTrace
122266
_ZN10Chainstate21ForceFlushStateToDiskEv
3284
_ZN10Chainstate22GetCoinsCacheSizeStateEmm
487957
_ZN10Chainstate22GetCoinsCacheSizeStateEv
430962
_ZN10Chainstate22ResetBlockFailureFlagsEP11CBlockIndex
30
_ZN10Chainstate23InvalidateCoinsDBOnDiskEv
1
_ZN10Chainstate25ClearBlockIndexCandidatesEv
6
_ZN10Chainstate25PruneBlockIndexCandidatesEv
130794
_ZN10Chainstate25TryAddBlockIndexCandidateEP11CBlockIndex
297538
_ZN10Chainstate26CheckForkWarningConditionsEv
127757
_ZN10Chainstate26MaybeUpdateMempoolForReorgER29DisconnectedBlockTransactionsb
3126
_ZN10Chainstate8ToStringB5cxx11Ev
1505
_ZN10Chainstate9UpdateTipEPK11CBlockIndex
143503
_ZN10ChainstateC2EP10CTxMemPoolRN4node12BlockManagerER17ChainstateManagerSt8optionalI7uint256E
1280
_ZN10CoinsViews9InitCacheEv
1269
_ZN10CoinsViewsC2E8DBParams16CoinsViewOptions
1271
_ZN12CScriptCheckclB5cxx11Ev
219115
_ZN12ConnectTrace14BlockConnectedEP11CBlockIndexSt10shared_ptrIK6CBlockE
130042
_ZN12ConnectTrace18GetBlocksConnectedEv
122265
_ZN12_GLOBAL__N_113MemPoolAccept12CheckFeeRateEmlR17TxValidationState
32292
_ZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
167
_ZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI22transaction_identifierILb1EE19MempoolAcceptResultSt4lessISD_ESaISt4pairIKSD_SE_EEE
54
_ZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
443
_ZN12_GLOBAL__N_113MemPoolAccept17ReplacementChecksERNS0_9WorkspaceE
1310
_ZN12_GLOBAL__N_113MemPoolAccept18FinalizeSubpackageERKNS0_8ATMPArgsE
25321
_ZN12_GLOBAL__N_113MemPoolAccept18PolicyScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE
32754
_ZN12_GLOBAL__N_113MemPoolAccept20ClearSubPackageStateEv
40157
_ZN12_GLOBAL__N_113MemPoolAccept20PackageMempoolChecksERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERS1_INS0_9WorkspaceESaISA_EElR22PackageValidationState
121
_ZN12_GLOBAL__N_113MemPoolAccept21CleanupTemporaryCoinsEv
64521
_ZN12_GLOBAL__N_113MemPoolAccept21ConsensusScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE
30504
_ZN12_GLOBAL__N_113MemPoolAccept31AcceptSingleTransactionInternalERKSt10shared_ptrIK12CTransactionERNS0_8ATMPArgsE
39833
_ZN12_GLOBAL__N_113MemPoolAccept33AcceptSingleTransactionAndCleanupERKSt10shared_ptrIK12CTransactionERNS0_8ATMPArgsE
39473
_ZN12_GLOBAL__N_113MemPoolAccept34AcceptMultipleTransactionsInternalERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
161
_ZN12_GLOBAL__N_113MemPoolAccept36AcceptMultipleTransactionsAndCleanupERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
78
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs12SingleAcceptERK12CChainParamslbRSt6vectorI9COutPointSaIS6_EEb
39473
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs17PackageTestAcceptERK12CChainParamslRSt6vectorI9COutPointSaIS6_EE
78
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs21SingleInPackageAcceptERKS1_
360
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs23PackageChildWithParentsERK12CChainParamslRSt6vectorI9COutPointSaIS6_EERKSt8optionalI8CFeeRateE
167
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgsC2ERK12CChainParamslbRSt6vectorI9COutPointSaIS6_EEbbbbbSt8optionalI8CFeeRateE
40078
_ZN12_GLOBAL__N_113MemPoolAccept9PreChecksERNS0_8ATMPArgsERNS0_9WorkspaceE
40591
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceC2ERKSt10shared_ptrIK12CTransactionE
40629
_ZN12_GLOBAL__N_113MemPoolAcceptC2ER10CTxMemPoolR10Chainstate
39718
_ZN12_GLOBAL__N_1L20CalculatePrevHeightsERK11CBlockIndexRK10CCoinsViewRK12CTransaction
34258
_ZN15ValidationCacheC2Emm
1232
_ZN17ChainstateManager11AcceptBlockERKSt10shared_ptrIK6CBlockER20BlockValidationStatePP11CBlockIndexbPK11FlatFilePosPbb
146185
_ZN17ChainstateManager13GetPruneRangeERK10Chainstatei
490
_ZN17ChainstateManager14LoadBlockIndexEv
1228
_ZN17ChainstateManager15NotifyHeaderTipEv
180666
_ZN17ChainstateManager15ProcessNewBlockERKSt10shared_ptrIK6CBlockEbbPb
143529
_ZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEb
63
_ZN17ChainstateManager16ResetChainstatesEv
7
_ZN17ChainstateManager17AcceptBlockHeaderERK12CBlockHeaderR20BlockValidationStatePP11CBlockIndexb
262259
_ZN17ChainstateManager18ProcessTransactionERKSt10shared_ptrIK12CTransactionEb
34659
_ZN17ChainstateManager20InitializeChainstateEP10CTxMemPool
1228
_ZN17ChainstateManager20MaybeRebalanceCachesEv
1727
_ZN17ChainstateManager20ReportHeadersPresyncERK13arith_uint256ll
6
_ZN17ChainstateManager21LoadExternalBlockFileER8AutoFileP11FlatFilePosPSt8multimapI7uint256S2_St4lessIS5_ESaISt4pairIKS5_S2_EEE
17
_ZN17ChainstateManager21RecalculateBestHeaderEv
2699
_ZN17ChainstateManager22ProcessNewBlockHeadersESt4spanIK12CBlockHeaderLm18446744073709551615EEbR20BlockValidationStatePPK11CBlockIndex
34233
_ZN17ChainstateManager24ActivateExistingSnapshotE7uint256
15
_ZN17ChainstateManager24DeleteSnapshotChainstateEv
2
_ZN17ChainstateManager24DetectSnapshotChainstateEv
1223
_ZN17ChainstateManager24GetChainstateForIndexingEv
1158
_ZN17ChainstateManager24ValidatedSnapshotCleanupEv
3
_ZN17ChainstateManager25ReceivedBlockTransactionsERK6CBlockP11CBlockIndexRK11FlatFilePos
130567
_ZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataE
37
_ZN17ChainstateManager31MaybeCompleteSnapshotValidationEv
2016
_ZN17ChainstateManager6GetAllEv
544092
_ZN17ChainstateManagerC2ERKN4util15SignalInterruptEN6kernel21ChainstateManagerOptsENS4_16BlockManagerOptsE
1234
_ZN17ChainstateManagerD2Ev
1232
_ZN9CVerifyDB8VerifyDBER10ChainstateRKN9Consensus6ParamsER10CCoinsViewii
737
_ZN9CVerifyDBC2ERN6kernel13NotificationsE
737
_ZN9CVerifyDBD2Ev
737
_ZNK10Chainstate12SnapshotBaseEv
718106
_ZNK10Chainstate15NeedsRedownloadEv
1225
_ZNK10Chainstate21FindForkInGlobalIndexERK13CBlockLocator
2374
_ZNK10Chainstate7GetRoleEv
241170
_ZNK17ChainstateManager15CheckBlockIndexEv
505597
_ZNK17ChainstateManager16ActiveChainstateEv
33290162
_ZNK17ChainstateManager16IsSnapshotActiveEv
72
_ZNK17ChainstateManager17SnapshotBlockhashEv
1316
_ZNK17ChainstateManager20GetSnapshotBaseBlockEv
704372
_ZNK17ChainstateManager21GetSnapshotBaseHeightEv
832
_ZNK17ChainstateManager21ShouldCheckBlockIndexEv
505597
_ZNK17ChainstateManager22IsInitialBlockDownloadEv
2068095
_ZNK17ChainstateManager25GuessVerificationProgressEPK11CBlockIndex
351786
_ZNK17ChainstateManager26GenerateCoinbaseCommitmentER6CBlockPK11CBlockIndex
54438
_ZNK17ChainstateManager32UpdateUncommittedBlockStructuresER6CBlockPK11CBlockIndex
81755
_ZNK20StopHashingException4whatEv
0
_ZZ14IsBlockMutatedRK6CBlockbENKUlRT_E_clIKSt10shared_ptrIK12CTransactionEEEDaS3_
4
_ZZ17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbRKSt8optionalI8CFeeRateEENKUlvE_clEv
245
_ZZ19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsEENKUlRKT_E_clIS0_EEDaSB_
303027
_ZZN10Chainstate15InvalidateBlockER20BlockValidationStateP11CBlockIndexENKUlvE_clEv
93
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENKUlvE0_clEv
122255
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENKUlvE_clEv
146253
_ZZN10Chainstate26MaybeUpdateMempoolForReorgER29DisconnectedBlockTransactionsbENKUlN5boost11multi_index6detail21hashed_index_iteratorINS4_17hashed_index_nodeINS6_INS4_18ordered_index_nodeINS4_19null_augment_policyENS4_15index_node_baseI15CTxMemPoolEntrySaISA_EEEEEEEEENS4_12bucket_arrayISB_EENS4_17hashed_unique_tagENS4_32hashed_index_global_iterator_tagEEEE_clESK_
1415
_ZZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI22transaction_identifierILb1EE19MempoolAcceptResultSt4lessISD_ESaISt4pairIKSD_SE_EEEENKUlRKT_E_clIS5_EEDaSP_
108
_ZZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENKUlvE_clEv
443
_ZZN17ChainstateManager15ProcessNewBlockERKSt10shared_ptrIK6CBlockEbbPbENKUlvE_clEv
143079
_ZZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEbENKUl13bilingual_strE_clES6_
24
_ZZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEbENKUlvE_clEv
37
_ZZN17ChainstateManager21LoadExternalBlockFileER8AutoFileP11FlatFilePosPSt8multimapI7uint256S2_St4lessIS5_ESaISt4pairIKS5_S2_EEEENKUlvE_clEv
16
_ZZN17ChainstateManager24ValidatedSnapshotCleanupEvENKUlN2fs4pathES1_RKNSt10filesystem7__cxx1116filesystem_errorEE_clES1_S1_S6_
3
_ZZN17ChainstateManager24ValidatedSnapshotCleanupEvENKUlRT_E_clISt10unique_ptrI10ChainstateSt14default_deleteIS5_EEEESt8optionalIN2fs4pathEES1_
6
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE0_clEv
37
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE1_clEv
37
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE2_clEv
0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE3_clEv
21
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE_clEv
37
_ZZN17ChainstateManager31MaybeCompleteSnapshotValidationEvENKUlvE_clEv
9
_ZZNK17ChainstateManager15CheckBlockIndexEvENKUlvE_clEv
284168953
Generated by:
LCOV version 2.0-1