Read a block from disk using its block index entry.
Declared in <node/blockstorage.h>
bool
ReadBlock(
CBlock& block,
CBlockIndex const& index) const;
True on success, false if the block could not be read.
| Name | Description |
|---|---|
| block | Output filled with the deserialized block. |
| index | The block index entry identifying the block to read. |