Changeset View
Changeset View
Standalone View
Standalone View
src/node/blockstorage.cpp
Show All 32 Lines | |||||
/** | /** | ||||
* Global flag to indicate we should check to see if there are | * Global flag to indicate we should check to see if there are | ||||
* block/undo files that should be deleted. Set on startup | * block/undo files that should be deleted. Set on startup | ||||
* or if we allocate more file space when we're in prune mode | * or if we allocate more file space when we're in prune mode | ||||
*/ | */ | ||||
bool fCheckForPruning = false; | bool fCheckForPruning = false; | ||||
/** Dirty block index entries. */ | /** Dirty block index entries. */ | ||||
std::set<CBlockIndex *> setDirtyBlockIndex; | std::set<const CBlockIndex *> setDirtyBlockIndex; | ||||
/** Dirty block file entries. */ | /** Dirty block file entries. */ | ||||
std::set<int> setDirtyFileInfo; | std::set<int> setDirtyFileInfo; | ||||
// } // namespace | // } // namespace | ||||
static FILE *OpenUndoFile(const FlatFilePos &pos, bool fReadOnly = false); | static FILE *OpenUndoFile(const FlatFilePos &pos, bool fReadOnly = false); | ||||
static FlatFileSeq BlockFileSeq(); | static FlatFileSeq BlockFileSeq(); | ||||
static FlatFileSeq UndoFileSeq(); | static FlatFileSeq UndoFileSeq(); | ||||
▲ Show 20 Lines • Show All 529 Lines • Show Last 20 Lines |