aboutsummaryrefslogtreecommitdiff
path: root/src/coins.h
Commit message (Collapse)AuthorAgeFilesLines
* add missing header end commentsPhilip Kaufmann2014-08-281-1/+2
| | | | | | - ensures a consistent usage in header files - also add a blank line after the copyright header where missing - also remove orphan new-lines at the end of some files
* Make appropriate getter-routines "const" in CCoinsView.Daniel Kraft2014-08-261-18/+23
| | | | Mark the "Get"/"Have" routines in CCoinsView and subclasses as "const".
* Allow BatchWrite to destroy its input, reducing copyingPieter Wuille2014-08-241-4/+6
|
* CCoinsKeyHasher::operator() should return size_tWladimir J. van der Laan2014-08-071-1/+4
| | | | | | | | | It currently returns uint64_t, which on older boost (at least 1.46) causes test failures on 32-bit systems. This problem was introduced in bc42503. Fixes #4634.
* Use unordered_map for CCoinsViewCache with salted hashPieter Wuille2014-07-141-1/+14
|
* typedef std::map<uint256, CCoins> to CCoinsMapWladimir J. van der Laan2014-07-011-5/+6
| | | | | | | This makes it possible to switch to a more efficient map type without changing all occurences manually. Merges half of #4413.
* Add verbose boolean to getrawmempoolGavin Andresen2013-11-301-0/+3
| | | | | Also changes mempool to store CTxMemPoolEntries to keep track of when they enter/exit the pool.
* Refactor: move GetValueIn(tx) to tx.GetValueIn()Gavin Andresen2013-11-301-1/+0
| | | | GetValueIn makes more sense as a CTransaction member.
* Move CCoins-related logic to coins.{cpp.h}Pieter Wuille2013-11-101-0/+356