merge-script
48d4b936e0
Merge bitcoin/bitcoin#33511 : init: Fix Ctrl-C shutdown hangs during wait calls
...
c25a5e670b init: Signal m_tip_block_cv on Ctrl-C (Ryan Ofsky)
6a29f79006 test: Test SIGTERM handling during waitforblockheight call (Ryan Ofsky)
Pull request description:
Signal `m_tip_block_cv` when Ctrl-C is pressed or `SIGTERM` is received, the same way it is currently signaled when the `stop` RPC is called. This lets RPC calls like `waitforblockheight` and IPC calls like `waitTipChanged` be interrupted, instead of waiting for their original timeouts and delaying shutdown.
This issue was reported by plebhash in #33463 . These hangs have been present since #30409 . A similar bug was also fixed previously in Qt in #18452 and this PR simplifies that fix.
ACKs for top commit:
Sjors:
tACK c25a5e670b
TheCharlatan:
ACK c25a5e670b
enirox001:
Concept ACK c25a5e6
Tree-SHA512: 320aaa74fd308e826521c48c9a8aca4bd5f5530064cda2303d251d8e93e50c474bcd0db760ce04921928e73abefe4847aff797ac9ca7c89e74e5051bbed061cd
2025-11-12 10:16:29 -05:00
..
2025-10-28 22:41:07 +00:00
2025-10-28 22:41:07 +00:00
2025-09-16 06:26:01 -04:00
2025-11-04 22:51:25 +01:00
2025-08-07 09:27:25 +01:00
2025-11-11 11:12:50 +00:00
2025-11-12 09:48:10 -05:00
2025-09-17 04:57:09 -04:00
2025-11-12 10:03:48 -05:00
2025-11-10 09:56:27 +00:00
2025-11-11 12:35:15 +01:00
2025-10-16 13:49:49 +01:00
2025-10-13 12:33:23 +01:00
2025-11-12 10:16:29 -05:00
2025-11-12 09:48:10 -05:00
2025-08-11 16:47:51 +01:00
2025-11-11 11:12:50 +00:00
2025-11-12 09:48:10 -05:00
2025-11-07 12:46:46 +00:00
2025-10-15 09:49:11 +01:00
2025-11-12 09:48:10 -05:00
2025-11-11 11:12:50 +00:00
2025-11-12 10:53:42 +00:00
2025-11-12 09:48:10 -05:00
2025-10-28 15:33:57 +00:00
2025-09-01 15:10:24 -07:00
2025-09-12 22:28:41 +02:00
2025-07-25 09:50:50 +02:00
2025-11-04 08:32:13 +01:00
2025-10-06 19:41:35 +01:00
2025-10-06 19:41:35 +01:00
2025-10-28 22:41:07 +00:00
2025-10-06 19:41:35 +01:00
2025-08-27 03:33:32 +10:00
2025-08-27 03:33:32 +10:00
2025-10-02 12:53:55 +01:00
2025-10-02 12:53:55 +01:00
2025-10-28 16:08:44 +01:00
2025-10-28 16:08:44 +01:00
2025-07-25 09:50:50 +02:00
2025-09-03 11:23:30 +01:00
2025-10-11 17:25:09 -04:00
2025-11-04 08:32:13 +01:00
2025-10-30 17:51:40 +01:00
2025-10-11 21:48:04 -04:00
2025-10-29 12:09:19 -04:00
2025-11-10 08:58:34 -08:00
2025-08-13 15:47:39 -07:00
2025-08-13 15:47:48 -07:00
2025-08-14 10:17:30 +10:00
2025-07-25 09:50:50 +02:00
2025-10-30 17:51:38 +01:00
2025-09-12 22:28:41 +02:00
2025-09-12 22:28:41 +02:00
2025-09-16 06:26:01 -04:00
2025-11-12 10:16:29 -05:00
2025-10-14 16:25:52 -04:00
2025-09-30 11:06:43 -07:00
2025-11-04 08:31:56 +01:00
2025-11-04 08:31:56 +01:00
2025-09-08 11:18:51 +02:00
2025-07-17 12:43:04 -04:00
2025-08-11 15:53:34 +01:00
2025-08-11 16:47:51 +01:00
2025-09-30 11:06:43 -07:00
2025-10-14 16:25:52 -04:00
2025-11-10 08:48:49 -08:00
2025-09-22 10:46:26 +10:00
2025-10-24 10:33:51 -07:00
2025-10-24 10:33:51 -07:00
2025-10-02 12:53:55 +01:00
2025-10-02 12:53:55 +01:00
2025-09-16 06:26:01 -04:00
2025-08-04 13:38:26 -04:00
2025-07-25 09:50:50 +02:00
2025-07-25 09:50:50 +02:00
2025-10-02 12:53:55 +01:00
2025-10-02 12:53:55 +01:00
2025-07-25 16:23:37 -07:00
2025-09-30 11:06:43 -07:00
2025-09-30 11:06:43 -07:00
2025-09-30 11:06:09 -07:00
2025-09-30 11:06:09 -07:00
2025-07-25 09:50:50 +02:00
2025-07-16 13:19:18 -07:00
2025-11-04 17:38:45 +00:00
2025-11-06 14:19:25 +01:00
2025-10-30 17:51:53 +01:00
2025-08-14 10:17:32 +10:00
2025-07-16 14:33:07 -07:00
2025-07-16 14:33:07 -07:00
2025-08-22 14:25:39 +00:00
2025-08-22 14:25:39 +00:00
2025-11-10 09:15:24 -08:00
2025-08-28 10:09:32 -07:00
2025-11-03 12:19:05 +01:00
2025-10-11 17:25:09 -04:00
2025-08-27 03:33:32 +10:00
2025-08-27 03:33:32 +10:00
2025-07-23 15:01:18 +01:00
2025-07-23 15:01:18 +01:00
2025-11-10 09:15:24 -08:00
2025-10-31 11:47:28 +01:00
2025-08-01 15:12:37 +02:00
2025-08-01 15:12:37 +02:00