LCOV - code coverage report
Current view:
top level
-
src
- validation.cpp
(
source
/ functions)
Hit
Total
Coverage
Test:
total_coverage.info
Lines:
2547
2856
89.2 %
Date:
2020-09-26 01:30:44
Functions:
206
210
98.1 %
Function Name
Hit count
_Z10CheckBlockRK6CBlockR20BlockValidationStateRKN9Consensus6ParamsEbb
201636
_Z11ChainActivev
3465754
_Z11DumpMempoolRK10CTxMemPool
492
_Z11LoadMempoolR10CTxMemPool
490
_Z11UpdateCoinsRK12CTransactionR15CCoinsViewCacheR7CTxUndoi
5277731
_Z11UpdateCoinsRK12CTransactionR15CCoinsViewCachei
5112895
_Z12CheckFinalTxRK12CTransactioni
1062192
_Z13ApplyTxInUndoO4CoinR15CCoinsViewCacheRK9COutPoint
19204
_Z13OpenBlockFileRK11FlatFilePosb
149205
_Z13PreciousBlockR20BlockValidationStateRK12CChainParamsP11CBlockIndex
9
_Z14GetSpendHeightRK15CCoinsViewCache
72379
_Z14GetTransactionPK11CBlockIndexPK10CTxMemPoolRK7uint256RKN9Consensus6ParamsERS5_
675
_Z15GetBlockSubsidyiRKN9Consensus6ParamsE
102821
_Z15InvalidateBlockR20BlockValidationStateRK12CChainParamsP11CBlockIndex
51
_Z16ChainstateActivev
5291925
_Z16GetBlockFileInfom
2
_Z16IsWitnessEnabledPK11CBlockIndexRKN9Consensus6ParamsE
339038
_Z16LoadGenesisBlockRK12CChainParams
597
_Z16LookupBlockIndexRK7uint256
493802
_Z16UndoReadFromDiskR10CBlockUndoPK11CBlockIndex
11285
_Z16UnloadBlockIndexP10CTxMemPool
597
_Z17ActivateBestChainR20BlockValidationStateRK12CChainParamsNSt3__110shared_ptrIK6CBlockEE
173
_Z17CheckInputScriptsRK12CTransactionR17TxValidationStateRK15CCoinsViewCachejbbR26PrecomputedTransactionDataPNSt3__16vectorI12CScriptCheckNS9_9allocatorISB_EEEE
355406
_Z17ReadBlockFromDiskR6CBlockPK11CBlockIndexRKN9Consensus6ParamsE
98353
_Z17ReadBlockFromDiskR6CBlockRK11FlatFilePosRKN9Consensus6ParamsE
98471
_Z17TestBlockValidityR20BlockValidationStateRK12CChainParamsRK6CBlockP11CBlockIndexbb
21027
_Z17ThreadScriptChecki
1750
_Z17UnlinkPrunedFilesRKNSt3__13setIiNS_4lessIiEENS_9allocatorIiEEEE
3
_Z18AcceptToMemoryPoolR10CTxMemPoolR17TxValidationStateRKNSt3__110shared_ptrIK12CTransactionEEPNS3_4listIS7_NS3_9allocatorIS7_EEEEbxb
23216
_Z18CheckSequenceLocksRK10CTxMemPoolRK12CTransactioniP10LockPointsb
20119
_Z19ComputeBlockVersionPK11CBlockIndexRKN9Consensus6ParamsE
3585912
_Z19GetBlockPosFilenameRK11FlatFilePos
16
_Z19VersionBitsTipStateRKN9Consensus6ParamsENS_13DeploymentPosE
354
_Z20ReadRawBlockFromDiskRNSt3__16vectorIhNS_9allocatorIhEEEEPK11CBlockIndexRA4_Kh
6213
_Z20ReadRawBlockFromDiskRNSt3__16vectorIhNS_9allocatorIhEEEERK11FlatFilePosRA4_Kh
6213
_Z21CalculateCurrentUsagev
363
_Z21FindForkInGlobalIndexRK6CChainRK13CBlockLocator
1991
_Z21LoadExternalBlockFileRK12CChainParamsP7__sFILEP11FlatFilePos
9
_Z21PruneBlockFilesManuali
0
_Z21TestLockPointValidityPK10LockPoints
734
_Z22ResetBlockFailureFlagsP11CBlockIndex
7
_Z24InitScriptExecutionCachev
989
_Z24VersionBitsTipStatisticsRKN9Consensus6ParamsENS_13DeploymentPosE
273
_Z25GetWitnessCommitmentIndexRK6CBlock
113988
_Z25GuessVerificationProgressRK11ChainTxDataPK11CBlockIndex
128050
_Z26GenerateCoinbaseCommitmentR6CBlockPK11CBlockIndexRKN9Consensus6ParamsE
24298
_Z30VersionBitsTipStateSinceHeightRKN9Consensus6ParamsENS_13DeploymentPosE
354
_Z32UpdateUncommittedBlockStructuresR6CBlockPK11CBlockIndexRKN9Consensus6ParamsE
24501
_ZL11AlertNotifyRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE
2
_ZL11FindUndoPosR20BlockValidationStateiR11FlatFilePosj
44902
_ZL11UndoFileSeqv
102462
_ZL12BlockFileSeqv
194682
_ZL12FindBlockPosR11FlatFilePosjjyb
45425
_ZL12OpenUndoFileRK11FlatFilePosb
56187
_ZL13AppendWarningR13bilingual_strRKS_
1442
_ZL13FlushUndoFileib
1370
_ZL14FlushBlockFilebb
1370
_ZL15NotifyHeaderTipv
74615
_ZL15SaveBlockToDiskRK6CBlockiRK12CChainParamsPK11FlatFilePos
45425
_ZL15UndoWriteToDiskRK10CBlockUndoR11FlatFilePosRK7uint256RA4_Kh
44902
_ZL16CheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRKN9Consensus6ParamsEb
143749
_ZL16FindFilesToPruneR17ChainstateManagerRNSt3__13setIiNS1_4lessIiEENS1_9allocatorIiEEEEy
6
_ZL16LimitMempoolSizeR10CTxMemPoolmNSt3__16chrono8durationIxNS1_5ratioILl1ELl1EEEEE
19028
_ZL16LoadBlockIndexDBR17ChainstateManagerRK12CChainParams
490
_ZL16WriteBlockToDiskRK6CBlockR11FlatFilePosRA4_Kh
44088
_ZL17GetLastCheckpointRK15CCheckpointData
68732
_ZL17InvalidChainFoundP11CBlockIndex
413
_ZL19GetBlockScriptFlagsPK11CBlockIndexRKN9Consensus6ParamsE
86488
_ZL20ContextualCheckBlockRK6CBlockR20BlockValidationStateRKN9Consensus6ParamsEPK11CBlockIndex
66179
_ZL21UpdateMempoolForReorgR10CTxMemPoolR29DisconnectedBlockTransactionsb
488
_ZL21WriteUndoDataForBlockRK10CBlockUndoR20BlockValidationStateP11CBlockIndexRK12CChainParams
46458
_ZL22FindFilesToPruneManualR17ChainstateManagerRNSt3__13setIiNS1_4lessIiEENS1_9allocatorIiEEEEi
0
_ZL22IsScriptWitnessEnabledRKN9Consensus6ParamsE
86488
_ZL23GetSynchronizationStateb
79737
_ZL25IsCurrentForFeeEstimationv
18432
_ZL26AcceptToMemoryPoolWithTimeRK12CChainParamsR10CTxMemPoolR17TxValidationStateRKNSt3__110shared_ptrIK12CTransactionEExPNS6_4listISA_NS6_9allocatorISA_EEEEbxb
23321
_ZL26CheckForkWarningConditionsv
44429
_ZL26ContextualCheckBlockHeaderRK12CBlockHeaderR20BlockValidationStateRK12CChainParamsPK11CBlockIndexx
68865
_ZL29LimitValidationInterfaceQueuev
58987
_ZL30CheckInputsFromMempoolAndCacheRK12CTransactionR17TxValidationStateRK15CCoinsViewCacheRK10CTxMemPooljR26PrecomputedTransactionData
18837
_ZL35CheckForkWarningConditionsOnNewForkP11CBlockIndex
176
_ZL9AbortNodeR20BlockValidationStateRKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERK13bilingual_str
1
_ZL9AbortNodeRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE13bilingual_str
1
_ZL9DoWarningRK13bilingual_str
4
_ZL9UpdateTipR10CTxMemPoolPK11CBlockIndexRK12CChainParams
49828
_ZN10CoinsViews9InitCacheEv
603
_ZN10CoinsViewsC1ENSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEmbb
603
_ZN10CoinsViewsC2ENSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEmbb
603
_ZN11CChainState10ConnectTipER20BlockValidationStateRK12CChainParamsP11CBlockIndexRKNSt3__110shared_ptrIK6CBlockEER12ConnectTraceR29DisconnectedBlockTransactions
46720
_ZN11CChainState11AcceptBlockERKNSt3__110shared_ptrIK6CBlockEER20BlockValidationStateRK12CChainParamsPP11CBlockIndexbPK11FlatFilePosPb
56855
_ZN11CChainState11InitCoinsDBEmbbNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE
603
_ZN11CChainState11LoadMempoolERK11ArgsManager
495
_ZN11CChainState12ConnectBlockERK6CBlockR20BlockValidationStateP11CBlockIndexR15CCoinsViewCacheRK12CChainParamsb
67945
_ZN11CChainState12LoadChainTipERK12CChainParams
305
_ZN11CChainState12ReplayBlocksERK12CChainParams
498
_ZN11CChainState13DisconnectTipER20BlockValidationStateRK12CChainParamsP29DisconnectedBlockTransactions
3285
_ZN11CChainState13PreciousBlockER20BlockValidationStateRK12CChainParamsP11CBlockIndex
9
_ZN11CChainState13PruneAndFlushEv
5
_ZN11CChainState14EraseBlockDataEP11CBlockIndex
147
_ZN11CChainState14InitCoinsCacheEm
603
_ZN11CChainState15CheckBlockIndexERKN9Consensus6ParamsE
334356
_ZN11CChainState15DisconnectBlockERK6CBlockPK11CBlockIndexR15CCoinsViewCache
5020
_ZN11CChainState15InvalidateBlockER20BlockValidationStateRK12CChainParamsP11CBlockIndex
61
_ZN11CChainState16FlushStateToDiskERK12CChainParamsR20BlockValidationState14FlushStateModei
161503
_ZN11CChainState16LoadGenesisBlockERK12CChainParams
598
_ZN11CChainState16RewindBlockIndexERK12CChainParams
490
_ZN11CChainState16RollforwardBlockEPK11CBlockIndexR15CCoinsViewCacheRK12CChainParams
0
_ZN11CChainState16UnloadBlockIndexEv
600
_ZN11CChainState17ActivateBestChainER20BlockValidationStateRK12CChainParamsNSt3__110shared_ptrIK6CBlockEE
56061
_ZN11CChainState17FindMostWorkChainEv
56238
_ZN11CChainState17InvalidBlockFoundEP11CBlockIndexRK20BlockValidationState
176
_ZN11CChainState17ResizeCoinsCachesEmm
5
_ZN11CChainState21ActivateBestChainStepER20BlockValidationStateRK12CChainParamsP11CBlockIndexRKNSt3__110shared_ptrIK6CBlockEERbR12ConnectTrace
44017
_ZN11CChainState21ForceFlushStateToDiskEv
1039
_ZN11CChainState22GetCoinsCacheSizeStateEPK10CTxMemPool
161503
_ZN11CChainState22GetCoinsCacheSizeStateEPK10CTxMemPoolmm
161505
_ZN11CChainState22ResetBlockFailureFlagsEP11CBlockIndex
7
_ZN11CChainState25PruneBlockIndexCandidatesEv
47162
_ZN11CChainState25ReceivedBlockTransactionsERK6CBlockP11CBlockIndexRK11FlatFilePosRKN9Consensus6ParamsE
45425
_ZN11CChainState8ToStringEv
1110
_ZN11CChainStateC1ER10CTxMemPoolR12BlockManager7uint256
603
_ZN11CChainStateC2ER10CTxMemPoolR12BlockManager7uint256
603
_ZN12BlockManager14LoadBlockIndexERKN9Consensus6ParamsER12CBlockTreeDBRNSt3__13setIP11CBlockIndex25CBlockIndexWorkComparatorNS6_9allocatorIS9_EEEE
490
_ZN12BlockManager15AddToBlockIndexERK12CBlockHeader
48118
_ZN12BlockManager16InsertBlockIndexERK7uint256
100692
_ZN12BlockManager17AcceptBlockHeaderERK12CBlockHeaderR20BlockValidationStateRK12CChainParamsPP11CBlockIndex
247137
_ZN12BlockManager6UnloadEv
599
_ZN12CMainCleanupC1Ev
640
_ZN12CMainCleanupC2Ev
640
_ZN12CMainCleanupD1Ev
640
_ZN12CMainCleanupD2Ev
640
_ZN12CScriptCheckclEv
338196
_ZN12ConnectTrace14BlockConnectedEP11CBlockIndexNSt3__110shared_ptrIK6CBlockEE
46544
_ZN12ConnectTrace18GetBlocksConnectedEv
44016
_ZN12ConnectTraceC1Ev
58367
_ZN12ConnectTraceC2Ev
58367
_ZN12ConnectTraceD1Ev
58367
_ZN12ConnectTraceD2Ev
58367
_ZN12_GLOBAL__N_113MemPoolAccept12CheckFeeRateEmxR17TxValidationState
18647
_ZN12_GLOBAL__N_113MemPoolAccept18PolicyScriptChecksERNS0_8ATMPArgsERNS0_9WorkspaceER26PrecomputedTransactionData
18879
_ZN12_GLOBAL__N_113MemPoolAccept21ConsensusScriptChecksERNS0_8ATMPArgsERNS0_9WorkspaceER26PrecomputedTransactionData
18837
_ZN12_GLOBAL__N_113MemPoolAccept23AcceptSingleTransactionERKNSt3__110shared_ptrIK12CTransactionEERNS0_8ATMPArgsE
23321
_ZN12_GLOBAL__N_113MemPoolAccept8FinalizeERNS0_8ATMPArgsERNS0_9WorkspaceE
18825
_ZN12_GLOBAL__N_113MemPoolAccept9PreChecksERNS0_8ATMPArgsERNS0_9WorkspaceE
23321
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceC1ERKNSt3__110shared_ptrIK12CTransactionEE
23321
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceC2ERKNSt3__110shared_ptrIK12CTransactionEE
23321
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceD1Ev
23321
_ZN12_GLOBAL__N_113MemPoolAccept9WorkspaceD2Ev
23321
_ZN12_GLOBAL__N_113MemPoolAcceptC1ER10CTxMemPool
23321
_ZN12_GLOBAL__N_113MemPoolAcceptC2ER10CTxMemPool
23321
_ZN12_GLOBAL__N_113MemPoolAcceptD1Ev
23321
_ZN12_GLOBAL__N_113MemPoolAcceptD2Ev
23321
_ZN17ChainstateManager14LoadBlockIndexERK12CChainParams
498
_ZN17ChainstateManager15ProcessNewBlockERK12CChainParamsNSt3__110shared_ptrIK6CBlockEEbPb
55639
_ZN17ChainstateManager17PruneOneBlockFileEi
3
_ZN17ChainstateManager20InitializeChainstateER10CTxMemPoolRK7uint256
602
_ZN17ChainstateManager20MaybeRebalanceCachesEv
2
_ZN17ChainstateManager22ProcessNewBlockHeadersERKNSt3__16vectorI12CBlockHeaderNS0_9allocatorIS2_EEEER20BlockValidationStateRK12CChainParamsPPK11CBlockIndex
17819
_ZN17ChainstateManager5ResetEv
99
_ZN17ChainstateManager6GetAllEv
3609
_ZN17ChainstateManager6UnloadEv
599
_ZN20PerBlockConnectTraceC1EOS_
48553
_ZN20PerBlockConnectTraceC1Ev
104911
_ZN20PerBlockConnectTraceC2EOS_
48553
_ZN20PerBlockConnectTraceC2Ev
104911
_ZN20PerBlockConnectTraceD1Ev
153464
_ZN20PerBlockConnectTraceD2Ev
153464
_ZN27WarningBitsConditionCheckerC1Ei
1239054
_ZN27WarningBitsConditionCheckerC2Ei
1239054
_ZN9CVerifyDB8VerifyDBERK12CChainParamsP10CCoinsViewii
306
_ZN9CVerifyDBC1Ev
306
_ZN9CVerifyDBC2Ev
306
_ZN9CVerifyDBD1Ev
306
_ZN9CVerifyDBD2Ev
306
_ZNK11CChainState22IsInitialBlockDownloadEv
932699
_ZNK14CBlockFileInfo8ToStringEv
500
_ZNK17ChainstateManager15IsBackgroundIBDEP11CChainState
3
_ZNK17ChainstateManager16ActiveChainstateEv
303958
_ZNK17ChainstateManager16IsSnapshotActiveEv
2
_ZNK17ChainstateManager17SnapshotBlockhashEv
0
_ZNK17ChainstateManager19ValidatedChainstateEv
4
_ZNK25CBlockIndexWorkComparatorclEPK11CBlockIndexS2_
500726346
_ZNK27WarningBitsConditionChecker6PeriodERKN9Consensus6ParamsE
1239054
_ZNK27WarningBitsConditionChecker7EndTimeERKN9Consensus6ParamsE
1239054
_ZNK27WarningBitsConditionChecker9BeginTimeERKN9Consensus6ParamsE
1239054
_ZNK27WarningBitsConditionChecker9ConditionEPK11CBlockIndexRKN9Consensus6ParamsE
513360
_ZNK27WarningBitsConditionChecker9ThresholdERKN9Consensus6ParamsE
1239054
_ZZN12BlockManager14LoadBlockIndexERKN9Consensus6ParamsER12CBlockTreeDBRNSt3__13setIP11CBlockIndex25CBlockIndexWorkComparatorNS6_9allocatorIS9_EEEEENK3$_0clERK7uint256
100692
__cxx_global_array_dtor
640
__cxx_global_var_init.14
640
__cxx_global_var_init.18
640
__cxx_global_var_init.19
640
__cxx_global_var_init.20
640
__cxx_global_var_init.21
640
__cxx_global_var_init.22
640
__cxx_global_var_init.23
640
__cxx_global_var_init.24
640
__cxx_global_var_init.25
640
__cxx_global_var_init.258
640
__cxx_global_var_init.26
640
__cxx_global_var_init.27
640
__cxx_global_var_init.28
640
__cxx_global_var_init.29
640
__cxx_global_var_init.31
640
__cxx_global_var_init.48
640
__cxx_global_var_init.49
640
__cxx_global_var_init.63
640
__cxx_global_var_init.65
640
__cxx_global_var_init.66
640
__cxx_global_var_init.7
640
Generated by:
LCOV version 1.15