Wladimir J. van der Laan
6c23b08203
CCoinsKeyHasher::operator() should return size_t
...
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 .
2014-08-07 09:28:37 +02:00
Pieter Wuille
bc42503f6a
Use unordered_map for CCoinsViewCache with salted hash
2014-07-14 16:13:08 +02:00
Wladimir J. van der Laan
dd638dd712
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 .
2014-07-01 12:48:16 +02:00
Gavin Andresen
4d707d5120
Add verbose boolean to getrawmempool
...
Also changes mempool to store CTxMemPoolEntries
to keep track of when they enter/exit the pool.
2013-11-30 15:42:10 +10:00
Gavin Andresen
0733c1bde6
Refactor: move GetValueIn(tx) to tx.GetValueIn()
...
GetValueIn makes more sense as a CTransaction member.
2013-11-30 15:42:10 +10:00
Pieter Wuille
a0fa20a12b
Move CCoins-related logic to coins.{cpp.h}
2013-11-10 19:37:56 +01:00