LCOV - code coverage report
Current view:
top level
-
src
- validation.cpp
(
source
/ functions)
Coverage
Total
Hit
Test:
test_bitcoin_coverage.info
Lines:
75.5 %
3007
2271
Test Date:
2025-01-22 04:36:36
Functions:
90.2 %
164
148
Branches:
42.3 %
5360
2268
Function Name
Hit count
_Z10FatalErrorRN6kernel13NotificationsER20BlockValidationStateRK13bilingual_str
0
_Z19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsE
0
_Z21PruneBlockFilesManualR10Chainstatei
0
_Z27CalculateClaimedHeadersWorkSt4spanIK12CBlockHeaderLm18446744073709551615EE
0
_ZN10Chainstate13PreciousBlockER20BlockValidationStateP11CBlockIndex
0
_ZN10Chainstate13PruneAndFlushEv
0
_ZN10Chainstate16RollforwardBlockEPK11CBlockIndexR15CCoinsViewCache
0
_ZN10Chainstate22ResetBlockFailureFlagsEP11CBlockIndex
0
_ZN17ChainstateManager13GetPruneRangeERK10Chainstatei
0
_ZN17ChainstateManager20ReportHeadersPresyncERK13arith_uint256ll
0
_ZN17ChainstateManager21LoadExternalBlockFileER8AutoFileP11FlatFilePosPSt8multimapI7uint256S2_St4lessIS5_ESaISt4pairIKS5_S2_EEE
0
_ZN17ChainstateManager24DeleteSnapshotChainstateEv
0
_ZNK20StopHashingException4whatEv
0
_ZNK27WarningBitsConditionChecker9ConditionEPK11CBlockIndexRKN9Consensus6ParamsE
0
_ZZ19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsEENKUlRKT_E_clIS0_EEDaSB_
0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE2_clEv
0
_ZL22GetSnapshotCoinsDBPathR10Chainstate
1
_ZN10Chainstate23InvalidateCoinsDBOnDiskEv
1
_ZN17ChainstateManager24ValidatedSnapshotCleanupEv
1
_ZZN17ChainstateManager24ValidatedSnapshotCleanupEvENKUlN2fs4pathES1_RKNSt10filesystem7__cxx1116filesystem_errorEE_clES1_S1_S6_
1
_ZZN17ChainstateManager31MaybeCompleteSnapshotValidationEvENKUlvE_clEv
1
_ZN10Chainstate17InvalidBlockFoundEP11CBlockIndexRK20BlockValidationState
2
_ZZN17ChainstateManager24ValidatedSnapshotCleanupEvENKUlRT_E_clISt10unique_ptrI10ChainstateSt14default_deleteIS5_EEEESt8optionalIN2fs4pathEES1_
2
_ZZ14IsBlockMutatedRK6CBlockbENKUlRT_E_clIKSt10shared_ptrIK12CTransactionEEEDaS3_
3
_ZN10Chainstate25ClearBlockIndexCandidatesEv
4
_ZN9CVerifyDB8VerifyDBER10ChainstateRKN9Consensus6ParamsER10CCoinsViewii
4
_ZN9CVerifyDBC2ERN6kernel13NotificationsE
4
_ZN9CVerifyDBD2Ev
4
_ZNK10Chainstate21FindForkInGlobalIndexERK13CBlockLocator
4
_ZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEE
5
_ZN17ChainstateManager16ResetChainstatesEv
5
_ZN17ChainstateManager24ActivateExistingSnapshotE7uint256
5
_ZN17ChainstateManager24GetChainstateForIndexingEv
5
_ZN12_GLOBAL__N_113MemPoolAccept17ReplacementChecksERNS0_9WorkspaceE
6
_ZN12_GLOBAL__N_113MemPoolAccept20PackageMempoolChecksERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERS1_INS0_9WorkspaceESaISA_EElR22PackageValidationState
7
_ZL19FlushSnapshotToDiskR15CCoinsViewCacheb
9
_ZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
9
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE3_clEv
9
_ZN10Chainstate15InvalidateBlockER20BlockValidationStateP11CBlockIndex
10
_ZZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEEENKUlRKT_E_clIS5_EEDaSO_
10
_ZNK17ChainstateManager21GetSnapshotBaseHeightEv
11
_ZN17ChainstateManager21RecalculateBestHeaderEv
12
_ZZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEbENKUl13bilingual_strE_clES6_
12
_ZL21DeleteCoinsDBFromDiskN2fs4pathEb
13
_ZN10Chainstate12LoadChainTipEv
13
_ZN10Chainstate17InvalidChainFoundEP11CBlockIndex
14
_ZN10Chainstate20SetBlockFailureFlagsEP11CBlockIndex
14
_ZZN12_GLOBAL__N_113MemPoolAccept20PackageMempoolChecksERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERS1_INS0_9WorkspaceESaISA_EElR22PackageValidationStateENKUlRKT_E_clIS5_EEDaSI_
14
_ZN10Chainstate26MaybeUpdateMempoolForReorgER29DisconnectedBlockTransactionsb
15
_ZNK17ChainstateManager16IsSnapshotActiveEv
15
_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_
15
_Z14IsBlockMutatedRK6CBlockb
16
_ZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataE
17
_ZZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEbENKUlvE_clEv
17
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE0_clEv
17
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE1_clEv
17
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENKUlvE_clEv
17
_ZZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENKUlRKT_E0_clI5CTxInEEDaSE_
24
_ZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
27
_Z17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbRKSt8optionalI8CFeeRateE
29
_ZZ17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbRKSt8optionalI8CFeeRateEENKUlvE_clEv
29
_ZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEb
33
_ZN10Chainstate21ForceFlushStateToDiskEv
41
_ZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
43
_ZZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENKUlvE_clEv
43
_ZN12_GLOBAL__N_113MemPoolAccept20ClearSubPackageStateEv
67
_ZN12_GLOBAL__N_113MemPoolAccept21CleanupTemporaryCoinsEv
67
_Z18AcceptToMemoryPoolR10ChainstateRKSt10shared_ptrIK12CTransactionElbb
85
_ZN17ChainstateManager18ProcessTransactionERKSt10shared_ptrIK12CTransactionEb
85
_ZN12_GLOBAL__N_113MemPoolAccept18FinalizeSubpackageERKNS0_8ATMPArgsE
103
_ZL25IsCurrentForFeeEstimationR10Chainstate
108
_ZL30CheckInputsFromMempoolAndCacheRK12CTransactionR17TxValidationStateRK15CCoinsViewCacheRK10CTxMemPooljR26PrecomputedTransactionDataRS4_R15ValidationCache
110
_ZN12_GLOBAL__N_113MemPoolAccept21ConsensusScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE
110
_ZN12_GLOBAL__N_113MemPoolAccept18PolicyScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE
112
_ZN12_GLOBAL__N_113MemPoolAcceptC2ER10CTxMemPoolR10Chainstate
114
_ZN12_GLOBAL__N_113MemPoolAccept12CheckFeeRateEmlR17TxValidationState
117
_ZL16LimitMempoolSizeR10CTxMemPoolR15CCoinsViewCache
121
_ZN12_GLOBAL__N_113MemPoolAccept23AcceptSingleTransactionERKSt10shared_ptrIK12CTransactionERNS0_8ATMPArgsE
121
_Z23CheckSequenceLocksAtTipP11CBlockIndexRK10LockPoints
135
_Z24CalculateLockPointsAtTipP11CBlockIndexRK10CCoinsViewRK12CTransaction
135
_ZN12_GLOBAL__N_120CalculatePrevHeightsERK11CBlockIndexRK10CCoinsViewRK12CTransaction
135
_ZN12_GLOBAL__N_113MemPoolAccept9PreChecksERNS0_8ATMPArgsERNS0_9WorkspaceE
138
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceC2ERKSt10shared_ptrIK12CTransactionE
138
_Z17CheckFinalTxAtTipRK11CBlockIndexRK12CTransaction
141
_ZN17ChainstateManager24DetectSnapshotChainstateEv
173
_ZN10Chainstate12ReplayBlocksEv
176
_ZN10Chainstate16LoadGenesisBlockEv
176
_ZN17ChainstateManager14LoadBlockIndexEv
176
_ZN17ChainstateManager20InitializeChainstateEP10CTxMemPool
176
_ZNK10Chainstate15NeedsRedownloadEv
176
_ZL7FlattenON6kernel21ChainstateManagerOptsE
177
_ZN15ValidationCacheC2Emm
177
_ZN17ChainstateManagerC2ERKN4util15SignalInterruptEN6kernel21ChainstateManagerOptsENS4_16BlockManagerOptsE
177
_ZN17ChainstateManagerD2Ev
177
_ZN17ChainstateManager31MaybeCompleteSnapshotValidationEv
178
_ZN10Chainstate11InitCoinsDBEmbbN2fs4pathE
197
_ZN10CoinsViewsC2E8DBParams16CoinsViewOptions
197
_ZN10Chainstate14InitCoinsCacheEm
198
_ZN10ChainstateC2EP10CTxMemPoolRN4node12BlockManagerER17ChainstateManagerSt8optionalI7uint256E
198
_ZN10CoinsViews9InitCacheEv
198
_Z18IsBIP30UnspendableRK11CBlockIndex
202
_ZNK17ChainstateManager17SnapshotBlockhashEv
236
_ZN17ChainstateManager20MaybeRebalanceCachesEv
255
_ZN10Chainstate17ResizeCoinsCachesEmm
282
_ZN10Chainstate8ToStringB5cxx11Ev
301
_ZN10Chainstate13DisconnectTipER20BlockValidationStateP29DisconnectedBlockTransactions
385
_ZN10Chainstate15DisconnectBlockERK6CBlockPK11CBlockIndexR15CCoinsViewCache
409
_ZN17ChainstateManager22ProcessNewBlockHeadersESt4spanIK12CBlockHeaderLm18446744073709551615EEbR20BlockValidationStatePPK11CBlockIndex
1004
_ZL26SnapshotUTXOHashBreakpointRKN4util15SignalInterruptE
1427
_Z13ApplyTxInUndoO4CoinR15CCoinsViewCacheRK9COutPoint
1810
_ZN10Chainstate21ActivateBestChainStepER20BlockValidationStateP11CBlockIndexRKSt10shared_ptrIK6CBlockERbR12ConnectTrace
7095
_ZN12ConnectTrace18GetBlocksConnectedEv
7095
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENKUlvE0_clEv
7095
_ZN10Chainstate26CheckForkWarningConditionsEv
7109
_ZN17ChainstateManager25ReceivedBlockTransactionsERK6CBlockP11CBlockIndexRK11FlatFilePos
7389
_Z17TestBlockValidityR20BlockValidationStateRK12CChainParamsR10ChainstateRK6CBlockP11CBlockIndexbb
7448
_ZN12ConnectTrace14BlockConnectedEP11CBlockIndexSt10shared_ptrIK6CBlockE
7467
_ZN10Chainstate10ConnectTipER20BlockValidationStateP11CBlockIndexRKSt10shared_ptrIK6CBlockER12ConnectTraceR29DisconnectedBlockTransactions
7469
_ZN10Chainstate25PruneBlockIndexCandidatesEv
7475
_ZL12UpdateTipLogRK17ChainstateManagerRK15CCoinsViewCachePK11CBlockIndexRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_SF_
7849
_ZN10Chainstate9UpdateTipEPK11CBlockIndex
7852
_ZL15CheckMerkleRootRK6CBlockR20BlockValidationState
7940
_ZNK17ChainstateManager25GuessVerificationProgressEPK11CBlockIndex
8394
_ZN10Chainstate25TryAddBlockIndexCandidateEP11CBlockIndex
9384
_ZNK10Chainstate7GetRoleEv
13596
_ZL23GetSynchronizationStatebb
13938
_ZL20ContextualCheckBlockRK6CBlockR20BlockValidationStateRK17ChainstateManagerPK11CBlockIndex
14664
_ZL22CheckWitnessMalleationRK6CBlockbR20BlockValidationState
14673
_ZNK17ChainstateManager26GenerateCoinbaseCommitmentER6CBlockPK11CBlockIndex
14743
_ZNK17ChainstateManager32UpdateUncommittedBlockStructuresER6CBlockPK11CBlockIndex
14743
_Z13IsBIP30RepeatRK11CBlockIndex
14746
_ZL19GetBlockScriptFlagsRK11CBlockIndexRK17ChainstateManager
14856
_ZL26ContextualCheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRN4node12BlockManagerERK17ChainstateManagerPK11CBlockIndex
14873
_ZN10Chainstate12ConnectBlockERK6CBlockR20BlockValidationStateP11CBlockIndexR15CCoinsViewCacheb
14916
_ZZN17ChainstateManager15ProcessNewBlockERKSt10shared_ptrIK6CBlockEbbPbENKUlvE_clEv
17393
_ZN17ChainstateManager15ProcessNewBlockERKSt10shared_ptrIK6CBlockEbbPb
17600
_ZN17ChainstateManager11AcceptBlockERKSt10shared_ptrIK6CBlockER20BlockValidationStatePP11CBlockIndexbPK11FlatFilePosPbb
17602
_ZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockE
17972
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENKUlvE_clEv
17972
_ZN10Chainstate17FindMostWorkChainEv
17974
_ZL29LimitValidationInterfaceQueueR17ValidationSignals
18119
_ZN17ChainstateManager15NotifyHeaderTipEv
18397
_ZN17ChainstateManager17AcceptBlockHeaderERK12CBlockHeaderR20BlockValidationStatePP11CBlockIndexb
18606
_ZN10Chainstate16FlushStateToDiskER20BlockValidationState14FlushStateModei
22245
_ZN10Chainstate22GetCoinsCacheSizeStateEv
22245
_ZN10Chainstate22GetCoinsCacheSizeStateEmm
22247
_ZL16CheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRKN9Consensus6ParamsEb
30243
_ZN17ChainstateManager15CheckBlockIndexEv
32802
_ZNK17ChainstateManager21ShouldCheckBlockIndexEv
32802
_ZNK17ChainstateManager20GetSnapshotBaseBlockEv
34737
_ZN10Chainstate12SnapshotBaseEv
34743
_Z15GetBlockSubsidyiRKN9Consensus6ParamsE
36593
_Z10CheckBlockRK6CBlockR20BlockValidationStateRKN9Consensus6ParamsEbb
47214
_Z11UpdateCoinsRK12CTransactionR15CCoinsViewCacheR7CTxUndoi
53269
_ZNK17ChainstateManager22IsInitialBlockDownloadEv
69296
_ZN12CScriptCheckclB5cxx11Ev
120818
_Z17CheckInputScriptsRK12CTransactionR17TxValidationStateRK15CCoinsViewCachejbbR26PrecomputedTransactionDataR15ValidationCachePSt6vectorI12CScriptCheckSaISC_EE
141380
_ZNK27WarningBitsConditionChecker6PeriodERKN9Consensus6ParamsE
186528
_ZNK27WarningBitsConditionChecker7EndTimeERKN9Consensus6ParamsE
186528
_ZNK27WarningBitsConditionChecker9BeginTimeERKN9Consensus6ParamsE
186528
_ZNK27WarningBitsConditionChecker9ThresholdERKN9Consensus6ParamsE
186528
_ZNK17ChainstateManager16ActiveChainstateEv
1964360
_ZN17ChainstateManager6GetAllEv
4824424
_ZZN17ChainstateManager15CheckBlockIndexEvENKUlvE_clEv
7501617
Generated by:
LCOV version 2.0-1