LCOV - code coverage report
Current view:
top level
-
src
- validation.cpp
(
source
/ functions)
Hit
Total
Coverage
Test:
fuzz_coverage.info
Lines:
1542
3058
50.4 %
Date:
2023-11-12 01:39:15
Functions:
115
193
59.6 %
Branches:
1442
6002
24.0 %
Function Name
Hit count
_Z10FatalErrorRN6kernel13NotificationsER20BlockValidationStateRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK13bilingual_str
0
_Z13ApplyTxInUndoO4CoinR15CCoinsViewCacheRK9COutPoint
0
_Z18IsBIP30UnspendableRK11CBlockIndex
0
_Z19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsE
0
_Z20CalculateHeadersWorkRKSt6vectorI12CBlockHeaderSaIS0_EE
0
_Z21PruneBlockFilesManualR10Chainstatei
0
_ZL13AppendWarningR13bilingual_strRKS_
0
_ZL19FlushSnapshotToDiskR15CCoinsViewCacheb
0
_ZL21DeleteCoinsDBFromDiskN2fs4pathEb
0
_ZL22GetSnapshotCoinsDBPathR10Chainstate
0
_ZL26SnapshotUTXOHashBreakpointRKN4util15SignalInterruptE
0
_ZN10Chainstate12LoadChainTipEv
0
_ZN10Chainstate12SnapshotBaseEv
0
_ZN10Chainstate13DisconnectTipER20BlockValidationStateP29DisconnectedBlockTransactions
0
_ZN10Chainstate13PreciousBlockER20BlockValidationStateP11CBlockIndex
0
_ZN10Chainstate13PruneAndFlushEv
0
_ZN10Chainstate15DisconnectBlockERK6CBlockPK11CBlockIndexR15CCoinsViewCache
0
_ZN10Chainstate15InvalidateBlockER20BlockValidationStateP11CBlockIndex
0
_ZN10Chainstate16RollforwardBlockEPK11CBlockIndexR15CCoinsViewCache
0
_ZN10Chainstate17InvalidBlockFoundEP11CBlockIndexRK20BlockValidationState
0
_ZN10Chainstate17InvalidChainFoundEP11CBlockIndex
0
_ZN10Chainstate21ForceFlushStateToDiskEv
0
_ZN10Chainstate22ResetBlockFailureFlagsEP11CBlockIndex
0
_ZN10Chainstate23InvalidateCoinsDBOnDiskEv
0
_ZN10Chainstate25ClearBlockIndexCandidatesEv
0
_ZN10Chainstate26MaybeUpdateMempoolForReorgER29DisconnectedBlockTransactionsb
0
_ZN17ChainstateManager13GetPruneRangeERK10Chainstatei
0
_ZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEb
0
_ZN17ChainstateManager16ResetChainstatesEv
0
_ZN17ChainstateManager18ProcessTransactionERKSt10shared_ptrIK12CTransactionEb
0
_ZN17ChainstateManager20ReportHeadersPresyncERK13arith_uint256ll
0
_ZN17ChainstateManager21LoadExternalBlockFileER9CAutoFileP11FlatFilePosPSt8multimapI7uint256S2_St4lessIS5_ESaISt4pairIKS5_S2_EEE
0
_ZN17ChainstateManager22ProcessNewBlockHeadersERKSt6vectorI12CBlockHeaderSaIS1_EEbR20BlockValidationStatePPK11CBlockIndex
0
_ZN17ChainstateManager24ActivateExistingSnapshotE7uint256
0
_ZN17ChainstateManager24DeleteSnapshotChainstateEv
0
_ZN17ChainstateManager24GetChainstateForIndexingEv
0
_ZN17ChainstateManager24ValidatedSnapshotCleanupEv
0
_ZN17ChainstateManager27PopulateAndValidateSnapshotER10ChainstateR8AutoFileRKN4node16SnapshotMetadataE
0
_ZN20StopHashingExceptionC2Ev
0
_ZN20StopHashingExceptionD0Ev
0
_ZN20StopHashingExceptionD2Ev
0
_ZN27WarningBitsConditionCheckerC2ERK17ChainstateManageri
0
_ZN9CVerifyDB8VerifyDBER10ChainstateRKN9Consensus6ParamsER10CCoinsViewii
0
_ZN9CVerifyDBC2ERN6kernel13NotificationsE
0
_ZN9CVerifyDBD2Ev
0
_ZNK10Chainstate21FindForkInGlobalIndexERK13CBlockLocator
0
_ZNK17ChainstateManager16IsSnapshotActiveEv
0
_ZNK17ChainstateManager20GetSnapshotBaseBlockEv
0
_ZNK17ChainstateManager21GetSnapshotBaseHeightEv
0
_ZNK20StopHashingException4whatEv
0
_ZNK27WarningBitsConditionChecker6PeriodERKN9Consensus6ParamsE
0
_ZNK27WarningBitsConditionChecker7EndTimeERKN9Consensus6ParamsE
0
_ZNK27WarningBitsConditionChecker9BeginTimeERKN9Consensus6ParamsE
0
_ZNK27WarningBitsConditionChecker9ConditionEPK11CBlockIndexRKN9Consensus6ParamsE
0
_ZNK27WarningBitsConditionChecker9ThresholdERKN9Consensus6ParamsE
0
_ZZ19HasValidProofOfWorkRKSt6vectorI12CBlockHeaderSaIS0_EERKN9Consensus6ParamsEENK3$_0clIS0_EEDaRKT_
0
_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
_ZZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEbENK3$_0clEv
0
_ZZN17ChainstateManager16ActivateSnapshotER8AutoFileRKN4node16SnapshotMetadataEbENK3$_1clEPKc
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
_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
0
__cxx_global_var_init.1
0
__cxx_global_var_init.13
0
__cxx_global_var_init.3
0
__cxx_global_var_init.31
0
__cxx_global_var_init.32
0
__cxx_global_var_init.44
0
__cxx_global_var_init.5
0
_Z24InitScriptExecutionCachem
1
_Z28StopScriptCheckWorkerThreadsv
1
_Z29StartScriptCheckWorkerThreadsi
1
_ZL7FlattenON6kernel21ChainstateManagerOptsE
1
_ZN10Chainstate11InitCoinsDBEmbbN2fs4pathE
1
_ZN10Chainstate12ReplayBlocksEv
1
_ZN10Chainstate14InitCoinsCacheEm
1
_ZN10Chainstate16LoadGenesisBlockEv
1
_ZN10Chainstate17ResizeCoinsCachesEmm
1
_ZN10ChainstateC2EP10CTxMemPoolRN4node12BlockManagerER17ChainstateManagerSt8optionalI7uint256E
1
_ZN10CoinsViews9InitCacheEv
1
_ZN10CoinsViewsC2E8DBParams16CoinsViewOptions
1
_ZN17ChainstateManager14LoadBlockIndexEv
1
_ZN17ChainstateManager20InitializeChainstateEP10CTxMemPool
1
_ZN17ChainstateManager20MaybeRebalanceCachesEv
1
_ZN17ChainstateManager24DetectSnapshotChainstateEv
1
_ZN17ChainstateManager31MaybeCompleteSnapshotValidationEv
1
_ZN17ChainstateManagerC2ERKN4util15SignalInterruptEN6kernel21ChainstateManagerOptsENS4_16BlockManagerOptsE
1
_ZN17ChainstateManagerD2Ev
1
_ZNK10Chainstate15NeedsRedownloadEv
1
_ZNK17ChainstateManager17SnapshotBlockhashEv
1
_ZN10Chainstate8ToStringB5cxx11Ev
3
_ZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEE
63
_ZN12_GLOBAL__N_113MemPoolAccept20PackageMempoolChecksERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EElR22PackageValidationState
103
_ZL25IsCurrentForFeeEstimationR10Chainstate
134
_Z17TestBlockValidityR20BlockValidationStateRK12CChainParamsR10ChainstateRK6CBlockP11CBlockIndexRKSt8functionIFNSt6chrono10time_pointI9NodeClockNSC_8durationIlSt5ratioILl1ELl1000000000EEEEEEvEEbb
200
_ZL15NotifyHeaderTipR17ChainstateManager
200
_ZN17ChainstateManager11AcceptBlockERKSt10shared_ptrIK6CBlockER20BlockValidationStatePP11CBlockIndexbPK11FlatFilePosPbb
200
_ZN17ChainstateManager15ProcessNewBlockERKSt10shared_ptrIK6CBlockEbbPb
200
_ZN17ChainstateManager17AcceptBlockHeaderERK12CBlockHeaderR20BlockValidationStatePP11CBlockIndexb
200
_ZNK17ChainstateManager26GenerateCoinbaseCommitmentER6CBlockPK11CBlockIndex
200
_ZNK17ChainstateManager32UpdateUncommittedBlockStructuresER6CBlockPK11CBlockIndex
200
_ZZN17ChainstateManager15ProcessNewBlockERKSt10shared_ptrIK6CBlockEbbPbENK3$_0clEv
200
_Z25GuessVerificationProgressRK11ChainTxDataPK11CBlockIndex
201
_ZL12UpdateTipLogRK15CCoinsViewCachePK11CBlockIndexRK12CChainParamsRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_SF_
201
_ZL29LimitValidationInterfaceQueuev
201
_ZN10Chainstate10ConnectTipER20BlockValidationStateP11CBlockIndexRKSt10shared_ptrIK6CBlockER12ConnectTraceR29DisconnectedBlockTransactions
201
_ZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockE
201
_ZN10Chainstate17FindMostWorkChainEv
201
_ZN10Chainstate21ActivateBestChainStepER20BlockValidationStateP11CBlockIndexRKSt10shared_ptrIK6CBlockERbR12ConnectTrace
201
_ZN10Chainstate25PruneBlockIndexCandidatesEv
201
_ZN10Chainstate25TryAddBlockIndexCandidateEP11CBlockIndex
201
_ZN10Chainstate26CheckForkWarningConditionsEv
201
_ZN10Chainstate9UpdateTipEPK11CBlockIndex
201
_ZN12ConnectTrace14BlockConnectedEP11CBlockIndexSt10shared_ptrIK6CBlockE
201
_ZN12ConnectTrace18GetBlocksConnectedEv
201
_ZN12ConnectTraceC2Ev
201
_ZN12ConnectTraceD2Ev
201
_ZN17ChainstateManager25ReceivedBlockTransactionsERK6CBlockP11CBlockIndexRK11FlatFilePos
201
_ZN20PerBlockConnectTraceC2EOS_
201
_ZNK10Chainstate7GetRoleEv
201
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENK3$_0clEv
201
_ZZN10Chainstate17ActivateBestChainER20BlockValidationStateSt10shared_ptrIK6CBlockEENK3$_1clEv
201
_ZZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEEENK3$_0clIS5_EEDaRKT_
219
_ZZN12_GLOBAL__N_113MemPoolAccept13SubmitPackageERKNS0_8ATMPArgsERSt6vectorINS0_9WorkspaceESaIS5_EER22PackageValidationStateRSt3mapI7uint25619MempoolAcceptResultSt4lessISC_ESaISt4pairIKSC_SD_EEEENK3$_1clIS5_EEDaRKT_
219
_ZZN12_GLOBAL__N_113MemPoolAccept20PackageMempoolChecksERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EElR22PackageValidationStateENK3$_0clIS5_EEDaRKT_
357
_Z11UpdateCoinsRK12CTransactionR15CCoinsViewCacheR7CTxUndoi
400
_Z13IsBIP30RepeatRK11CBlockIndex
400
_ZL20ContextualCheckBlockRK6CBlockR20BlockValidationStateRK17ChainstateManagerPK11CBlockIndex
400
_ZL26ContextualCheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRN4node12BlockManagerERK17ChainstateManagerPK11CBlockIndexNSt6chrono10time_pointI9NodeClockNSD_8durationIlSt5ratioILl1ELl1000000000EEEEEE
400
_ZL23GetSynchronizationStateb
401
_ZN10Chainstate12ConnectBlockERK6CBlockR20BlockValidationStateP11CBlockIndexR15CCoinsViewCacheb
401
_ZN20PerBlockConnectTraceC2Ev
402
_Z15GetBlockSubsidyiRKN9Consensus6ParamsE
600
_ZN17ChainstateManager15CheckBlockIndexEv
601
_ZN20PerBlockConnectTraceD2Ev
603
_ZL16CheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRKN9Consensus6ParamsEb
801
_Z10CheckBlockRK6CBlockR20BlockValidationStateRKN9Consensus6ParamsEbb
1001
_ZZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_3clINS0_9WorkspaceEEEDaRKT_
1247
_ZNK17ChainstateManager22IsInitialBlockDownloadEv
1538
_ZZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_1clIKNS0_9WorkspaceEEEDalRT_
2024
_ZZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_2clIKNS0_9WorkspaceEEEDalRT_
2024
_ZN12_GLOBAL__N_113MemPoolAccept17ReplacementChecksERNS0_9WorkspaceE
2939
_ZNK17ChainstateManager16ActiveChainstateEv
5957
_ZN12_GLOBAL__N_113MemPoolAccept8FinalizeERKNS0_8ATMPArgsERNS0_9WorkspaceE
7076
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs17PackageTestAcceptERK12CChainParamslRSt6vectorI9COutPointSaIS6_EE
7197
_ZL30CheckInputsFromMempoolAndCacheRK12CTransactionR17TxValidationStateRK15CCoinsViewCacheRK10CTxMemPooljR26PrecomputedTransactionDataRS4_
8142
_ZN12_GLOBAL__N_113MemPoolAccept21ConsensusScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE
8142
_ZL19GetBlockScriptFlagsRK11CBlockIndexRK17ChainstateManager
8542
_ZL16LimitMempoolSizeR10CTxMemPoolR15CCoinsViewCache
8600
_ZN12_GLOBAL__N_113MemPoolAccept18PolicyScriptChecksERKNS0_8ATMPArgsERNS0_9WorkspaceE
9170
_ZZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_0clIS5_EEDaRKT_
9234
_ZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
9377
_ZN12_GLOBAL__N_113MemPoolAccept12CheckFeeRateEmlR17TxValidationState
10067
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceC2EOS1_
11819
_ZZN12_GLOBAL__N_113MemPoolAccept26AcceptMultipleTransactionsERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_0clIS5_EEDaRKT_
11819
_ZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
12755
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs23PackageChildWithParentsERK12CChainParamslRSt6vectorI9COutPointSaIS6_EE
12755
_ZN12CScriptCheckclEv
15650
_Z17CheckInputScriptsRK12CTransactionR17TxValidationStateRK15CCoinsViewCachejbbR26PrecomputedTransactionDataPSt6vectorI12CScriptCheckSaISA_EE
17312
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs21SingleInPackageAcceptERKS1_
17405
_ZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsE
19585
_ZN12_GLOBAL__N_113MemPoolAccept21CleanupTemporaryCoinsEv
19585
_ZZN12_GLOBAL__N_113MemPoolAccept16AcceptSubPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_0clEv
19585
_Z17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEb
19952
_Z18AcceptToMemoryPoolR10ChainstateRKSt10shared_ptrIK12CTransactionElbb
19952
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgs12SingleAcceptERK12CChainParamslbRSt6vectorI9COutPointSaIS6_EEb
19952
_ZZ17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbENK3$_1clEv
19952
_Z23CheckSequenceLocksAtTipP11CBlockIndexRK10LockPoints
21036
_Z24CalculateLockPointsAtTipP11CBlockIndexRK10CCoinsViewRK12CTransaction
21036
_ZN12_GLOBAL__N_120CalculatePrevHeightsERK11CBlockIndexRK10CCoinsViewRK12CTransaction
21036
_Z17CheckFinalTxAtTipRK11CBlockIndexRK12CTransaction
34093
_ZZN12_GLOBAL__N_113MemPoolAccept13AcceptPackageERKSt6vectorISt10shared_ptrIK12CTransactionESaIS5_EERNS0_8ATMPArgsEENK3$_1clI5CTxInEEDaRKT_
34302
_ZZ17ProcessNewPackageR10ChainstateR10CTxMemPoolRKSt6vectorISt10shared_ptrIK12CTransactionESaIS7_EEbENK3$_0clIS7_EEDaRKT_
36461
_ZN12_GLOBAL__N_113MemPoolAccept23AcceptSingleTransactionERKSt10shared_ptrIK12CTransactionERNS0_8ATMPArgsE
37357
_ZN12_GLOBAL__N_113MemPoolAcceptC2ER10CTxMemPoolR10Chainstate
39904
_ZN12_GLOBAL__N_113MemPoolAcceptD2Ev
39904
_ZN10Chainstate16FlushStateToDiskER20BlockValidationState14FlushStateModei
40507
_ZN10Chainstate22GetCoinsCacheSizeStateEmm
40507
_ZN10Chainstate22GetCoinsCacheSizeStateEv
40507
_ZN12_GLOBAL__N_113MemPoolAccept9PreChecksERNS0_8ATMPArgsERNS0_9WorkspaceE
47483
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceC2ERKSt10shared_ptrIK12CTransactionE
49176
_ZN12_GLOBAL__N_113MemPoolAccept8ATMPArgsC2ERK12CChainParamslbRSt6vectorI9COutPointSaIS6_EEbbbb
57309
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceD2Ev
60995
_ZN17ChainstateManager6GetAllEv
61907
Generated by:
LCOV version 1.14