LCOV - code coverage report
Current view: top level - src/wallet - walletdb.cpp (source / functions) Coverage Total Hit
Test: total_coverage.info Lines: 81.6 % 828 676
Test Date: 2025-01-19 05:08:01 Functions: 97.6 % 84 82
Branches: 49.5 % 1050 520

Function Name Sort by function name Hit count Sort by function hit count
_ZN6wallet11WalletBatch11IsEncryptedEv 0
_ZZN6walletL23LoadLegacyWalletRecordsEPNS_7CWalletERNS_13DatabaseBatchEiENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7_clES1_S5_S5_SC_ 0
_ZN6wallet11WalletBatch14EraseMasterKeyEj 1
_ZN6wallet11WalletBatch15WriteLockedUTXOERK9COutPoint 1
_ZN6wallet11WalletBatch26EraseActiveScriptPubKeyManEhb 1
_ZN6wallet11WalletBatch26EraseAddressReceiveRequestERKSt7variantIJ14CNoDestination17PubKeyDestination6PKHash10ScriptHash19WitnessV0ScriptHash16WitnessV0KeyHash16WitnessV1Taproot11PayToAnchor14WitnessUnknownEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 1
_ZN6wallet11WalletBatch8ReadPoolElRNS_8CKeyPoolE 1
_ZN6wallet11WalletBatch8TxnAbortEv 1
_ZN6wallet11WalletBatch14WriteWatchOnlyERK7CScriptRKNS_12CKeyMetadataE 2
_ZZN6walletL13LoadTxRecordsEPNS_7CWalletERNS_13DatabaseBatchERSt6vectorI7uint256SaIS5_EERbENKUlS1_R10DataStreamSB_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE0_clES1_SB_SB_SI_ 2
_ZN6wallet11WalletBatch26WriteAddressReceiveRequestERKSt7variantIJ14CNoDestination17PubKeyDestination6PKHash10ScriptHash19WitnessV0ScriptHash16WitnessV0KeyHash16WitnessV1Taproot11PayToAnchor14WitnessUnknownEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESL_ 4
_ZN6wallet11WalletBatch14EraseWatchOnlyERK7CScript 5
_ZZN6walletL22LoadAddressBookRecordsEPNS_7CWalletERNS_13DatabaseBatchEENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE1_clES1_S5_S5_SC_ 10
_ZN6wallet11WalletBatch19RegisterTxnListenerERKNS_13DbTxnListenerE 11
_ZN6wallet11WalletBatch7EraseTxE7uint256 16
_ZN6wallet11WalletBatch12ErasePurposeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 20
_ZN6wallet11WalletBatch9EraseNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 20
_ZN6wallet11WalletBatch16EraseAddressDataERKSt7variantIJ14CNoDestination17PubKeyDestination6PKHash10ScriptHash19WitnessV0ScriptHash16WitnessV0KeyHash16WitnessV1Taproot11PayToAnchor14WitnessUnknownEE 21
_ZN6wallet11WalletBatch12WriteCScriptERK7uint160RK7CScript 23
_ZN6wallet17LoadEncryptionKeyEPNS_7CWalletER10DataStreamS3_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 23
_ZN6wallet11WalletBatch27WriteAddressPreviouslySpentERKSt7variantIJ14CNoDestination17PubKeyDestination6PKHash10ScriptHash19WitnessV0ScriptHash16WitnessV0KeyHash16WitnessV1Taproot11PayToAnchor14WitnessUnknownEEb 24
_ZN6wallet11LoadHDChainEPNS_7CWalletER10DataStreamRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 25
_ZN6wallet11WalletBatch12EraseRecordsERKSt13unordered_setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS7_ESt8equal_toIS7_ESaIS7_EE 25
_ZN6wallet11WalletBatch14WriteMasterKeyEjRKNS_10CMasterKeyE 27
_ZZN6walletL23LoadLegacyWalletRecordsEPNS_7CWalletERNS_13DatabaseBatchEiENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4_clES1_S5_S5_SC_ 32
_ZZN6walletL23LoadLegacyWalletRecordsEPNS_7CWalletERNS_13DatabaseBatchEiENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE5_clES1_S5_S5_SC_ 32
_ZN6wallet11WalletBatch15EraseLockedUTXOERK9COutPoint 58
_ZZN6walletL23LoadLegacyWalletRecordsEPNS_7CWalletERNS_13DatabaseBatchEiENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE2_clES1_S5_S5_SC_ 64
_ZN6wallet7LoadKeyEPNS_7CWalletER10DataStreamS3_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 98
_ZZN6walletL13LoadTxRecordsEPNS_7CWalletERNS_13DatabaseBatchERSt6vectorI7uint256SaIS5_EERbENKUlS1_R10DataStreamSB_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE1_clES1_SB_SB_SI_ 155
_ZZZN6walletL27LoadDescriptorWalletRecordsEPNS_7CWalletERNS_13DatabaseBatchEiENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clES1_S5_S5_SC_ENKUlS1_S5_S5_SC_E2_clES1_S5_S5_SC_ 249
_ZZN6wallet11WalletBatch12EraseRecordsERKSt13unordered_setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS7_ESt8equal_toIS7_ESaIS7_EEENKUlRKS7_E_clESH_ 250
_ZN6wallet11WalletBatch25WriteCryptedDescriptorKeyERK7uint256RK7CPubKeyRKSt6vectorIhSaIhEE 265
_ZN6wallet12RunWithinTxnERNS_14WalletDatabaseESt17basic_string_viewIcSt11char_traitsIcEERKSt8functionIFbRNS_11WalletBatchEEE 370
_ZN6walletL12RunWithinTxnERNS_11WalletBatchESt17basic_string_viewIcSt11char_traitsIcEERKSt8functionIFbS1_EE 370
_ZN6wallet11WalletBatch15WriteMinVersionEi 501
_ZN6walletL13LoadTxRecordsEPNS_7CWalletERNS_13DatabaseBatchERSt6vectorI7uint256SaIS5_EERb 855
_ZN6walletL15LoadActiveSPKMsEPNS_7CWalletERNS_13DatabaseBatchE 855
_ZN6walletL18LoadDecryptionKeysEPNS_7CWalletERNS_13DatabaseBatchE 855
_ZN6walletL22LoadAddressBookRecordsEPNS_7CWalletERNS_13DatabaseBatchE 855
_ZN6wallet11WalletBatch10LoadWalletEPNS_7CWalletE 856
_ZN6walletL14LoadMinVersionEPNS_7CWalletERNS_13DatabaseBatchE 856
_ZN6walletL15LoadWalletFlagsEPNS_7CWalletERNS_13DatabaseBatchE 856
_ZN6walletL23LoadLegacyWalletRecordsEPNS_7CWalletERNS_13DatabaseBatchEi 856
_ZN6walletL27LoadDescriptorWalletRecordsEPNS_7CWalletERNS_13DatabaseBatchEi 856
_ZN6wallet11WalletBatch9ErasePoolEl 1000
_ZN6wallet11WalletBatch8WriteKeyERK7CPubKeyRKSt6vectorIh16secure_allocatorIhEERKNS_12CKeyMetadataE 1033
_ZN6wallet11WalletBatch14WriteBestBlockERK13CBlockLocator 1093
_ZN6wallet12MakeDatabaseERKN2fs4pathERKNS_15DatabaseOptionsERNS_14DatabaseStatusER13bilingual_str 1220
_ZN6wallet11WalletBatch13ReadBestBlockER13CBlockLocator 1526
_ZZN6walletL15LoadActiveSPKMsEPNS_7CWalletERNS_13DatabaseBatchEENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clES1_S5_S5_SC_ 1890
_ZZZN6walletL27LoadDescriptorWalletRecordsEPNS_7CWalletERNS_13DatabaseBatchEiENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clES1_S5_S5_SC_ENKUlS1_S5_S5_SC_E1_clES1_S5_S5_SC_ 1931
_ZZZN6walletL27LoadDescriptorWalletRecordsEPNS_7CWalletERNS_13DatabaseBatchEiENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clES1_S5_S5_SC_ENKUlS1_S5_S5_SC_E0_clES1_S5_S5_SC_ 1982
_ZN6wallet11WalletBatch9WritePoolElRKNS_8CKeyPoolE 2004
_ZN6wallet11WalletBatch12WriteHDChainERKNS_8CHDChainE 2007
_ZZZN6walletL27LoadDescriptorWalletRecordsEPNS_7CWalletERNS_13DatabaseBatchEiENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clES1_S5_S5_SC_ENKUlS1_S5_S5_SC_E_clES1_S5_S5_SC_ 2108
_ZZN6walletL27LoadDescriptorWalletRecordsEPNS_7CWalletERNS_13DatabaseBatchEiENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clES1_S5_S5_SC_ 2228
_ZZN6walletL22LoadAddressBookRecordsEPNS_7CWalletERNS_13DatabaseBatchEENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE0_clES1_S5_S5_SC_ 2822
_ZZN6walletL22LoadAddressBookRecordsEPNS_7CWalletERNS_13DatabaseBatchEENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clES1_S5_S5_SC_ 2822
_ZN6wallet11WalletBatch32WriteDescriptorLastHardenedCacheERK10CExtPubKeyRK7uint256j 2906
_ZN6wallet11WalletBatch26WriteActiveScriptPubKeyManEhRK7uint256b 3103
_ZN6wallet11WalletBatch18WriteDescriptorKeyERK7uint256RK7CPubKeyRKSt6vectorIh16secure_allocatorIhEE 3272
_ZN6wallet11WalletBatch26WriteDescriptorParentCacheERK10CExtPubKeyRK7uint256j 3617
_ZN6wallet11WalletBatch15WriteCryptedKeyERK7CPubKeyRKSt6vectorIhSaIhEERKNS_12CKeyMetadataE 4004
_ZZN6walletL23LoadLegacyWalletRecordsEPNS_7CWalletERNS_13DatabaseBatchEiENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE6_clES1_S5_S5_SC_ 4037
_ZN6wallet11WalletBatch16WriteKeyMetadataERKNS_12CKeyMetadataERK7CPubKeyb 5037
_ZN6wallet11WalletBatch16WriteWalletFlagsEm 5681
_ZZN6walletL13LoadTxRecordsEPNS_7CWalletERNS_13DatabaseBatchERSt6vectorI7uint256SaIS5_EERbENKUlS1_R10DataStreamSB_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clES1_SB_SB_SI_ 7242
_ZZZN6walletL13LoadTxRecordsEPNS_7CWalletERNS_13DatabaseBatchERSt6vectorI7uint256SaIS5_EERbENKUlS1_R10DataStreamSB_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clES1_SB_SB_SI_ENKUlRNS_9CWalletTxEbE_clESL_b 7242
_ZN6wallet14LoadCryptedKeyEPNS_7CWalletER10DataStreamS3_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 8033
_ZZN6walletL23LoadLegacyWalletRecordsEPNS_7CWalletERNS_13DatabaseBatchEiENKUlS1_R10DataStreamS5_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE3_clES1_S5_S5_SC_ 8133
_ZN6walletL12PrefixStreamIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256EEE10DataStreamDpRKT_ 8904
_ZN6wallet11WalletBatch27WriteDescriptorDerivedCacheERK10CExtPubKeyRK7uint256jj 10930
_ZN6walletL11LoadRecordsEPNS_7CWalletERNS_13DatabaseBatchERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFNS_8DBErrorsES1_R10DataStreamSF_RS9_EE 14401
_ZN6wallet11WalletBatch17WriteOrderPosNextEl 17843
_ZN6wallet20MaybeCompactWalletDBERNS_13WalletContextE 20263
_ZN6wallet11WalletBatch7WriteTxERKNS_9CWalletTxE 22809
_ZN6walletL11LoadRecordsEPNS_7CWalletERNS_13DatabaseBatchERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER10DataStreamSt8functionIFNS_8DBErrorsES1_SD_SD_RS9_EE 23305
_ZN6wallet11WalletBatch12WritePurposeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ 28369
_ZN6wallet11WalletBatch9WriteNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ 28369
_ZN6wallet11WalletBatch9TxnCommitEv 70260
_ZN6wallet11WalletBatch8TxnBeginEv 70263
_ZN6wallet11WalletBatch15WriteDescriptorERK7uint256RKNS_16WalletDescriptorE 94472
_ZN6wallet11WalletBatch25WriteDescriptorCacheItemsERK7uint256RK15DescriptorCache 433629

Generated by: LCOV version 2.0-1