diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-06-25 13:45:29 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-07-01 12:48:16 +0200 |
| commit | dd638dd712861a2fc419fe9b2b064ae303b074e6 (patch) | |
| tree | 399148512c76f75fd7f84ee25cd06c9ac61ac843 /src/txdb.h | |
| parent | fix copyright string in two of our *.rc files (diff) | |
| download | discoin-dd638dd712861a2fc419fe9b2b064ae303b074e6.tar.xz discoin-dd638dd712861a2fc419fe9b2b064ae303b074e6.zip | |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb.h b/src/txdb.h index 7257b0dd2..7d670c254 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); }; |