Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 349 Lines • ▼ Show 20 Lines | |||||
/** | /** | ||||
* Open a block file (blk?????.dat). | * Open a block file (blk?????.dat). | ||||
*/ | */ | ||||
FILE *OpenBlockFile(const CDiskBlockPos &pos, bool fReadOnly = false); | FILE *OpenBlockFile(const CDiskBlockPos &pos, bool fReadOnly = false); | ||||
/** | /** | ||||
* Translation to a filesystem path. | * Translation to a filesystem path. | ||||
*/ | */ | ||||
fs::path GetBlockPosFilename(const CDiskBlockPos &pos, const char *prefix); | fs::path GetBlockPosFilename(const CDiskBlockPos &pos); | ||||
/** | /** | ||||
* Import blocks from an external file. | * Import blocks from an external file. | ||||
*/ | */ | ||||
bool LoadExternalBlockFile(const Config &config, FILE *fileIn, | bool LoadExternalBlockFile(const Config &config, FILE *fileIn, | ||||
CDiskBlockPos *dbp = nullptr); | CDiskBlockPos *dbp = nullptr); | ||||
/** | /** | ||||
▲ Show 20 Lines • Show All 353 Lines • Show Last 20 Lines |