LCOV - code coverage report
Current view:
top level
-
src
- validation.cpp
(
source
/ functions)
Coverage
Total
Hit
Test:
total_coverage.info
Lines:
91.3 %
2949
2691
Test Date:
2024-11-04 05:10:19
Functions:
97.6 %
167
163
Branches:
57.8 %
5318
3074
Function Name
Hit count
_Z10CheckBlockRK6CBlockR20BlockValidationStateRKN9Consensus6ParamsEbb
497195
_Z10FatalErrorRN6kernel13NotificationsER20BlockValidationStateRK13bilingual_str
1
_Z11UpdateCoinsRK12CTransactionR15CCoinsViewCacheR7CTxUndoi
263450
_Z13ApplyTxInUndoO4CoinR15CCoinsViewCacheRK9COutPoint
18912
_Z13IsBIP30RepeatRK11CBlockIndex
171901
_Z14IsBlockMutatedRK6CBlockb
50981
_Z15GetBlockSubsidyiRKN9Consensus6ParamsE
237880
_Z17CheckFinalTxAtTipRK11CBlockIndexRK12CTransaction
35132
_Z17CheckInputScriptsRK12CTransactionR17TxValidationStateRK15CCoinsViewCachejbbR26PrecomputedTransactionDataR15ValidationCachePSt6vectorI12CScriptCheckSaISC_EE
252750
_Z17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbRKSt8optionalI8CFeeRateE
192
_Z17TestBlockValidityR20BlockValidationStateRK12CChainParamsR10ChainstateRK6CBlockP11CBlockIndexbb
44046
_Z18AcceptToMemoryPoolR10ChainstateRKSt10shared_ptrIK12CTransactionElbb
34846
_Z18IsBIP30UnspendableRK11CBlockIndex
10702
_Z19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsE
6659
_Z21PruneBlockFilesManualR10Chainstatei
28
_Z23CheckSequenceLocksAtTipP11CBlockIndexRK10LockPoints
31161
_Z24CalculateLockPointsAtTipP11CBlockIndexRK10CCoinsViewRK12CTransaction
30443
_Z25GuessVerificationProgressRK11ChainTxDataPK11CBlockIndex
230867
_Z27CalculateClaimedHeadersWorkSt4spanIK12CBlockHeaderLm18446744073709551615EE
78150
_ZL12UpdateTipLogRK15CCoinsViewCachePK11CBlockIndexRK12CChainParamsRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_SF_
136017
_ZL15CheckMerkleRootRK6CBlockR20BlockValidationState
200099
_ZL16CheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRKN9Consensus6ParamsEb
374971
_ZL16LimitMempoolSizeR10CTxMemPoolR15CCoinsViewCache
24441
_ZL19FlushSnapshotToDiskR15CCoinsViewCacheb
20
_ZL19GetBlockScriptFlagsRK11CBlockIndexRK17ChainstateManager
198035
_ZL20ContextualCheckBlockRK6CBlockR20BlockValidationStateRK17ChainstateManagerPK11CBlockIndex
167500
_ZL21DeleteCoinsDBFromDiskN2fs4pathEb
29
_ZL22CheckWitnessMalleationRK6CBlockbR20BlockValidationState
218155
_ZL22GetSnapshotCoinsDBPathR10Chainstate
1
_ZL23GetSynchronizationStatebb
191893
_ZL25IsCurrentForFeeEstimationR10Chainstate
21843
_ZL26ContextualCheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRN4node12BlockManagerERK17ChainstateManagerPK11CBlockIndex
181816
_ZL26SnapshotUTXOHashBreakpointRKN4util15SignalInterruptE
6809
_ZL29LimitValidationInterfaceQueueR17ValidationSignals
147099
_ZL30CheckInputsFromMempoolAndCacheRK12CTransactionR17TxValidationStateRK15CCoinsViewCacheRK10CTxMemPooljR26PrecomputedTransactionDataRS4_R15ValidationCache
26411
_ZL7FlattenON6kernel21ChainstateManagerOptsE
1084
_ZN10Chainstate10ConnectTipER20BlockValidationStateP11CBlockIndexRKSt10shared_ptrIK6CBlockER12ConnectTraceR29DisconnectedBlockTransactions
126923
_ZN10Chainstate11InitCoinsDBEmbbN2fs4pathE
1119
_ZN10Chainstate12ConnectBlockERK6CBlockR20BlockValidationStateP11CBlockIndexR15CCoinsViewCacheb
172083
_ZN10Chainstate12LoadChainTipEv
632
_ZN10Chainstate12ReplayBlocksEv
1076
_ZN10Chainstate12SnapshotBaseEv
685859
_ZN10Chainstate13DisconnectTipER20BlockValidationStateP29DisconnectedBlockTransactions
12564
_ZN10Chainstate13PreciousBlockER20BlockValidationStateP11CBlockIndex
10
_ZN10Chainstate13PruneAndFlushEv
52
_ZN10Chainstate14InitCoinsCacheEm
1117
_ZN10Chainstate15DisconnectBlockERK6CBlockPK11CBlockIndexR15CCoinsViewCache
17320
_ZN10Chainstate15InvalidateBlockER20BlockValidationStateP11CBlockIndex
97
_ZN10Chainstate16FlushStateToDiskER20BlockValidationState14FlushStateModei
404977
_ZN10Chainstate16LoadGenesisBlockEv
1070
_ZN10Chainstate16RollforwardBlockEPK11CBlockIndexR15CCoinsViewCache
0
_ZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockE
133398
_ZN10Chainstate17FindMostWorkChainEv
136064
_ZN10Chainstate17InvalidBlockFoundEP11CBlockIndexRK20BlockValidationState
2666
_ZN10Chainstate17InvalidChainFoundEP11CBlockIndex
5427
_ZN10Chainstate17ResizeCoinsCachesEmm
1619
_ZN10Chainstate21ActivateBestChainStepER20BlockValidationStateP11CBlockIndexRKSt10shared_ptrIK6CBlockERbR12ConnectTrace
117284
_ZN10Chainstate21ForceFlushStateToDiskEv
2901
_ZN10Chainstate22GetCoinsCacheSizeStateEmm
404979
_ZN10Chainstate22GetCoinsCacheSizeStateEv
404977
_ZN10Chainstate22ResetBlockFailureFlagsEP11CBlockIndex
28
_ZN10Chainstate23InvalidateCoinsDBOnDiskEv
1
_ZN10Chainstate25ClearBlockIndexCandidatesEv
6
_ZN10Chainstate25PruneBlockIndexCandidatesEv
124885
_ZN10Chainstate25TryAddBlockIndexCandidateEP11CBlockIndex
261013
_ZN10Chainstate26CheckForkWarningConditionsEv
122710
_ZN10Chainstate26MaybeUpdateMempoolForReorgER29DisconnectedBlockTransactionsb
3004
_ZN10Chainstate8ToStringB5cxx11Ev
1346
_ZN10Chainstate9UpdateTipEPK11CBlockIndex
136818
_ZN10ChainstateC2EP10CTxMemPoolRN4node12BlockManagerER17ChainstateManagerSt8optionalI7uint256E
1135
_ZN10CoinsViews9InitCacheEv
1117
_ZN10CoinsViewsC2E8DBParams16CoinsViewOptions
1119
_ZN12CScriptCheckclEv
254041
_ZN12ConnectTrace14BlockConnectedEP11CBlockIndexSt10shared_ptrIK6CBlockE
124257
_ZN12ConnectTrace18GetBlocksConnectedEv
117283
_ZN12_GLOBAL__N_113MemPoolAccept12CheckFeeRateEmlR17TxValidationState
29055
_ZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
107
_ZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEE
32
_ZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
300
_ZN12_GLOBAL__N_113MemPoolAccept17ReplacementChecksERNS0_9WorkspaceE
1254
_ZN12_GLOBAL__N_113MemPoolAccept18PolicyScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE
29177
_ZN12_GLOBAL__N_113MemPoolAccept20ClearSubPackageStateEv
300
_ZN12_GLOBAL__N_113MemPoolAccept20PackageMempoolChecksERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERS1_INS0_9WorkspaceESaISA_EElR22PackageValidationState
117
_ZN12_GLOBAL__N_113MemPoolAccept21CleanupTemporaryCoinsEv
300
_ZN12_GLOBAL__N_113MemPoolAccept21ConsensusScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE
26411
_ZN12_GLOBAL__N_113MemPoolAccept23AcceptSingleTransactionERKSt10shared_ptrIK12CTransactionERNS0_8ATMPArgsE
35084
_ZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
147
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs12SingleAcceptERK12CChainParamslbRSt6vectorI9COutPointSaIS6_EEb
34846
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs17PackageTestAcceptERK12CChainParamslRSt6vectorI9COutPointSaIS6_EE
85
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs21SingleInPackageAcceptERKS1_
238
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs23PackageChildWithParentsERK12CChainParamslRSt6vectorI9COutPointSaIS6_EERKSt8optionalI8CFeeRateE
107
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgsC2ERK12CChainParamslbRSt6vectorI9COutPointSaIS6_EEbbbbbSt8optionalI8CFeeRateEb
35276
_ZN12_GLOBAL__N_113MemPoolAccept8FinalizeERKNS0_8ATMPArgsERNS0_9WorkspaceE
21843
_ZN12_GLOBAL__N_113MemPoolAccept9PreChecksERNS0_8ATMPArgsERNS0_9WorkspaceE
35829
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceC2ERKSt10shared_ptrIK12CTransactionE
35864
_ZN12_GLOBAL__N_113MemPoolAcceptC2ER10CTxMemPoolR10Chainstate
35038
_ZN12_GLOBAL__N_120CalculatePrevHeightsERK11CBlockIndexRK10CCoinsViewRK12CTransaction
30443
_ZN15ValidationCacheC2Emm
1083
_ZN17ChainstateManager11AcceptBlockERKSt10shared_ptrIK6CBlockER20BlockValidationStatePP11CBlockIndexbPK11FlatFilePosPbb
134375
_ZN17ChainstateManager13GetPruneRangeERK10Chainstatei
451
_ZN17ChainstateManager14LoadBlockIndexEv
1076
_ZN17ChainstateManager15CheckBlockIndexEv
488417
_ZN17ChainstateManager15NotifyHeaderTipEv
168892
_ZN17ChainstateManager15ProcessNewBlockERKSt10shared_ptrIK6CBlockEbbPb
131746
_ZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEb
62
_ZN17ChainstateManager16ResetChainstatesEv
7
_ZN17ChainstateManager17AcceptBlockHeaderERK12CBlockHeaderR20BlockValidationStatePP11CBlockIndexb
258300
_ZN17ChainstateManager18ProcessTransactionERKSt10shared_ptrIK12CTransactionEb
30484
_ZN17ChainstateManager20InitializeChainstateEP10CTxMemPool
1084
_ZN17ChainstateManager20MaybeRebalanceCachesEv
1559
_ZN17ChainstateManager20ReportHeadersPresyncERK13arith_uint256ll
6
_ZN17ChainstateManager21LoadExternalBlockFileER8AutoFileP11FlatFilePosPSt8multimapI7uint256S2_St4lessIS5_ESaISt4pairIKS5_S2_EEE
17
_ZN17ChainstateManager22ProcessNewBlockHeadersESt4spanIK12CBlockHeaderLm18446744073709551615EEbR20BlockValidationStatePPK11CBlockIndex
34822
_ZN17ChainstateManager24ActivateExistingSnapshotE7uint256
15
_ZN17ChainstateManager24DeleteSnapshotChainstateEv
2
_ZN17ChainstateManager24DetectSnapshotChainstateEv
1079
_ZN17ChainstateManager24GetChainstateForIndexingEv
1007
_ZN17ChainstateManager24ValidatedSnapshotCleanupEv
3
_ZN17ChainstateManager25ReceivedBlockTransactionsERK6CBlockP11CBlockIndexRK11FlatFilePos
123885
_ZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataE
36
_ZN17ChainstateManager31MaybeCompleteSnapshotValidationEv
1767
_ZN17ChainstateManager6GetAllEv
313507824
_ZN17ChainstateManagerC2ERKN4util15SignalInterruptEN6kernel21ChainstateManagerOptsENS4_16BlockManagerOptsE
1084
_ZN17ChainstateManagerD2Ev
1083
_ZN9CVerifyDB8VerifyDBER10ChainstateRKN9Consensus6ParamsER10CCoinsViewii
613
_ZN9CVerifyDBC2ERN6kernel13NotificationsE
613
_ZN9CVerifyDBD2Ev
613
_ZNK10Chainstate15NeedsRedownloadEv
1059
_ZNK10Chainstate21FindForkInGlobalIndexERK13CBlockLocator
1904
_ZNK10Chainstate7GetRoleEv
234757
_ZNK17ChainstateManager16ActiveChainstateEv
34169732
_ZNK17ChainstateManager16IsSnapshotActiveEv
68
_ZNK17ChainstateManager17SnapshotBlockhashEv
1162
_ZNK17ChainstateManager20GetSnapshotBaseBlockEv
672884
_ZNK17ChainstateManager21GetSnapshotBaseHeightEv
731
_ZNK17ChainstateManager21ShouldCheckBlockIndexEv
488417
_ZNK17ChainstateManager22IsInitialBlockDownloadEv
2144860
_ZNK17ChainstateManager26GenerateCoinbaseCommitmentER6CBlockPK11CBlockIndex
51266
_ZNK17ChainstateManager32UpdateUncommittedBlockStructuresER6CBlockPK11CBlockIndex
56851
_ZNK20StopHashingException4whatEv
0
_ZNK27WarningBitsConditionChecker6PeriodERKN9Consensus6ParamsE
3468893
_ZNK27WarningBitsConditionChecker7EndTimeERKN9Consensus6ParamsE
3468893
_ZNK27WarningBitsConditionChecker9BeginTimeERKN9Consensus6ParamsE
3468893
_ZNK27WarningBitsConditionChecker9ConditionEPK11CBlockIndexRKN9Consensus6ParamsE
2526192
_ZNK27WarningBitsConditionChecker9ThresholdERKN9Consensus6ParamsE
3468893
_ZZ14IsBlockMutatedRK6CBlockbENKUlRT_E_clIKSt10shared_ptrIK12CTransactionEEEDaS3_
4
_ZZ17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbRKSt8optionalI8CFeeRateEENKUlvE_clEv
192
_ZZ19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsEENKUlRKT_E_clIS0_EEDaSB_
159012
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENKUlvE0_clEv
117273
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENKUlvE_clEv
133398
_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_
886
_ZZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENKUlRKT_E0_clI5CTxInEEDaSE_
170
_ZZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEEENKUlRKT_E_clIS5_EEDaSO_
64
_ZZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENKUlvE_clEv
300
_ZZN12_GLOBAL__N_113MemPoolAccept20PackageMempoolChecksERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERS1_INS0_9WorkspaceESaISA_EElR22PackageValidationStateENKUlRKT_E_clIS5_EEDaSI_
698
_ZZN17ChainstateManager15CheckBlockIndexEvENKUlvE_clEv
308533850
_ZZN17ChainstateManager15ProcessNewBlockERKSt10shared_ptrIK6CBlockEbbPbENKUlvE_clEv
130574
_ZZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEbENKUl13bilingual_strE_clES6_
24
_ZZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEbENKUlvE_clEv
36
_ZZN17ChainstateManager24ValidatedSnapshotCleanupEvENKUlN2fs4pathES1_RKNSt10filesystem7__cxx1116filesystem_errorEE_clES1_S1_S6_
0
_ZZN17ChainstateManager24ValidatedSnapshotCleanupEvENKUlRT_E_clISt10unique_ptrI10ChainstateSt14default_deleteIS5_EEEESt8optionalIN2fs4pathEES1_
6
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE0_clEv
36
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE1_clEv
36
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE2_clEv
0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE3_clEv
20
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE_clEv
36
_ZZN17ChainstateManager31MaybeCompleteSnapshotValidationEvENKUlvE_clEv
1
Generated by:
LCOV version 2.0-1