Write a block's undo data to disk and record it in the block index.
Synopsis
Declared in <node/blockstorage.h>
[[requires_capability(0x7f95130c9428), requires_capability(0x7f950163c718), requires_capability(0x7f95241d9708), requires_capability(0x7f951f330a08), requires_capability(0x7f950b9c29c8), requires_capability(0x7f95175c5118)]]
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