Andrew Toth
67c0d1798e
coins: introduce CoinsViewOverlay
...
Introduce `CoinsViewOverlay`, a `CCoinsViewCache` subclass that reads
coins without mutating the underlying cache via `FetchCoin()`.
Use `PeekCoin()` to look up a Coin through a stack of `CCoinsViewCache` layers without populating parent caches. This prevents the main cache from caching inputs pulled from disk for a block that has not yet been fully validated. Once `Flush()` is called on the view, these inputs will be added as spent to `coinsCache` in the main cache via `BatchWrite()`.
This is the foundation for async input fetching, where worker threads must not
mutate shared state.
Co-authored-by: l0rinc <pap.lorinc@gmail.com>
2026-02-12 21:31:23 -05:00
..
2026-01-22 21:01:55 +01:00
2025-12-16 22:21:15 +01:00
2026-01-23 15:59:07 +01:00
2025-06-03 15:13:57 +02:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-05-13 15:50:02 +02:00
2025-03-12 19:46:54 +01:00
2025-12-16 22:21:15 +01:00
2026-01-14 11:38:07 -08:00
2026-01-12 16:54:11 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-01-12 17:38:30 -05:00
2025-12-16 11:25:46 -05:00
2026-01-29 09:47:10 -05:00
2026-02-12 21:31:23 -05:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-01-22 21:01:55 +01:00
2025-10-28 16:08:44 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-07-07 10:39:45 +02:00
2025-12-16 22:21:15 +01:00
2025-06-03 15:13:54 +02:00
2025-10-27 10:41:02 +01:00
2025-12-16 22:21:15 +01:00
2025-01-20 17:43:58 +01:00
2025-12-17 11:57:11 -03:00
2025-12-16 22:21:15 +01:00
2025-02-21 10:43:41 +01:00
2025-12-16 22:21:15 +01:00
2026-01-16 11:00:58 +01:00
2025-08-11 16:47:51 +01:00
2025-12-16 22:21:15 +01:00
2025-12-17 16:54:35 +00:00
2026-01-20 15:47:17 -08:00
2025-12-16 22:21:15 +01:00
2025-05-30 10:12:38 -04:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-11-30 10:57:48 -05:00
2026-01-20 12:17:19 -08:00
2025-12-16 22:21:15 +01:00
2025-10-09 20:47:25 +02:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-01-15 15:44:03 +01:00
2025-07-18 14:02:55 +02:00
2026-01-23 15:59:07 +01:00
2025-03-12 19:46:54 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-03 13:36:58 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-11-25 10:35:11 +00:00
2025-03-12 19:46:54 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-01-15 15:17:12 +01:00
2026-01-15 15:17:12 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-02 15:07:01 +00:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-03-12 19:46:54 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-08-14 10:17:32 +10:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-03-12 19:46:54 +01:00
2025-12-05 15:23:54 +00:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-01-19 20:20:13 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-30 12:12:26 -08:00
2025-12-03 13:36:58 +01:00
2025-12-16 22:21:15 +01:00
2026-01-23 15:59:07 +01:00
2026-01-26 11:36:24 +00:00
2026-01-29 14:43:27 -08:00
2026-01-03 12:43:57 +01:00
2025-12-16 22:21:15 +01:00
2025-06-03 19:56:55 +02:00
2025-12-16 22:21:15 +01:00