Kaz Wesley 9805f4af7e mapNextTx: use pointer as key, simplify value
Saves about 10% of application memory usage once the mempool warms up. Since the
mempool is DynamicUsage-regulated, this will translate to a larger mempool in
the same amount of space.

Map value type: eliminate the vin index; no users of the map need to know which
input of the transaction is spending the prevout.

Map key type: replace the COutPoint with a pointer to a COutPoint. A COutPoint
is 36 bytes, but each COutPoint is accessible from the same map entry's value.
A trivial DereferencingComparator functor allows indirect map keys, but the
resulting syntax is misleading: `map.find(&outpoint)`. Implement an indirectmap
that acts as a wrapper to a map that uses a DereferencingComparator, supporting
a syntax that accurately reflect the container's semantics: inserts and
iterators use pointers since they store pointers and need them to remain
constant and dereferenceable, but lookup functions take const references.
2016-06-02 12:31:51 -07:00
..
2015-12-13 18:08:39 +01:00
2016-04-15 16:44:23 +02:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2016-04-14 20:56:33 +02:00
2016-01-05 14:11:40 +01:00
2016-01-05 14:11:40 +01:00
2016-03-18 19:55:16 +00:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-11-13 18:15:20 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2016-04-28 13:43:32 +02:00
2015-11-13 11:10:48 +01:00
2016-04-14 20:56:33 +02:00
2016-04-14 20:56:33 +02:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2016-03-23 10:40:38 -04:00
2016-03-23 10:40:38 -04:00
2016-04-28 13:43:32 +02:00
2016-02-10 18:29:13 -08:00
2016-01-05 21:01:39 +01:00
2016-03-21 10:46:25 -04:00
2016-04-14 20:56:33 +02:00
2016-04-14 20:56:33 +02:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2016-01-05 21:01:39 +01:00
2015-11-12 17:58:15 +01:00
2015-12-13 18:08:39 +01:00
2016-03-18 08:03:55 +00:00
2016-01-05 21:01:39 +01:00
2016-03-11 15:04:05 +00:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2016-03-21 10:46:25 -04:00
2016-03-15 16:54:38 +01:00