aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-08-24 02:08:05 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-08-24 02:08:33 +0200
commitb0875eb3fea0934f3a6651fbc22aac12e33e15e5 (patch)
tree24d1ee392c0b29a61e0b4c09bae780d6ae35866d /src/txdb.h
parent5cd00bc8cb6820d3b41bea329fcf0c26c03db64a (diff)
Allow BatchWrite to destroy its input, reducing copying
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 7d670c2542..099f151776 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 CCoinsMap &mapCoins, const uint256 &hashBlock);
+ bool BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock);
bool GetStats(CCoinsStats &stats);
};