LCOV - code coverage report
Current view:
top level
-
src
- validation.cpp
(
source
/ functions)
Hit
Total
Coverage
Test:
fuzz_coverage.info
Lines:
1531
2982
51.3 %
Date:
2023-09-26 12:08:55
Functions:
120
186
64.5 %
Function Name
Hit count
_Z10CheckBlockRK6CBlockR20BlockValidationStateRKN9Consensus6ParamsEbb
10719
_Z10FatalErrorRN6kernel13NotificationsER20BlockValidationStateRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK13bilingual_str
0
_Z11UpdateCoinsRK12CTransactionR15CCoinsViewCacheR7CTxUndoi
6074
_Z13ApplyTxInUndoO4CoinR15CCoinsViewCacheRK9COutPoint
0
_Z13IsBIP30RepeatRK11CBlockIndex
5259
_Z15GetBlockSubsidyiRKN9Consensus6ParamsE
10318
_Z17CheckFinalTxAtTipRK11CBlockIndexRK12CTransaction
15783
_Z17CheckInputScriptsRK12CTransactionR17TxValidationStateRK15CCoinsViewCachejbbR26PrecomputedTransactionDataPSt6vectorI12CScriptCheckSaISA_EE
6904
_Z17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEb
7672
_Z17TestBlockValidityR20BlockValidationStateRK12CChainParamsR10ChainstateRK6CBlockP11CBlockIndexRKSt8functionIFNSt6chrono10time_pointI9NodeClockNSC_8durationIlSt5ratioILl1ELl1000000000EEEEEEvEEbb
5059
_Z18AcceptToMemoryPoolR10ChainstateRKSt10shared_ptrIK12CTransactionElbb
7672
_Z18ExpectedAssumeutxoiRK12CChainParams
0
_Z18IsBIP30UnspendableRK11CBlockIndex
0
_Z19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsE
0
_Z20CalculateHeadersWorkRKSt6vectorI12CBlockHeaderSaIS0_EE
0
_Z21PruneBlockFilesManualR10Chainstatei
0
_Z23CheckSequenceLocksAtTipP11CBlockIndexRK10LockPoints
6557
_Z24CalculateLockPointsAtTipP11CBlockIndexRK10CCoinsViewRK12CTransaction
6557
_Z24InitScriptExecutionCachem
1
_Z25GuessVerificationProgressRK11ChainTxDataPK11CBlockIndex
201
_Z28StopScriptCheckWorkerThreadsv
1
_Z29StartScriptCheckWorkerThreadsi
1
_ZL12UpdateTipLogRK15CCoinsViewCachePK11CBlockIndexRK12CChainParamsRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_SF_
201
_ZL13AppendWarningR13bilingual_strRKS_
0
_ZL15NotifyHeaderTipR17ChainstateManager
200
_ZL16CheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRKN9Consensus6ParamsEb
10519
_ZL16LimitMempoolSizeR10CTxMemPoolR15CCoinsViewCache
3338
_ZL19FlushSnapshotToDiskR15CCoinsViewCacheb
0
_ZL19GetBlockScriptFlagsRK11CBlockIndexRK17ChainstateManager
7814
_ZL20ContextualCheckBlockRK6CBlockR20BlockValidationStateRK17ChainstateManagerPK11CBlockIndex
5259
_ZL21DeleteCoinsDBFromDiskN2fs4pathEb
0
_ZL23GetSynchronizationStateb
401
_ZL25IsCurrentForFeeEstimationR10Chainstate
858
_ZL26ContextualCheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRN4node12BlockManagerERK17ChainstateManagerPK11CBlockIndexNSt6chrono10time_pointI9NodeClockNSD_8durationIlSt5ratioILl1ELl1000000000EEEEEE
5259
_ZL26SnapshotUTXOHashBreakpointRKN4util15SignalInterruptE
0
_ZL29LimitValidationInterfaceQueuev
201
_ZL30CheckInputsFromMempoolAndCacheRK12CTransactionR17TxValidationStateRK15CCoinsViewCacheRK10CTxMemPooljR26PrecomputedTransactionDataRS4_
2555
_ZL7FlattenON6kernel21ChainstateManagerOptsE
1
_ZN10Chainstate10ConnectTipER20BlockValidationStateP11CBlockIndexRKSt10shared_ptrIK6CBlockER12ConnectTraceR29DisconnectedBlockTransactions
201
_ZN10Chainstate11InitCoinsDBEmbbN2fs4pathE
1
_ZN10Chainstate12ConnectBlockERK6CBlockR20BlockValidationStateP11CBlockIndexR15CCoinsViewCacheb
5260
_ZN10Chainstate12LoadChainTipEv
0
_ZN10Chainstate12ReplayBlocksEv
1
_ZN10Chainstate12SnapshotBaseEv
0
_ZN10Chainstate13DisconnectTipER20BlockValidationStateP29DisconnectedBlockTransactions
0
_ZN10Chainstate13PreciousBlockER20BlockValidationStateP11CBlockIndex
0
_ZN10Chainstate13PruneAndFlushEv
0
_ZN10Chainstate14InitCoinsCacheEm
1
_ZN10Chainstate15DisconnectBlockERK6CBlockPK11CBlockIndexR15CCoinsViewCache
0
_ZN10Chainstate15InvalidateBlockER20BlockValidationStateP11CBlockIndex
0
_ZN10Chainstate16FlushStateToDiskER20BlockValidationState14FlushStateModei
15947
_ZN10Chainstate16LoadGenesisBlockEv
1
_ZN10Chainstate16RollforwardBlockEPK11CBlockIndexR15CCoinsViewCache
0
_ZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockE
201
_ZN10Chainstate17FindMostWorkChainEv
201
_ZN10Chainstate17InvalidBlockFoundEP11CBlockIndexRK20BlockValidationState
0
_ZN10Chainstate17InvalidChainFoundEP11CBlockIndex
0
_ZN10Chainstate17ResizeCoinsCachesEmm
1
_ZN10Chainstate21ActivateBestChainStepER20BlockValidationStateP11CBlockIndexRKSt10shared_ptrIK6CBlockERbR12ConnectTrace
201
_ZN10Chainstate21ForceFlushStateToDiskEv
0
_ZN10Chainstate22GetCoinsCacheSizeStateEmm
15947
_ZN10Chainstate22GetCoinsCacheSizeStateEv
15947
_ZN10Chainstate22ResetBlockFailureFlagsEP11CBlockIndex
0
_ZN10Chainstate23InvalidateCoinsDBOnDiskEv
0
_ZN10Chainstate25ClearBlockIndexCandidatesEv
0
_ZN10Chainstate25PruneBlockIndexCandidatesEv
201
_ZN10Chainstate25TryAddBlockIndexCandidateEP11CBlockIndex
201
_ZN10Chainstate26CheckForkWarningConditionsEv
201
_ZN10Chainstate26MaybeUpdateMempoolForReorgER29DisconnectedBlockTransactionsb
0
_ZN10Chainstate8ToStringB5cxx11Ev
3
_ZN10Chainstate9UpdateTipEPK11CBlockIndex
201
_ZN10ChainstateC2EP10CTxMemPoolRN4node12BlockManagerER17ChainstateManagerSt8optionalI7uint256E
1
_ZN10CoinsViews9InitCacheEv
1
_ZN10CoinsViewsC2E8DBParams16CoinsViewOptions
1
_ZN12CScriptCheckclEv
8910
_ZN12ConnectTrace14BlockConnectedEP11CBlockIndexSt10shared_ptrIK6CBlockE
201
_ZN12ConnectTrace18GetBlocksConnectedEv
201
_ZN12ConnectTraceC2Ev
201
_ZN12ConnectTraceD2Ev
201
_ZN12_GLOBAL__N_113MemPoolAccept12CheckFeeRateEmlR17TxValidationState
3879
_ZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
5191
_ZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEE
4
_ZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
5532
_ZN12_GLOBAL__N_113MemPoolAccept17ReplacementChecksERNS0_9WorkspaceE
132
_ZN12_GLOBAL__N_113MemPoolAccept18PolicyScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE
3534
_ZN12_GLOBAL__N_113MemPoolAccept20PackageMempoolChecksERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EElR22PackageValidationState
16
_ZN12_GLOBAL__N_113MemPoolAccept21ConsensusScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE
2555
_ZN12_GLOBAL__N_113MemPoolAccept23AcceptSingleTransactionERKSt10shared_ptrIK12CTransactionERNS0_8ATMPArgsE
12557
_ZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
3128
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs12SingleAcceptERK12CChainParamslbRSt6vectorI9COutPointSaIS6_EEb
7672
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs17PackageTestAcceptERK12CChainParamslRSt6vectorI9COutPointSaIS6_EE
2481
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs21SingleInPackageAcceptERKS1_
4885
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs23PackageChildWithParentsERK12CChainParamslRSt6vectorI9COutPointSaIS6_EE
5191
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgsC2ERK12CChainParamslbRSt6vectorI9COutPointSaIS6_EEbbbb
20229
_ZN12_GLOBAL__N_113MemPoolAccept8FinalizeERKNS0_8ATMPArgsERNS0_9WorkspaceE
2211
_ZN12_GLOBAL__N_113MemPoolAccept9PreChecksERNS0_8ATMPArgsERNS0_9WorkspaceE
15783
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceC2EOS1_
3775
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceC2ERKSt10shared_ptrIK12CTransactionE
16332
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceD2Ev
20107
_ZN12_GLOBAL__N_113MemPoolAcceptC2ER10CTxMemPoolR10Chainstate
15344
_ZN12_GLOBAL__N_113MemPoolAcceptD2Ev
15344
_ZN12_GLOBAL__N_120CalculatePrevHeightsERK11CBlockIndexRK10CCoinsViewRK12CTransaction
6557
_ZN17ChainstateManager11AcceptBlockERKSt10shared_ptrIK6CBlockER20BlockValidationStatePP11CBlockIndexbPK11FlatFilePosPbb
200
_ZN17ChainstateManager14LoadBlockIndexEv
1
_ZN17ChainstateManager15CheckBlockIndexEv
601
_ZN17ChainstateManager15ProcessNewBlockERKSt10shared_ptrIK6CBlockEbbPb
200
_ZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEb
0
_ZN17ChainstateManager16ResetChainstatesEv
0
_ZN17ChainstateManager17AcceptBlockHeaderERK12CBlockHeaderR20BlockValidationStatePP11CBlockIndexb
200
_ZN17ChainstateManager18ProcessTransactionERKSt10shared_ptrIK12CTransactionEb
0
_ZN17ChainstateManager20InitializeChainstateEP10CTxMemPool
1
_ZN17ChainstateManager20MaybeRebalanceCachesEv
1
_ZN17ChainstateManager20ReportHeadersPresyncERK13arith_uint256ll
0
_ZN17ChainstateManager21LoadExternalBlockFileEP8_IO_FILEP11FlatFilePosPSt8multimapI7uint256S2_St4lessIS5_ESaISt4pairIKS5_S2_EEE
0
_ZN17ChainstateManager22ProcessNewBlockHeadersERKSt6vectorI12CBlockHeaderSaIS1_EEbR20BlockValidationStatePPK11CBlockIndex
0
_ZN17ChainstateManager24ActivateExistingSnapshotEP10CTxMemPool7uint256
0
_ZN17ChainstateManager24DetectSnapshotChainstateEP10CTxMemPool
1
_ZN17ChainstateManager24ValidatedSnapshotCleanupEv
0
_ZN17ChainstateManager25ReceivedBlockTransactionsERK6CBlockP11CBlockIndexRK11FlatFilePos
201
_ZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataE
0
_ZN17ChainstateManager31MaybeCompleteSnapshotValidationEv
1
_ZN17ChainstateManager6GetAllEv
61706
_ZN17ChainstateManagerC2ERKN4util15SignalInterruptEN6kernel21ChainstateManagerOptsENS4_16BlockManagerOptsE
1
_ZN17ChainstateManagerD2Ev
1
_ZN20PerBlockConnectTraceC2EOS_
201
_ZN20PerBlockConnectTraceC2Ev
402
_ZN20PerBlockConnectTraceD2Ev
603
_ZN20StopHashingExceptionC2Ev
0
_ZN20StopHashingExceptionD0Ev
0
_ZN20StopHashingExceptionD2Ev
0
_ZN27WarningBitsConditionCheckerC2ERK17ChainstateManageri
0
_ZN9CVerifyDB8VerifyDBER10ChainstateRKN9Consensus6ParamsER10CCoinsViewii
0
_ZN9CVerifyDBC2ERN6kernel13NotificationsE
0
_ZN9CVerifyDBD2Ev
0
_ZNK10Chainstate15NeedsRedownloadEv
1
_ZNK10Chainstate21FindForkInGlobalIndexERK13CBlockLocator
0
_ZNK17ChainstateManager16ActiveChainstateEv
9872
_ZNK17ChainstateManager16IsSnapshotActiveEv
0
_ZNK17ChainstateManager17SnapshotBlockhashEv
0
_ZNK17ChainstateManager20GetSnapshotBaseBlockEv
0
_ZNK17ChainstateManager21GetSnapshotBaseHeightEv
0
_ZNK17ChainstateManager22IsInitialBlockDownloadEv
2061
_ZNK17ChainstateManager26GenerateCoinbaseCommitmentER6CBlockPK11CBlockIndex
5059
_ZNK17ChainstateManager32UpdateUncommittedBlockStructuresER6CBlockPK11CBlockIndex
5059
_ZNK20StopHashingException4whatEv
0
_ZNK27WarningBitsConditionChecker6PeriodERKN9Consensus6ParamsE
0
_ZNK27WarningBitsConditionChecker7EndTimeERKN9Consensus6ParamsE
0
_ZNK27WarningBitsConditionChecker9BeginTimeERKN9Consensus6ParamsE
0
_ZNK27WarningBitsConditionChecker9ConditionEPK11CBlockIndexRKN9Consensus6ParamsE
0
_ZNK27WarningBitsConditionChecker9ThresholdERKN9Consensus6ParamsE
0
_ZZ17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbENK3$_0clIS7_EEDaRKT_
27470
_ZZ17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbENK3$_1clEv
7672
_ZZ19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsEENK3$_0clIS0_EEDaRKT_
0
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENK3$_0clEv
201
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENK3$_1clEv
201
_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_
2505
_ZZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_1clI5CTxInEEDaRKT_
53098
_ZZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEEENK3$_0clIS5_EEDaRKT_
8
_ZZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEEENK3$_1clIS5_EEDaRKT_
8
_ZZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_0clEv
5532
_ZZN12_GLOBAL__N_113MemPoolAccept20PackageMempoolChecksERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EElR22PackageValidationStateENK3$_0clIS5_EEDaRKT_
32
_ZZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_0clIS5_EEDaRKT_
3775
_ZZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_1clIKNS0_9WorkspaceEEEDalRT_
1125
_ZZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_2clIKNS0_9WorkspaceEEEDalRT_
1125
_ZZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_3clINS0_9WorkspaceEEEDaRKT_
987
_ZZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEbENK3$_0clEv
0
_ZZN17ChainstateManager24ValidatedSnapshotCleanupEvENK3$_0clISt10unique_ptrI10ChainstateSt14default_deleteIS3_EEEESt8optionalIN2fs4pathEERT_
0
_ZZN17ChainstateManager24ValidatedSnapshotCleanupEvENK3$_1clEN2fs4pathES2_RKNSt10filesystem7__cxx1116filesystem_errorE
0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENK3$_0clEv
0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENK3$_1clEv
0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENK3$_2clEv
0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENK3$_3clEv
0
_ZZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataEENK3$_4clEv
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
2
__cxx_global_var_init.1
2
__cxx_global_var_init.14
2
__cxx_global_var_init.2
2
__cxx_global_var_init.32
2
__cxx_global_var_init.33
2
__cxx_global_var_init.4
2
__cxx_global_var_init.45
2
__cxx_global_var_init.6
2
Generated by:
LCOV version 1.14