Bitcoin ABC 0.30.5
P2P Digital Currency
|
#include <coins.h>
#include <compressor.h>
#include <consensus/consensus.h>
#include <disconnectresult.h>
#include <serialize.h>
#include <version.h>
Go to the source code of this file.
Classes | |
struct | TxInUndoFormatter |
Formatter for undo information for a CTxIn. More... | |
class | CTxUndo |
Restore the UTXO in a Coin at a given COutPoint. More... | |
class | CBlockUndo |
Undo information for a CBlock. More... | |
Functions | |
DisconnectResult | UndoCoinSpend (Coin &&undo, CCoinsViewCache &view, const COutPoint &out) |
Restore the UTXO in a Coin at a given COutPoint. More... | |
DisconnectResult | ApplyBlockUndo (CBlockUndo &&blockUndo, const CBlock &block, const CBlockIndex *pindex, CCoinsViewCache &coins) |
Undo a block from the block and the undoblock data. More... | |
DisconnectResult ApplyBlockUndo | ( | CBlockUndo && | blockUndo, |
const CBlock & | block, | ||
const CBlockIndex * | pindex, | ||
CCoinsViewCache & | coins | ||
) |
Undo a block from the block and the undoblock data.
See DisconnectBlock for more details.
Definition at line 1913 of file validation.cpp.
DisconnectResult UndoCoinSpend | ( | Coin && | undo, |
CCoinsViewCache & | view, | ||
const COutPoint & | out | ||
) |
Restore the UTXO in a Coin at a given COutPoint.
undo | The Coin to be restored. |
view | The coins view to which to apply the changes. |
out | The out point that corresponds to the tx input. |
Definition at line 1859 of file validation.cpp.