|
|
|
@ -25,7 +25,6 @@
@@ -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);
@@ -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 |
|
|
|
|