aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-06-25 13:45:29 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-07-01 12:48:16 +0200
commitdd638dd712861a2fc419fe9b2b064ae303b074e6 (patch)
tree399148512c76f75fd7f84ee25cd06c9ac61ac843 /src/txdb.h
parent8d9cc7d743583f6cb72d224af458fa5f470b00e8 (diff)
downloadbitcoin-dd638dd712861a2fc419fe9b2b064ae303b074e6.tar.xz
typedef std::map<uint256, CCoins> to CCoinsMap
This makes it possible to switch to a more efficient map type without changing all occurences manually. Merges half of #4413.
Diffstat (limited to 'src/txdb.h')
-rw-r--r--src/txdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb.h b/src/txdb.h
index 7257b0dd21..7d670c2542 100644
--- a/src/txdb.h
+++ b/src/txdb.h
@@ -37,7 +37,7 @@ public:
bool HaveCoins(const uint256 &txid);
uint256 GetBestBlock();
bool SetBestBlock(const uint256 &hashBlock);
- bool BatchWrite(const std::map<uint256, CCoins> &mapCoins, const uint256 &hashBlock);
+ bool BatchWrite(const CCoinsMap &mapCoins, const uint256 &hashBlock);
bool GetStats(CCoinsStats &stats);
};