diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-01-04 15:00:34 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-01-05 16:18:50 +0100 |
commit | facd3df21f344dd84e5f28862056700c1fded17c (patch) | |
tree | c6d17c7d72a95db54574f88ce3d44ab6d4e61bc1 /src/node/blockstorage.cpp | |
parent | faa8c2d7d75f8d9782709e73e00e35851e233392 (diff) | |
download | bitcoin-facd3df21f344dd84e5f28862056700c1fded17c.tar.xz |
Make blockstorage globals private members of BlockManager
Diffstat (limited to 'src/node/blockstorage.cpp')
-rw-r--r-- | src/node/blockstorage.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/node/blockstorage.cpp b/src/node/blockstorage.cpp index a040f2e7b4..cad93a2df9 100644 --- a/src/node/blockstorage.cpp +++ b/src/node/blockstorage.cpp @@ -27,23 +27,6 @@ bool fHavePruned = false; bool fPruneMode = false; uint64_t nPruneTarget = 0; -// TODO make namespace { -RecursiveMutex cs_LastBlockFile; -std::vector<CBlockFileInfo> vinfoBlockFile; -int nLastBlockFile = 0; -/** Global flag to indicate we should check to see if there are -* block/undo files that should be deleted. Set on startup -* or if we allocate more file space when we're in prune mode -*/ -bool fCheckForPruning = false; - -/** Dirty block index entries. */ -std::set<CBlockIndex*> setDirtyBlockIndex; - -/** Dirty block file entries. */ -std::set<int> setDirtyFileInfo; -// } // namespace - static FILE* OpenUndoFile(const FlatFilePos& pos, bool fReadOnly = false); static FlatFileSeq BlockFileSeq(); static FlatFileSeq UndoFileSeq(); |