aboutsummaryrefslogtreecommitdiff
path: root/src/coins.h
diff options
context:
space:
mode:
authorjtimon <jtimon@blockstream.io>2014-10-19 02:57:02 +0200
committerjtimon <jtimon@jtimon.cc>2014-12-27 15:46:09 +0100
commitc444c620c62c51d65f7de0b2a3c351e61ab1e388 (patch)
treedf3a6a164ba30069fcf9dd2a646cb593f90dad51 /src/coins.h
parent0f2308cf7cfffe13b0206802622cad4d9e009aa1 (diff)
downloadbitcoin-c444c620c62c51d65f7de0b2a3c351e61ab1e388.tar.xz
Decouple CCoins from CTxInUndo
Diffstat (limited to 'src/coins.h')
-rw-r--r--src/coins.h6
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 {