Open a block file (blk?????.dat)
Declared in <node/blockstorage.h>
AutoFile
OpenBlockFile(
FlatFilePos const& pos,
bool fReadOnly) const;
An open file handle for the block file.
| Name | Description |
|---|---|
| pos | Position identifying the block file and offset. |
| fReadOnly | Whether to open the file read-only. |