[#kernel-BlockTreeDB-ReadBlockFileInfo]
= xref:kernel.adoc[kernel]::xref:kernel/BlockTreeDB.adoc[BlockTreeDB]::ReadBlockFileInfo
:relfileprefix: ../../
:mrdocs:

Read the stored info for one block file&period;

== Synopsis

Declared in `&lt;node&sol;blockstorage&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
ReadBlockFileInfo(
    int nFile,
    xref:kernel/CBlockFileInfo.adoc[CBlockFileInfo]& info);
----

== Return Value

True on success, false if the entry could not be read&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nFile*
| The block&hyphen;file number to read&period;
| *info*
| Output filled with the block&hyphen;file info&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
