kernel::BlockTreeDB::ReadLastBlockFile

Read the number of the last block file in use.

Synopsis

Declared in <node/blockstorage.h>

bool
ReadLastBlockFile(int& nFile);

Return Value

True on success, false if the value could not be read.

Parameters

NameDescription
nFileOutput filled with the last block-file number.