MOVEONLY: CBlockUndo from main.h to undo.h

This commit is contained in:
jtimon
2014-10-27 14:42:49 +01:00
committed by jtimon
parent e035c6a737
commit 937ba572d0
3 changed files with 15 additions and 16 deletions

View File

@@ -68,4 +68,18 @@ public:
}
};
/** Undo information for a CBlock */
class CBlockUndo
{
public:
std::vector<CTxUndo> vtxundo; // for all but the coinbase
ADD_SERIALIZE_METHODS;
template <typename Stream, typename Operation>
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
READWRITE(vtxundo);
}
};
#endif // BITCOIN_UNDO_H