Write a block's undo data to disk and record it in the block index.
Synopsis
Declared in <node/blockstorage.h>
[[requires_capability(0x7fbc8f17b1b8), requires_capability(0x7fbca3f046e8), requires_capability(0x7fbcace16938), requires_capability(0x7fbca6c585a8), requires_capability(0x7fbcad35fd48), requires_capability(0x7fbc9fba1b08)]]
bool
WriteBlockUndo(
CBlockUndo const& blockundo,
BlockValidationState& state,
CBlockIndex& block);
Return Value
True on success, false if writing failed.
Parameters
Name |
Description |
blockundo |
The undo data to store. |
state |
Validation state updated on failure. |
block |
The block index entry the undo data belongs to. |
Created with MrDocs