 |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Go to the documentation of this file.
39 template <
typename Stream>
48 template <
typename Stream>
51 unsigned int nCode = 0;
71 template <
typename Stream,
typename Operation>
72 inline void SerializationOp(Stream& s, Operation ser_action,
int nType,
int nVersion)
86 template <
typename Stream,
typename Operation>
87 inline void SerializationOp(Stream& s, Operation ser_action,
int nType,
int nVersion)
96 #endif // BITCOIN_UNDO_H
Undo information for a CTransaction.
bool ReadFromDisk(const CDiskBlockPos &pos, const uint256 &hashBlock)
unsigned int GetSerializeSize(char a, int, int=0)
std::vector< CTxUndo > vtxundo
void Serialize(Stream &s, int nType, int nVersion) const
unsigned int GetSerializeSize(int nType, int nVersion) const
An output of a transaction.
void SerializationOp(Stream &s, Operation ser_action, int nType, int nVersion)
CTxInUndo(const CTxOut &txoutIn, bool fCoinBaseIn=false, bool fCoinStakeIn=false, unsigned int nHeightIn=0, int nVersionIn=0)
256-bit unsigned big integer.
wrapper for CTxOut that provides a more compact serialization
bool WriteToDisk(CDiskBlockPos &pos, const uint256 &hashBlock)
void Unserialize(Stream &s, int nType, int nVersion)
Undo information for a CTxIn.
void SerializationOp(Stream &s, Operation ser_action, int nType, int nVersion)
std::vector< CTxInUndo > vprevout
T & REF(const T &val)
Used to bypass the rule against non-const reference to temporary where it makes sense with wrappers s...
Undo information for a CBlock.