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 .
10 years ago
Pieter Wuille
bc42503f6a
Use unordered_map for CCoinsViewCache with salted hash
11 years ago
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 .
11 years ago
Gavin Andresen
4d707d5120
Add verbose boolean to getrawmempool
...
Also changes mempool to store CTxMemPoolEntries
to keep track of when they enter/exit the pool.
11 years ago
Gavin Andresen
0733c1bde6
Refactor: move GetValueIn(tx) to tx.GetValueIn()
...
GetValueIn makes more sense as a CTransaction member.
11 years ago
Pieter Wuille
a0fa20a12b
Move CCoins-related logic to coins.{cpp.h}
11 years ago