aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorDaniel Kraft <[email protected]>2014-07-19 16:42:48 +0200
committerDaniel Kraft <[email protected]>2014-08-26 11:29:18 +0200
commita3dc587a62f5d12aea1ff8139198bf0441535c5f (patch)
tree4759437af72c07a075c6819bb5c2435d7350f0d8 /src/txmempool.h
parentMark LevelDB "Read" and "Exists" functions as const. (diff)
downloaddiscoin-a3dc587a62f5d12aea1ff8139198bf0441535c5f.tar.xz
discoin-a3dc587a62f5d12aea1ff8139198bf0441535c5f.zip
Make appropriate getter-routines "const" in CCoinsView.
Mark the "Get"/"Have" routines in CCoinsView and subclasses as "const".
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index 2577397bc..074c35507 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -143,8 +143,8 @@ protected:
public:
CCoinsViewMemPool(CCoinsView &baseIn, CTxMemPool &mempoolIn);
- bool GetCoins(const uint256 &txid, CCoins &coins);
- bool HaveCoins(const uint256 &txid);
+ bool GetCoins(const uint256 &txid, CCoins &coins) const;
+ bool HaveCoins(const uint256 &txid) const;
};
#endif /* BITCOIN_TXMEMPOOL_H */