Atomically write block‐file info, the last‐file marker, and block‐index entries.
Synopsis
Declared in <node/blockstorage.h>
void
WriteBatchSync(
std::vector<std::pair<int, CBlockFileInfo const*>> const& fileInfo,
int nLastFile,
std::vector<CBlockIndex const*> const& blockinfo);
Parameters
Name |
Description |
fileInfo |
Block‐file info entries to write, each paired with its file number. |
nLastFile |
Index of the last block file in use. |
blockinfo |
Block‐index entries to write. |
Created with MrDocs