Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 418 Lines • ▼ Show 20 Lines | |||||
/** | /** | ||||
* Guess verification progress (as a fraction between 0.0=genesis and | * Guess verification progress (as a fraction between 0.0=genesis and | ||||
* 1.0=current tip). | * 1.0=current tip). | ||||
*/ | */ | ||||
double GuessVerificationProgress(const ChainTxData &data, CBlockIndex *pindex); | double GuessVerificationProgress(const ChainTxData &data, CBlockIndex *pindex); | ||||
/** | /** | ||||
* Calculate the amount of disk space the block & undo files currently use. | |||||
*/ | |||||
uint64_t CalculateCurrentUsage(); | |||||
/** | |||||
* Mark one block file as pruned. | * Mark one block file as pruned. | ||||
*/ | */ | ||||
void PruneOneBlockFile(const int fileNumber); | void PruneOneBlockFile(const int fileNumber); | ||||
/** | /** | ||||
* Actually unlink the specified files | * Actually unlink the specified files | ||||
*/ | */ | ||||
void UnlinkPrunedFiles(const std::set<int> &setFilesToPrune); | void UnlinkPrunedFiles(const std::set<int> &setFilesToPrune); | ||||
▲ Show 20 Lines • Show All 286 Lines • Show Last 20 Lines |