diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-08-02 07:50:22 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-08-02 07:49:32 +0200 |
commit | fae405556d56f6f13ce57f69a06b9ec1e825422b (patch) | |
tree | 2767fa7fc53edbd4603ff9933129e56ceac5f730 /src/node/blockstorage.h | |
parent | faf63039cce40f5cf8dea5a1d24945773c3433a1 (diff) | |
download | bitcoin-fae405556d56f6f13ce57f69a06b9ec1e825422b.tar.xz |
scripted-diff: Rename CBlockTreeDB -> BlockTreeDB
-BEGIN VERIFY SCRIPT-
sed -i 's|CBlockTreeDB|BlockTreeDB|g' $( git grep -l CBlockTreeDB )
-END VERIFY SCRIPT-
Diffstat (limited to 'src/node/blockstorage.h')
-rw-r--r-- | src/node/blockstorage.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node/blockstorage.h b/src/node/blockstorage.h index 58608fe015..2bd5218ad0 100644 --- a/src/node/blockstorage.h +++ b/src/node/blockstorage.h @@ -46,7 +46,7 @@ class SignalInterrupt; namespace kernel { /** Access to the block database (blocks/index/) */ -class CBlockTreeDB : public CDBWrapper +class BlockTreeDB : public CDBWrapper { public: using CDBWrapper::CDBWrapper; @@ -63,7 +63,7 @@ public: } // namespace kernel namespace node { -using kernel::CBlockTreeDB; +using kernel::BlockTreeDB; /** The pre-allocation chunk size for blk?????.dat files (since 0.8) */ static const unsigned int BLOCKFILE_CHUNK_SIZE = 0x1000000; // 16 MiB @@ -212,7 +212,7 @@ public: */ std::multimap<CBlockIndex*, CBlockIndex*> m_blocks_unlinked; - std::unique_ptr<CBlockTreeDB> m_block_tree_db GUARDED_BY(::cs_main); + std::unique_ptr<BlockTreeDB> m_block_tree_db GUARDED_BY(::cs_main); bool WriteBlockIndexDB() EXCLUSIVE_LOCKS_REQUIRED(::cs_main); bool LoadBlockIndexDB() EXCLUSIVE_LOCKS_REQUIRED(::cs_main); |