Open a block file (blk?????.dat)

Synopsis

Declared in <node/blockstorage.h>

AutoFile
OpenBlockFile(
    FlatFilePos const& pos,
    bool fReadOnly) const;

Return Value

An open file handle for the block file.

Parameters

Name

Description

pos

Position identifying the block file and offset.

fReadOnly

Whether to open the file read‐only.

Created with MrDocs