[#node-BlockManager-OpenBlockFile] = xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::OpenBlockFile :relfileprefix: ../../ :mrdocs: Open a block file (blk?????.dat) == Synopsis Declared in `<node/blockstorage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:AutoFile.adoc[AutoFile] OpenBlockFile( xref:FlatFilePos.adoc[FlatFilePos] const& pos, bool fReadOnly) const; ---- == Return Value An open file handle for the block file. == Parameters [cols="1,4"] |=== | Name| Description | *pos* | Position identifying the block file and offset. | *fReadOnly* | Whether to open the file read‐only. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#