LCOV - code coverage report
Current view: top level - src/rpc - blockchain.cpp (source / functions) Coverage Total Hit
Test: total_coverage.info Lines: 94.1 % 1837 1728
Test Date: 2025-01-19 05:08:01 Functions: 97.8 % 134 131
Branches: 51.5 % 7195 3704

Function Name Sort by function name Hit count Sort by function hit count
_ZZL12GetUTXOStatsP10CCoinsViewRN4node12BlockManagerEN6kernel17CoinStatsHashTypeERKSt8functionIFvvEEPK11CBlockIndexbENKUlvE_clEv 0
_ZZL23CheckBlockFilterMatchesRN4node12BlockManagerERK11CBlockIndexRKSt13unordered_setISt6vectorIhSaIhEE14ByteVectorHashSt8equal_toIS8_ESaIS8_EEENKUlRKT_E0_clI4CoinEEDaSI_ 0
_ZZZL10scanblocksvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ENKUlvE_clEv 0
_ZZL13getdifficultyvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 2
_ZZZL16getblockfrompeervENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ENKUlvE0_clEv 3
_ZL23CheckBlockFilterMatchesRN4node12BlockManagerERK11CBlockIndexRKSt13unordered_setISt6vectorIhSaIhEE14ByteVectorHashSt8equal_toIS8_ESaIS8_EE 4
_ZZL11verifychainvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 4
_ZZL12waitforblockvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 4
_ZZZL10scanblocksvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ENKUlvE0_clEv 4
_ZN14NetworkDisableC2ER8CConnman 5
_ZZL15waitfornewblockvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 5
_ZN17TemporaryRollbackC2ER17ChainstateManagerRK11CBlockIndex 6
_ZN17TemporaryRollbackD2Ev 6
_ZZZL12dumptxoutsetvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ENKUlvE0_clEv 6
_ZZZL16getblockfrompeervENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ENKUlvE1_clEv 7
_ZZZL21getdescriptoractivityvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ENKUlRK7CScriptlRKSt10shared_ptrIK12CTransactionEiRK5CTxInPK11CBlockIndexE_clES8_lSE_iSH_SK_ 7
_ZZL23CheckBlockFilterMatchesRN4node12BlockManagerERK11CBlockIndexRKSt13unordered_setISt6vectorIhSaIhEE14ByteVectorHashSt8equal_toIS8_ESaIS8_EEENKUlRKT_E_clI6CTxOutEEDaSI_ 8
_ZZZL16getblockfrompeervENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ENKUlvE_clEv 9
_ZZL13preciousblockvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 10
_ZZL16getblockfrompeervENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 10
_ZZL18waitforblockheightvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 10
_ZZL12dumptxoutsetvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 12
_ZZZL12dumptxoutsetvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ENKUlvE_clEv 12
_ZZL21getdescriptoractivityvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 13
_ZZL8gettxoutvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 16
_ZZZL21getdescriptoractivityvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ENKUlRK6CTxOutPK11CBlockIndexiRKSt10shared_ptrIK12CTransactionEE_clES8_SB_iSH_ 16
_ZN24BlockFiltersScanReserver7reserveEv 21
_ZN24BlockFiltersScanReserverD2Ev 21
_ZZL10scanblocksvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 22
_ZZL14getblockfiltervENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 23
_ZZL15reconsiderblockvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 24
_Z15ReconsiderBlockR17ChainstateManager7uint256 30
_Z18CreateUTXOSnapshotRN4node11NodeContextER10ChainstateR8AutoFileRKN2fs4pathES9_ 33
_ZZ18CreateUTXOSnapshotRN4node11NodeContextER10ChainstateR8AutoFileRKN2fs4pathES9_ENKUlvE_clEv 33
_ZZL15pruneblockchainvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 37
_Z17WriteUTXOSnapshotR10ChainstateP16CCoinsViewCursorPN6kernel11CCoinsStatsEPK11CBlockIndexR8AutoFileRKN2fs4pathESE_RKSt8functionIFvvEE 40
_Z19PrepareUTXOSnapshotR10ChainstateRKSt8functionIFvvEE 40
_ZZL12loadtxoutsetvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 40
_Z13ParseHashTypeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 55
_ZZL12getchaintipsvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 58
_ZZL15gettxoutsetinfovENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 66
_Z14GetPruneHeightRKN4node12BlockManagerERK6CChain 70
_ZZL15invalidateblockvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 88
_ZN12_GLOBAL__N_114DeploymentInfoEPK11CBlockIndexRK17ChainstateManager 91
_ZZ17getdeploymentinfovENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 91
_Z15InvalidateBlockR17ChainstateManager7uint256 94
_Z28CalculatePercentilesByWeightPlRSt6vectorISt4pairIllESaIS2_EEl 111
_ZZL13getblockstatsvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 112
_ZL14GetUndoCheckedRN4node12BlockManagerERK11CBlockIndex 122
_ZL12GetUTXOStatsP10CCoinsViewRN4node12BlockManagerEN6kernel17CoinStatsHashTypeERKSt8functionIFvvEEPK11CBlockIndexb 124
_ZL15GetBlockCheckedRN4node12BlockManagerERK11CBlockIndex 125
_ZZ11blockToJSONRN4node12BlockManagerERK6CBlockRK11CBlockIndexS7_11TxVerbosityENKUlvE0_clEv 131
_ZZ11blockToJSONRN4node12BlockManagerERK6CBlockRK11CBlockIndexS7_11TxVerbosityENKUlvE_clEv 131
_ZL17ParseHashOrHeightRK8UniValueR17ChainstateManager 140
_ZL20SoftForkDescPushBackPK11CBlockIndexR8UniValueRK17ChainstateManagerN9Consensus13DeploymentPosE 182
_ZZL14getchainstatesvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 196
_Z24CalculateTruncatedMedianIlET_RSt6vectorIS0_SaIS0_EE 214
_ZZL15getchaintxstatsvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 220
_ZZL20SoftForkDescPushBackPK11CBlockIndexR8UniValueRK17ChainstateManagerN9Consensus13DeploymentPosEENKUl14ThresholdStateE_clES9_ 364
_ZZZL14getchainstatesvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ENKUlRK10ChainstatebE_clES8_b 381
_ZL20SoftForkDescPushBackPK11CBlockIndexR8UniValueRK17ChainstateManagerN9Consensus16BuriedDeploymentE 455
_ZN12_GLOBAL__N_116FindScriptPubKeyERSt6atomicIiERKS0_IbERlP16CCoinsViewCursorRKSt3setI7CScriptSt4lessISA_ESaISA_EERSt3mapI9COutPoint4CoinSB_ISI_ESaISt4pairIKSI_SJ_EEERSt8functionIFvvEE 996
_ZN21CoinsViewScanReserver7reserveEv 1004
_ZN21CoinsViewScanReserverD2Ev 1004
_ZZL12scantxoutsetvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 1005
_Z29RegisterBlockchainRPCCommandsR9CRPCTable 1183
_Z11blockToJSONRN4node12BlockManagerERK6CBlockRK11CBlockIndexS7_11TxVerbosity 1309
_ZL12waitforblockv 2111
_ZL15waitfornewblockv 2112
_ZL18waitforblockheightv 2117
_ZL13getdifficultyv 2118
_ZL11verifychainv 2120
_ZL13preciousblockv 2126
_ZL12dumptxoutsetv 2128
_ZL16getblockfrompeerv 2128
_ZL21getdescriptoractivityv 2129
_ZL15reconsiderblockv 2131
_ZL8gettxoutv 2132
_ZL10scanblocksv 2138
_ZL14getblockfilterv 2139
_ZL15pruneblockchainv 2153
_ZL12loadtxoutsetv 2156
_ZL12getchaintipsv 2174
_ZL15gettxoutsetinfov 2182
_ZL15invalidateblockv 2195
_Z17getdeploymentinfov 2207
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cJEEbRKSt3setIT_St4lessIS8_ESaIS8_EERKT0_DpRKT1_ 2220
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA7_cJA11_cS7_EEbRKSt3setIT_St4lessIS9_ESaIS9_EERKT0_DpRKT1_ 64
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA7_cJS6_A11_cS7_EEbRKSt3setIT_St4lessIS9_ESaIS9_EERKT0_DpRKT1_ 72
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cJA7_cS7_S6_S6_EEbRKSt3setIT_St4lessIS9_ESaIS9_EERKT0_DpRKT1_ 75
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA7_cJA11_cS6_S6_S7_S7_EEbRKSt3setIT_St4lessIS9_ESaIS9_EERKT0_DpRKT1_ 78
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA9_cJA7_cA11_cS7_S7_S8_S8_EEbRKSt3setIT_St4lessISA_ESaISA_EERKT0_DpRKT1_ 81
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA13_cJEEbRKSt3setIT_St4lessIS8_ESaIS8_EERKT0_DpRKT1_ 84
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA21_cJA9_cA7_cA11_cS8_S8_S9_S9_EEbRKSt3setIT_St4lessISB_ESaISB_EERKT0_DpRKT1_ 84
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA10_cJA13_cEEbRKSt3setIT_St4lessIS9_ESaIS9_EERKT0_DpRKT1_ 87
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA14_cJA21_cA9_cA7_cA11_cS9_S9_SA_SA_EEbRKSt3setIT_St4lessISC_ESaISC_EERKT0_DpRKT1_ 87
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA10_cJS6_A13_cEEbRKSt3setIT_St4lessIS9_ESaIS9_EERKT0_DpRKT1_ 90
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cJA20_cS6_S6_EEbRKSt3setIT_St4lessIS9_ESaIS9_EERKT0_DpRKT1_ 90
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA20_cJA11_cS7_EEbRKSt3setIT_St4lessIS9_ESaIS9_EERKT0_DpRKT1_ 90
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA21_cJA14_cS6_A9_cA7_cA11_cS9_S9_SA_SA_EEbRKSt3setIT_St4lessISC_ESaISC_EERKT0_DpRKT1_ 90
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA10_cJS6_S6_A13_cEEbRKSt3setIT_St4lessIS9_ESaIS9_EERKT0_DpRKT1_ 93
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA14_cJA21_cS6_S7_A9_cA7_cA11_cS9_S9_SA_SA_EEbRKSt3setIT_St4lessISC_ESaISC_EERKT0_DpRKT1_ 93
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA15_cJA11_cA20_cS7_S7_EEbRKSt3setIT_St4lessISA_ESaISA_EERKT0_DpRKT1_ 93
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA15_cJEEbRKSt3setIT_St4lessIS8_ESaIS8_EERKT0_DpRKT1_ 93
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cJA10_cS7_S7_A13_cEEbRKSt3setIT_St4lessISA_ESaISA_EERKT0_DpRKT1_ 96
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cJA15_cS6_A20_cS6_S6_EEbRKSt3setIT_St4lessISA_ESaISA_EERKT0_DpRKT1_ 96
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA13_cJA15_cEEbRKSt3setIT_St4lessIS9_ESaIS9_EERKT0_DpRKT1_ 96
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA13_cJA11_cA15_cS7_A20_cS7_S7_EEbRKSt3setIT_St4lessISB_ESaISB_EERKT0_DpRKT1_ 99
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA6_cJA13_cA15_cEEbRKSt3setIT_St4lessISA_ESaISA_EERKT0_DpRKT1_ 99
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cJEEbRKSt3setIT_St4lessIS8_ESaIS8_EERKT0_DpRKT1_ 142
_Z10SetHasKeysINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cJS6_EEbRKSt3setIT_St4lessIS8_ESaIS8_EERKT0_DpRKT1_ 148
_ZL13getblockstatsv 2230
_ZL14getchainstatesv 2312
_ZL15getchaintxstatsv 2342
_ZZL14getblockheadervENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 2954
_ZL12scantxoutsetv 3122
_ZZL13getblockcountvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 3606
_ZZL32syncwithvalidationinterfacequeuevENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 3774
_Z17blockheaderToJSONRK11CBlockIndexS1_ 3834
_ZL24ComputeNextBlockAndDepthRK11CBlockIndexS1_RPS0_ 3834
_ZL14getblockheaderv 5070
_ZL13getblockcountv 5722
_ZL32syncwithvalidationinterfacequeuev 5881
_ZZ17WriteUTXOSnapshotR10ChainstateP16CCoinsViewCursorPN6kernel11CCoinsStatsEPK11CBlockIndexR8AutoFileRKN2fs4pathESE_RKSt8functionIFvvEEENKUlSA_RK22transaction_identifierILb0EERKSt6vectorISt4pairIj4CoinESaISR_EERmE_clESA_SN_SV_SW_ 5882
_ZL18GetRawBlockCheckedRN4node12BlockManagerERK11CBlockIndex 7954
_ZZL8getblockvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 7977
_Z26CheckBlockDataAvailabilityRN4node12BlockManagerERK11CBlockIndexb 8212
_ZZL12getblockhashvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 9574
_ZZL16getbestblockhashvENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 9595
_ZL8getblockv 10093
_ZL12getblockhashv 11690
_ZL16getbestblockhashv 11711
_ZZ17getblockchaininfovENKUlRK10RPCHelpManRK14JSONRPCRequestE_clES1_S4_ 19319
_Z17getblockchaininfov 21436
_Z13GetDifficultyRK11CBlockIndex 23550

Generated by: LCOV version 2.0-1