Carl Dong
bec86ae326
blockstorage: Make m_block_index own CBlockIndex's
...
Instead of having CBlockIndex's live on the heap, which requires manual
memory management, have them be owned by m_block_index. This means that
they will live and die with BlockManager.
A change to BlockManager::LookupBlockIndex:
- Previously, it was a const member function returning a non-const CBlockIndex*
- Now, there's are const and non-const versions of
BlockManager::LookupBlockIndex returning a CBlockIndex with the same
const-ness as the member function:
(e.g. const CBlockIndex* LookupBlockIndex(...) const)
See next commit for some weirdness that this eliminates.
The range based for-loops are modernize (using auto + destructuring) in
a future commit.
2022-02-22 11:52:19 -05:00
..
2022-02-04 09:33:41 -05:00
2022-02-01 11:19:18 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-02-17 03:42:08 +09:00
2022-02-17 00:36:47 +01:00
2022-01-06 22:14:16 -05:00
2022-01-25 10:16:06 +01:00
2021-12-30 19:36:57 +02:00
2022-02-04 22:47:49 +08:00
2022-02-22 11:52:19 -05:00
2022-02-14 16:01:26 -05:00
2022-02-19 09:35:10 +01:00
2022-02-22 14:12:20 +02:00
2022-02-22 11:52:19 -05:00
2022-02-15 11:57:25 -05:00
2021-12-15 09:19:50 -05:00
2022-01-02 11:40:31 +01:00
2022-02-22 13:08:08 +01:00
2022-02-21 14:32:53 +01:00
2022-02-22 11:52:19 -05:00
2022-01-31 16:53:12 +01:00
2022-02-03 18:35:52 +08:00
2021-12-30 19:36:57 +02:00
2021-12-28 21:54:51 +01:00
2022-01-04 23:08:11 +08:00
2022-01-04 23:08:11 +08:00
2022-01-13 15:56:59 +01:00
2022-01-28 19:27:25 +00:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-02-21 14:16:48 +01:00
2022-01-28 15:26:24 +01:00
2021-12-30 19:36:57 +02:00
2022-02-18 07:29:06 +02:00
2022-01-06 22:14:16 -05:00
2022-01-06 11:29:55 -05:00
2022-01-25 10:49:46 +01:00
2022-01-31 09:23:54 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-26 12:58:23 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-02-11 17:21:44 +01:00
2022-01-07 13:37:47 -05:00
2021-12-30 19:36:57 +02:00
2022-01-02 11:40:31 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-06 22:14:16 -05:00
2021-12-30 19:36:57 +02:00
2022-02-03 18:35:52 +08:00
2022-02-17 12:30:11 +01:00
2021-12-30 19:36:57 +02:00
2022-01-02 11:40:31 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-13 18:35:25 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-02-21 08:16:31 +01:00
2022-01-06 22:14:16 -05:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-02-03 18:35:52 +08:00
2022-02-03 18:35:52 +08:00
2022-02-14 21:12:39 +01:00
2022-02-13 20:59:07 +00:00
2022-02-13 20:59:07 +00:00
2022-02-13 20:59:07 +00:00
2021-12-20 10:53:01 -05:00
2021-12-20 10:53:01 -05:00
2022-02-15 12:19:34 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-25 20:43:37 +01:00
2022-01-25 18:48:41 +01:00
2021-12-30 19:36:57 +02:00
2022-02-21 19:07:29 +01:00
2022-02-04 09:24:17 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-02 11:40:31 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-02 11:40:31 +01:00
2022-02-02 17:22:42 +01:00
2022-01-30 08:59:10 -03:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-06 22:14:16 -05:00
2022-01-14 13:25:23 +01:00
2022-01-14 13:27:41 +01:00
2022-01-02 11:52:11 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-02 11:13:40 +01:00
2022-02-09 17:21:04 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-02-21 19:07:29 +01:00
2022-01-28 20:52:53 +01:00
2022-01-25 11:20:18 +08:00
2022-01-25 11:20:18 +08:00
2021-12-30 19:36:57 +02:00
2022-01-02 11:40:31 +01:00
2022-02-22 11:52:19 -05:00
2022-02-21 07:52:57 +01:00
2022-01-28 18:07:08 +10:00
2022-01-28 08:46:03 +01:00
2022-01-06 22:14:16 -05:00
2021-12-30 19:36:57 +02:00