diff options
| author | jtimon <[email protected]> | 2014-10-19 02:57:02 +0200 |
|---|---|---|
| committer | jtimon <[email protected]> | 2014-12-27 15:46:09 +0100 |
| commit | c444c620c62c51d65f7de0b2a3c351e61ab1e388 (patch) | |
| tree | df3a6a164ba30069fcf9dd2a646cb593f90dad51 /src/coins.h | |
| parent | Merge pull request #5272 (diff) | |
| download | discoin-c444c620c62c51d65f7de0b2a3c351e61ab1e388.tar.xz discoin-c444c620c62c51d65f7de0b2a3c351e61ab1e388.zip | |
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 9b73ae3a8..2be52ad17 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 { |