LCOV - code coverage report
Current view:
top level
-
src
- validation.cpp
(
source
/ functions)
Hit
Total
Coverage
Test:
fuzz_coverage.info
Lines:
1892
3045
62.1 %
Date:
2023-10-05 15:40:34
Functions:
143
193
74.1 %
Branches:
2064
6020
34.3 %
Function Name
Hit count
_Z10CheckBlockRK6CBlockR20BlockValidationStateRKN9Consensus6ParamsEbb
272953
_Z10FatalErrorRN6kernel13NotificationsER20BlockValidationStateRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK13bilingual_str
0
_Z11UpdateCoinsRK12CTransactionR15CCoinsViewCacheR7CTxUndoi
107933
_Z13ApplyTxInUndoO4CoinR15CCoinsViewCacheRK9COutPoint
0
_Z13IsBIP30RepeatRK11CBlockIndex
98253
_Z15GetBlockSubsidyiRKN9Consensus6ParamsE
188534
_Z17CheckFinalTxAtTipRK11CBlockIndexRK12CTransaction
226977
_Z17CheckInputScriptsRK12CTransactionR17TxValidationStateRK15CCoinsViewCachejbbR26PrecomputedTransactionDataPSt6vectorI12CScriptCheckSaISA_EE
114311
_Z17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEb
58396
_Z17TestBlockValidityR20BlockValidationStateRK12CChainParamsR10ChainstateRK6CBlockP11CBlockIndexRKSt8functionIFNSt6chrono10time_pointI9NodeClockNSC_8durationIlSt5ratioILl1ELl1000000000EEEEEEvEEbb
53862
_Z18AcceptToMemoryPoolR10ChainstateRKSt10shared_ptrIK12CTransactionElbb
236226
_Z18IsBIP30UnspendableRK11CBlockIndex
0
_Z19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsE
45723
_Z20CalculateHeadersWorkRKSt6vectorI12CBlockHeaderSaIS0_EE
21623
_Z21PruneBlockFilesManualR10Chainstatei
0
_Z23CheckSequenceLocksAtTipP11CBlockIndexRK10LockPoints
103128
_Z24CalculateLockPointsAtTipP11CBlockIndexRK10CCoinsViewRK12CTransaction
103128
_Z24InitScriptExecutionCachem
889
_Z25GuessVerificationProgressRK11ChainTxDataPK11CBlockIndex
41384
_Z28StopScriptCheckWorkerThreadsv
836
_Z29StartScriptCheckWorkerThreadsi
836
_ZL12UpdateTipLogRK15CCoinsViewCachePK11CBlockIndexRK12CChainParamsRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_SF_
41383
_ZL13AppendWarningR13bilingual_strRKS_
0
_ZL15NotifyHeaderTipR17ChainstateManager
133184
_ZL16CheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRKN9Consensus6ParamsEb
305191
_ZL16LimitMempoolSizeR10CTxMemPoolR15CCoinsViewCache
21124
_ZL19FlushSnapshotToDiskR15CCoinsViewCacheb
0
_ZL19GetBlockScriptFlagsRK11CBlockIndexRK17ChainstateManager
139884
_ZL20ContextualCheckBlockRK6CBlockR20BlockValidationStateRK17ChainstateManagerPK11CBlockIndex
98253
_ZL21DeleteCoinsDBFromDiskN2fs4pathEb
0
_ZL22GetSnapshotCoinsDBPathR10Chainstate
0
_ZL23GetSynchronizationStateb
122995
_ZL25IsCurrentForFeeEstimationR10Chainstate
17869
_ZL26ContextualCheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRN4node12BlockManagerERK17ChainstateManagerPK11CBlockIndexNSt6chrono10time_pointI9NodeClockNSD_8durationIlSt5ratioILl1ELl1000000000EEEEEE
155740
_ZL26SnapshotUTXOHashBreakpointRKN4util15SignalInterruptE
0
_ZL29LimitValidationInterfaceQueuev
75967
_ZL30CheckInputsFromMempoolAndCacheRK12CTransactionR17TxValidationStateRK15CCoinsViewCacheRK10CTxMemPooljR26PrecomputedTransactionDataRS4_
41709
_ZL7FlattenON6kernel21ChainstateManagerOptsE
836
_ZN10Chainstate10ConnectTipER20BlockValidationStateP11CBlockIndexRKSt10shared_ptrIK6CBlockER12ConnectTraceR29DisconnectedBlockTransactions
45243
_ZN10Chainstate11InitCoinsDBEmbbN2fs4pathE
1146
_ZN10Chainstate12ConnectBlockERK6CBlockR20BlockValidationStateP11CBlockIndexR15CCoinsViewCacheb
99089
_ZN10Chainstate12LoadChainTipEv
0
_ZN10Chainstate12ReplayBlocksEv
836
_ZN10Chainstate12SnapshotBaseEv
0
_ZN10Chainstate13DisconnectTipER20BlockValidationStateP29DisconnectedBlockTransactions
0
_ZN10Chainstate13PreciousBlockER20BlockValidationStateP11CBlockIndex
0
_ZN10Chainstate13PruneAndFlushEv
0
_ZN10Chainstate14InitCoinsCacheEm
1146
_ZN10Chainstate15DisconnectBlockERK6CBlockPK11CBlockIndexR15CCoinsViewCache
0
_ZN10Chainstate15InvalidateBlockER20BlockValidationStateP11CBlockIndex
0
_ZN10Chainstate16FlushStateToDiskER20BlockValidationState14FlushStateModei
472977
_ZN10Chainstate16LoadGenesisBlockEv
836
_ZN10Chainstate16RollforwardBlockEPK11CBlockIndexR15CCoinsViewCache
0
_ZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockE
72107
_ZN10Chainstate17FindMostWorkChainEv
75967
_ZN10Chainstate17InvalidBlockFoundEP11CBlockIndexRK20BlockValidationState
3860
_ZN10Chainstate17InvalidChainFoundEP11CBlockIndex
7720
_ZN10Chainstate17ResizeCoinsCachesEmm
1456
_ZN10Chainstate21ActivateBestChainStepER20BlockValidationStateP11CBlockIndexRKSt10shared_ptrIK6CBlockERbR12ConnectTrace
45243
_ZN10Chainstate21ForceFlushStateToDiskEv
49726
_ZN10Chainstate22GetCoinsCacheSizeStateEmm
472977
_ZN10Chainstate22GetCoinsCacheSizeStateEv
472977
_ZN10Chainstate22ResetBlockFailureFlagsEP11CBlockIndex
1
_ZN10Chainstate23InvalidateCoinsDBOnDiskEv
0
_ZN10Chainstate25ClearBlockIndexCandidatesEv
0
_ZN10Chainstate25PruneBlockIndexCandidatesEv
41383
_ZN10Chainstate25TryAddBlockIndexCandidateEP11CBlockIndex
45243
_ZN10Chainstate26CheckForkWarningConditionsEv
52963
_ZN10Chainstate26MaybeUpdateMempoolForReorgER29DisconnectedBlockTransactionsb
0
_ZN10Chainstate8ToStringB5cxx11Ev
3748
_ZN10Chainstate9UpdateTipEPK11CBlockIndex
41383
_ZN10ChainstateC2EP10CTxMemPoolRN4node12BlockManagerER17ChainstateManagerSt8optionalI7uint256E
1146
_ZN10CoinsViews9InitCacheEv
1146
_ZN10CoinsViewsC2E8DBParams16CoinsViewOptions
1146
_ZN12CScriptCheckclEv
179789
_ZN12ConnectTrace14BlockConnectedEP11CBlockIndexSt10shared_ptrIK6CBlockE
41383
_ZN12ConnectTrace18GetBlocksConnectedEv
45243
_ZN12ConnectTraceC2Ev
75967
_ZN12ConnectTraceD2Ev
75967
_ZN12_GLOBAL__N_113MemPoolAccept12CheckFeeRateEmlR17TxValidationState
49787
_ZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
3759
_ZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEE
87
_ZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
8284
_ZN12_GLOBAL__N_113MemPoolAccept17ReplacementChecksERNS0_9WorkspaceE
15868
_ZN12_GLOBAL__N_113MemPoolAccept18PolicyScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE
59027
_ZN12_GLOBAL__N_113MemPoolAccept20PackageMempoolChecksERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EElR22PackageValidationState
113
_ZN12_GLOBAL__N_113MemPoolAccept21ConsensusScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE
41709
_ZN12_GLOBAL__N_113MemPoolAccept23AcceptSingleTransactionERKSt10shared_ptrIK12CTransactionERNS0_8ATMPArgsE
243758
_ZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
55389
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs12SingleAcceptERK12CChainParamslbRSt6vectorI9COutPointSaIS6_EEb
236226
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs17PackageTestAcceptERK12CChainParamslRSt6vectorI9COutPointSaIS6_EE
54637
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs21SingleInPackageAcceptERKS1_
7532
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs23PackageChildWithParentsERK12CChainParamslRSt6vectorI9COutPointSaIS6_EE
3759
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgsC2ERK12CChainParamslbRSt6vectorI9COutPointSaIS6_EEbbbb
302154
_ZN12_GLOBAL__N_113MemPoolAccept8FinalizeERKNS0_8ATMPArgsERNS0_9WorkspaceE
41568
_ZN12_GLOBAL__N_113MemPoolAccept9PreChecksERNS0_8ATMPArgsERNS0_9WorkspaceE
299632
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceC2EOS1_
56632
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceC2ERKSt10shared_ptrIK12CTransactionE
300390
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceD2Ev
357022
_ZN12_GLOBAL__N_113MemPoolAcceptC2ER10CTxMemPoolR10Chainstate
294622
_ZN12_GLOBAL__N_113MemPoolAcceptD2Ev
294622
_ZN12_GLOBAL__N_120CalculatePrevHeightsERK11CBlockIndexRK10CCoinsViewRK12CTransaction
103128
_ZN17ChainstateManager11AcceptBlockERKSt10shared_ptrIK6CBlockER20BlockValidationStatePP11CBlockIndexbPK11FlatFilePosPbb
81710
_ZN17ChainstateManager13GetPruneRangeERK10Chainstatei
0
_ZN17ChainstateManager14LoadBlockIndexEv
836
_ZN17ChainstateManager15CheckBlockIndexEv
227744
_ZN17ChainstateManager15ProcessNewBlockERKSt10shared_ptrIK6CBlockEbbPb
66439
_ZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEb
310
_ZN17ChainstateManager16ResetChainstatesEv
0
_ZN17ChainstateManager17AcceptBlockHeaderERK12CBlockHeaderR20BlockValidationStatePP11CBlockIndexb
141954
_ZN17ChainstateManager18ProcessTransactionERKSt10shared_ptrIK12CTransactionEb
39983
_ZN17ChainstateManager20InitializeChainstateEP10CTxMemPool
836
_ZN17ChainstateManager20MaybeRebalanceCachesEv
1146
_ZN17ChainstateManager20ReportHeadersPresyncERK13arith_uint256ll
0
_ZN17ChainstateManager21LoadExternalBlockFileER9CAutoFileP11FlatFilePosPSt8multimapI7uint256S2_St4lessIS5_ESaISt4pairIKS5_S2_EEE
349
_ZN17ChainstateManager22ProcessNewBlockHeadersERKSt6vectorI12CBlockHeaderSaIS1_EEbR20BlockValidationStatePPK11CBlockIndex
59608
_ZN17ChainstateManager24ActivateExistingSnapshotE7uint256
0
_ZN17ChainstateManager24DeleteSnapshotChainstateEv
0
_ZN17ChainstateManager24DetectSnapshotChainstateEP10CTxMemPool
836
_ZN17ChainstateManager24GetChainstateForIndexingEv
0
_ZN17ChainstateManager24ValidatedSnapshotCleanupEv
0
_ZN17ChainstateManager25ReceivedBlockTransactionsERK6CBlockP11CBlockIndexRK11FlatFilePos
45243
_ZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataE
310
_ZN17ChainstateManager31MaybeCompleteSnapshotValidationEv
836
_ZN17ChainstateManager6GetAllEv
25885616
_ZN17ChainstateManagerC2ERKN4util15SignalInterruptEN6kernel21ChainstateManagerOptsENS4_16BlockManagerOptsE
836
_ZN17ChainstateManagerD2Ev
836
_ZN20PerBlockConnectTraceC2EOS_
41383
_ZN20PerBlockConnectTraceC2Ev
117350
_ZN20PerBlockConnectTraceD2Ev
158733
_ZN20StopHashingExceptionC2Ev
0
_ZN20StopHashingExceptionD0Ev
0
_ZN20StopHashingExceptionD2Ev
0
_ZN27WarningBitsConditionCheckerC2ERK17ChainstateManageri
0
_ZN9CVerifyDB8VerifyDBER10ChainstateRKN9Consensus6ParamsER10CCoinsViewii
1
_ZN9CVerifyDBC2ERN6kernel13NotificationsE
1
_ZN9CVerifyDBD2Ev
1
_ZNK10Chainstate15NeedsRedownloadEv
836
_ZNK10Chainstate21FindForkInGlobalIndexERK13CBlockLocator
30170
_ZNK10Chainstate7GetRoleEv
91419
_ZNK17ChainstateManager16ActiveChainstateEv
8848628
_ZNK17ChainstateManager16IsSnapshotActiveEv
0
_ZNK17ChainstateManager17SnapshotBlockhashEv
1562
_ZNK17ChainstateManager20GetSnapshotBaseBlockEv
0
_ZNK17ChainstateManager21GetSnapshotBaseHeightEv
0
_ZNK17ChainstateManager22IsInitialBlockDownloadEv
3058539
_ZNK17ChainstateManager26GenerateCoinbaseCommitmentER6CBlockPK11CBlockIndex
102843
_ZNK17ChainstateManager32UpdateUncommittedBlockStructuresER6CBlockPK11CBlockIndex
102843
_ZNK20StopHashingException4whatEv
0
_ZNK27WarningBitsConditionChecker6PeriodERKN9Consensus6ParamsE
0
_ZNK27WarningBitsConditionChecker7EndTimeERKN9Consensus6ParamsE
0
_ZNK27WarningBitsConditionChecker9BeginTimeERKN9Consensus6ParamsE
0
_ZNK27WarningBitsConditionChecker9ConditionEPK11CBlockIndexRKN9Consensus6ParamsE
0
_ZNK27WarningBitsConditionChecker9ThresholdERKN9Consensus6ParamsE
0
_ZZ17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbENK3$_0clIS7_EEDaRKT_
67536
_ZZ17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbENK3$_1clEv
58396
_ZZ19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsEENK3$_0clIS0_EEDaRKT_
47004
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENK3$_0clEv
72107
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENK3$_1clEv
45243
_ZZN10Chainstate26MaybeUpdateMempoolForReorgER29DisconnectedBlockTransactionsbENK3$_0clEN5boost11multi_index6detail21hashed_index_iteratorINS5_17hashed_index_nodeINS7_INS5_18ordered_index_nodeINS5_19null_augment_policyENS8_IS9_NS8_IS9_NS5_15index_node_baseI15CTxMemPoolEntrySaISB_EEEEEEEEEEEEENS5_12bucket_arrayISC_EENS5_17hashed_unique_tagENS5_32hashed_index_global_iterator_tagEEE
0
_ZZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_0clIS5_EEDaRKT_
4221
_ZZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_1clI5CTxInEEDaRKT_
45699
_ZZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEEENK3$_0clIS5_EEDaRKT_
221
_ZZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEEENK3$_1clIS5_EEDaRKT_
221
_ZZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_0clEv
8284
_ZZN12_GLOBAL__N_113MemPoolAccept20PackageMempoolChecksERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EElR22PackageValidationStateENK3$_0clIS5_EEDaRKT_
279
_ZZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_0clIS5_EEDaRKT_
56632
_ZZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_1clIKNS0_9WorkspaceEEEDalRT_
12582
_ZZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_2clIKNS0_9WorkspaceEEEDalRT_
12582
_ZZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_3clINS0_9WorkspaceEEEDaRKT_
12202
_ZZN17ChainstateManager15ProcessNewBlockERKSt10shared_ptrIK6CBlockEbbPbENK3$_0clEv
44407
_ZZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEbENK3$_0clEv
310
_ZZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEbENK3$_1clEPKc
310
_ZZN17ChainstateManager24ValidatedSnapshotCleanupEvENK3$_0clISt10unique_ptrI10ChainstateSt14default_deleteIS3_EEEESt8optionalIN2fs4pathEERT_
0
_ZZN17ChainstateManager24ValidatedSnapshotCleanupEvENK3$_1clEN2fs4pathES2_RKNSt10filesystem7__cxx1116filesystem_errorE
0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENK3$_0clEv
310
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENK3$_1clEv
310
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENK3$_2clEv
0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENK3$_3clEv
0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENK3$_4clEv
0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENK3$_5clEv
0
_ZZN17ChainstateManager31MaybeCompleteSnapshotValidationEvENK3$_0clEv
0
_ZZN17ChainstateManager31MaybeCompleteSnapshotValidationEvENK3$_1clEv
0
_ZZZN10Chainstate26MaybeUpdateMempoolForReorgER29DisconnectedBlockTransactionsbENK3$_0clEN5boost11multi_index6detail21hashed_index_iteratorINS5_17hashed_index_nodeINS7_INS5_18ordered_index_nodeINS5_19null_augment_policyENS8_IS9_NS8_IS9_NS5_15index_node_baseI15CTxMemPoolEntrySaISB_EEEEEEEEEEEEENS5_12bucket_arrayISC_EENS5_17hashed_unique_tagENS5_32hashed_index_global_iterator_tagEEEENKUlRSB_E_clESO_
0
__cxx_global_var_init
173
__cxx_global_var_init.1
173
__cxx_global_var_init.14
173
__cxx_global_var_init.2
173
__cxx_global_var_init.32
173
__cxx_global_var_init.33
173
__cxx_global_var_init.4
173
__cxx_global_var_init.45
173
__cxx_global_var_init.6
173
Generated by:
LCOV version 1.14