aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorjtimon <jtimon@blockstream.io>2014-10-27 14:42:49 +0100
committerjtimon <jtimon@jtimon.cc>2014-12-27 16:01:31 +0100
commit937ba572d0758891f43c658d7d98d7bd747c3ce4 (patch)
treeb88f675d571a636c0d5fd638b802257419f2444a /src/main.h
parente035c6a7371027fe33c460ee2d0946a7f1e4e592 (diff)
MOVEONLY: CBlockUndo from main.h to undo.h
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main.h b/src/main.h
index 7d6c293a3f..9049f5bb7d 100644
--- a/src/main.h
+++ b/src/main.h
@@ -25,7 +25,6 @@
#include "tinyformat.h"
#include "txmempool.h"
#include "uint256.h"
-#include "undo.h"
#include <algorithm>
#include <exception>
@@ -302,21 +301,6 @@ bool IsStandardTx(const CTransaction& tx, std::string& reason);
bool IsFinalTx(const CTransaction &tx, int nBlockHeight = 0, int64_t nBlockTime = 0);
-/** 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);
- }
-};
-
-
/**
* Closure representing one script verification
* Note that this stores references to the spending transaction