diff options
author | jtimon <jtimon@blockstream.io> | 2014-10-19 02:57:02 +0200 |
---|---|---|
committer | jtimon <jtimon@jtimon.cc> | 2014-12-27 15:46:09 +0100 |
commit | c444c620c62c51d65f7de0b2a3c351e61ab1e388 (patch) | |
tree | df3a6a164ba30069fcf9dd2a646cb593f90dad51 /src/coins.h | |
parent | 0f2308cf7cfffe13b0206802622cad4d9e009aa1 (diff) |
Decouple CCoins from CTxInUndo
Diffstat (limited to 'src/coins.h')
-rw-r--r-- | src/coins.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/coins.h b/src/coins.h index 9b73ae3a87..2be52ad171 100644 --- a/src/coins.h +++ b/src/coins.h @@ -9,7 +9,6 @@ #include "compressor.h" #include "serialize.h" #include "uint256.h" -#include "undo.h" #include <assert.h> #include <stdint.h> @@ -237,11 +236,8 @@ public: Cleanup(); } - //! mark an outpoint spent, and construct undo information - bool Spend(const COutPoint &out, CTxInUndo &undo); - //! mark a vout spent - bool Spend(int nPos); + bool Spend(uint32_t nPos); //! check whether a particular output is still available bool IsAvailable(unsigned int nPos) const { |