MarcoFalke
c0224bc962
Merge bitcoin/bitcoin#22415 : Make m_mempool optional in CChainState
...
ceb7b35a39145717e2d9d356fd382bd1f95d2a5a refactor: move UpdateTip into CChainState (James O'Beirne)
4abf0779d6594e97222279110c328b75b5f3db7b refactor: no mempool arg to GetCoinsCacheSizeState (James O'Beirne)
46e3efd1e4ae2f058ecfffdaee7e882c4305eb35 refactor: move UpdateMempoolForReorg into CChainState (James O'Beirne)
617661703ac29e0744f21de74501d033fdc53ff6 validation: make CChainState::m_mempool optional (James O'Beirne)
Pull request description:
Make `CChainState::m_mempool` optional by making it a pointer instead of a reference. This will allow a simplification to assumeutxo semantics (see https://github.com/bitcoin/bitcoin/pull/15606#pullrequestreview-692965905 ) and help facilitate the `-nomempool` option.
ACKs for top commit:
jnewbery:
ACK ceb7b35a39145717e2d9d356fd382bd1f95d2a5a
naumenkogs:
ACK ceb7b35a39145717e2d9d356fd382bd1f95d2a5a
ryanofsky:
Code review ACK ceb7b35a39145717e2d9d356fd382bd1f95d2a5a (just minor style and test tweaks since last review)
lsilva01:
Code review ACK and tested on Signet ACK ceb7b35a39
MarcoFalke:
review ACK ceb7b35a39145717e2d9d356fd382bd1f95d2a5a 😌
Tree-SHA512: cc445ad33439d5918cacf80a6354eea8f3d33bb7719573ed5b970fad1a0dab410bcd70be44c862b8aba1b71263b82d79876688c553e339362653dfb3d8ec81e6
2021-07-15 13:40:03 +02:00
..
2021-06-24 11:13:12 +02:00
2021-05-24 16:15:05 -07:00
2021-07-01 20:04:07 +02:00
2020-12-08 19:26:30 +01:00
2021-04-19 20:28:46 +02:00
2021-06-10 15:05:24 -04:00
2021-06-10 09:58:45 -05:00
2021-06-16 10:48:58 +02:00
2021-04-23 03:02:50 -05:00
2021-06-30 08:18:58 +10:00
2021-06-02 17:26:44 +01:00
2020-12-31 09:45:41 +01:00
2021-07-06 00:02:49 +03:00
2021-07-15 08:34:40 +02:00
2021-07-01 09:58:40 +12:00
2021-04-23 11:35:15 -07:00
2021-02-01 15:17:28 +01:00
2021-07-15 13:40:03 +02:00
2020-11-19 15:48:24 +01:00
2021-07-01 12:16:47 +03:00
2021-07-01 19:11:20 +08:00
2021-06-09 19:25:13 +08:00
2021-02-18 10:07:37 +00:00
2021-06-21 14:39:44 +02:00
2021-06-21 14:39:44 +02:00
2021-07-09 11:19:38 +02:00
2021-07-09 11:19:38 +02:00
2020-12-31 09:45:41 +01:00
2021-06-21 14:39:44 +02:00
2021-06-21 14:39:44 +02:00
2021-01-31 17:35:16 +01:00
2020-12-31 09:45:41 +01:00
2021-03-17 17:59:22 -07:00
2021-03-17 17:59:22 -07:00
2020-11-18 12:00:57 -05:00
2021-06-23 14:40:55 +02:00
2020-11-18 12:00:57 -05:00
2021-06-12 12:38:17 -07:00
2021-01-12 18:34:25 +10:00
2021-06-18 20:10:07 +02:00
2020-11-18 12:00:57 -05:00
2021-06-18 20:09:23 +02:00
2020-11-18 12:00:57 -05:00
2021-06-10 09:58:45 -05:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-06-03 13:53:31 +02:00
2021-06-30 08:19:12 +10:00
2021-07-09 11:19:36 +02:00
2021-04-12 11:14:49 +10:00
2020-12-31 09:45:41 +01:00
2021-07-09 11:19:35 +02:00
2020-09-24 06:55:34 +03:00
2020-12-31 09:45:41 +01:00
2021-02-01 22:30:05 +02:00
2021-06-17 09:47:08 -04:00
2021-06-17 09:47:08 -04:00
2021-03-01 17:36:16 +01:00
2021-05-04 06:53:32 +02:00
2021-03-23 10:51:43 -04:00
2021-06-12 12:38:17 -07:00
2021-03-23 10:51:43 -04:00
2021-01-04 12:23:16 +08:00
2021-05-04 06:53:37 +02:00
2021-02-01 15:17:28 +01:00
2021-06-30 08:19:12 +10:00
2021-06-30 08:19:12 +10:00
2021-06-30 08:19:12 +10:00
2021-07-01 20:20:52 +02:00
2021-04-12 19:29:03 -04:00
2021-06-16 10:48:58 +02:00
2021-06-16 10:48:58 +02:00
2021-02-10 20:46:25 +00:00
2021-01-15 22:48:15 +01:00
2021-01-15 22:48:15 +01:00
2021-01-04 12:23:16 +08:00
2021-04-23 11:35:15 -07:00
2021-04-07 04:53:26 -04:00
2021-03-29 23:29:42 +02:00
2021-06-28 11:47:05 +02:00
2021-07-09 11:19:37 +02:00
2021-03-16 13:59:18 +01:00
2021-07-15 13:40:03 +02:00
2021-07-12 21:46:59 +08:00
2021-05-24 12:14:16 -07:00
2021-01-24 02:44:53 +01:00
2021-06-12 12:25:28 -07:00
2021-06-12 12:25:28 -07:00
2021-04-23 03:02:50 -05:00
2021-04-23 03:02:50 -05:00
2021-07-07 19:31:37 +08:00
2021-01-07 18:07:09 +02:00
2020-12-08 19:26:30 +01:00
2020-10-27 19:40:44 +01:00
2021-06-03 21:25:30 +08:00
2021-03-29 11:12:26 +08:00
2021-03-04 12:34:46 +08:00
2021-03-30 10:42:45 +02:00
2021-06-16 10:41:24 +02:00
2021-04-29 18:39:01 +03:00
2021-01-07 18:07:09 +02:00
2021-01-04 12:31:31 +08:00
2020-12-31 09:45:41 +01:00
2021-06-30 08:19:12 +10:00
2021-05-27 13:50:11 -04:00
2021-05-19 19:41:05 +02:00
2021-05-19 19:41:05 +02:00
2021-06-29 17:11:12 +10:00
2021-05-04 09:31:03 +01:00
2021-07-13 14:52:41 +02:00
2021-07-12 10:08:22 +02:00
2021-07-08 17:20:35 +02:00
2021-07-09 11:19:35 +02:00
2021-03-30 17:41:13 +02:00
2021-04-06 14:50:17 +08:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-06-22 21:57:04 -04:00
2021-06-22 21:57:04 -04:00
2021-05-13 12:42:21 +01:00
2021-05-24 18:06:35 -07:00
2021-06-12 12:25:28 -07:00
2021-06-12 12:25:28 -07:00
2021-06-12 12:25:28 -07:00
2021-06-12 12:25:28 -07:00
2021-05-04 06:55:31 +02:00
2021-03-29 11:08:29 +08:00
2021-06-10 15:05:25 -04:00
2021-05-14 12:49:16 +02:00
2021-01-29 15:39:44 +08:00
2021-05-31 14:56:17 +02:00
2021-04-04 18:08:36 +02:00
2021-04-04 18:08:36 +02:00
2021-04-13 10:24:31 +08:00
2021-03-15 10:41:30 +08:00
2020-11-25 15:18:33 +01:00
2021-05-05 20:19:03 +02:00
2021-01-26 15:57:28 +08:00
2021-04-05 08:42:15 +02:00
2020-12-31 09:45:41 +01:00
2020-10-12 19:50:16 -07:00
2020-12-01 18:36:39 +01:00
2021-05-24 10:29:58 +02:00
2021-03-02 12:21:32 +00:00
2021-06-18 14:15:39 -04:00
2021-06-18 14:14:15 -04:00
2021-06-10 15:05:24 -04:00
2021-06-02 09:40:40 +01:00
2021-02-27 01:08:09 +10:00
2021-04-07 19:26:25 +01:00
2021-04-07 19:26:25 +01:00
2020-10-12 12:14:53 -07:00
2020-12-31 09:45:41 +01:00
2021-05-24 12:14:16 -07:00
2021-07-15 13:40:03 +02:00
2021-07-13 11:16:37 -04:00
2020-12-31 09:45:41 +01:00
2021-06-30 08:19:12 +10:00
2021-06-30 08:19:12 +10:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00