Sjors Provoost 1e82fa498c
mining: add interrupt()
Both waitTipChanged() and createNewBlock() can take a long time to
return. Add a way for clients to interrupt them.

The new m_interrupt_mining is safely accessed with a lock on
m_tip_block_mutex, but it has no guard annotation. A more thorough
solution is discussed here:
https://github.com/bitcoin/bitcoin/pull/34184#discussion_r2743566474
2026-02-20 16:49:52 +01:00
..
2026-02-19 11:41:53 +01:00
2026-02-20 16:49:52 +01:00
2026-02-20 16:49:52 +01:00
2026-02-03 11:19:01 +01:00
2026-02-20 16:49:52 +01:00
2025-05-19 16:40:33 +01:00
2026-02-17 21:40:46 +05:30
2025-09-03 11:23:30 +01:00
2025-05-19 16:40:33 +01:00
2025-09-30 11:06:43 -07:00
2026-01-22 10:35:14 -05:00
2025-11-14 01:17:38 +02:00
2026-02-02 17:22:31 +00:00