Files
bitcoin/src
fanquake fd69ffbbfb Merge bitcoin/bitcoin#28427: index: coinstats reorg, fail when block cannot be reversed
c0bf667912 index: add [nodiscard] attribute to functions writing to the db (furszy)
eef595560e index: coinstats reorg, fail when block cannot be reversed (furszy)

Pull request description:

  Found it while reviewing https://github.com/bitcoin/bitcoin/pull/24230#discussion_r1310863359.

  During a reorg, continuing execution when a block cannot be reversed leaves the
  coinstats index in an inconsistent state.
  This was surely overlooked when 'CustomRewind' was implemented.

ACKs for top commit:
  ryanofsky:
    Code review ACK c0bf667912. Only change since last review is new commit adding [[nodiscard]]

Tree-SHA512: f4fc8522508d23e4fff09a29c935971819b1bd3b2a260e08e2e2b72f9340980d74fbec742a58fe216baf61d27de057c7c8300e8fa075f8507cd1227f128af909
2023-09-12 09:44:55 +01:00
..
2023-08-08 17:50:41 +02:00
2023-09-01 08:08:36 +01:00
2023-06-16 10:38:19 +01:00
2023-06-16 10:38:19 +01:00
2023-09-05 10:13:50 +02:00
2023-06-16 10:38:19 +01:00
2023-06-16 10:38:19 +01:00
2023-07-19 18:12:42 +02:00
2023-07-19 18:12:42 +02:00
2023-08-08 16:03:40 +02:00