Changeset View
Changeset View
Standalone View
Standalone View
src/undo.h
Show All 16 Lines | |||||
class CBlockIndex; | class CBlockIndex; | ||||
class CCoinsViewCache; | class CCoinsViewCache; | ||||
class CValidationState; | class CValidationState; | ||||
/** | /** | ||||
* Undo information for a CTxIn | * Undo information for a CTxIn | ||||
* | * | ||||
* Contains the prevout's CTxOut being spent, and its metadata as well (coinbase | * Contains the prevout's CTxOut being spent, and its metadata as well (coinbase | ||||
* or not, height). The serialization contains a dummy value of zero. This is be | * or not, height). The serialization contains a dummy value of zero. This is | ||||
* compatible with older versions which expect to see the transaction version | * compatible with older versions which expect to see the transaction version | ||||
* there. | * there. | ||||
*/ | */ | ||||
class TxInUndoSerializer { | class TxInUndoSerializer { | ||||
const Coin *pcoin; | const Coin *pcoin; | ||||
public: | public: | ||||
explicit TxInUndoSerializer(const Coin *pcoinIn) : pcoin(pcoinIn) {} | explicit TxInUndoSerializer(const Coin *pcoinIn) : pcoin(pcoinIn) {} | ||||
▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines |