[#kernel-BlockTreeDB-ReadLastBlockFile] = xref:kernel.adoc[kernel]::xref:kernel/BlockTreeDB.adoc[BlockTreeDB]::ReadLastBlockFile :relfileprefix: ../../ :mrdocs: Read the number of the last block file in use. == Synopsis Declared in `<node/blockstorage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool ReadLastBlockFile(int& nFile); ---- == Return Value True on success, false if the value could not be read. == Parameters [cols="1,4"] |=== | Name| Description | *nFile* | Output filled with the last block‐file number. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#