merge-script
5cf6ea24d3
Merge bitcoin/bitcoin#34479 : fuzz: Add and use NodeClockContext
...
faea12ecd9 test: Fixup docs for NodeClockContext and SteadyClockContext (MarcoFalke)
eeeeb2a0b9 fuzz: Use NodeClockContext (MarcoFalke)
fa4fae6227 test: Add NodeClockContext (MarcoFalke)
Pull request description:
Iterating over fuzz inputs will usually be done in the same process. As the mocktime is global, it can theoretically leak from one fuzz input run into the next run, making it less deterministic.
Fix this issue, by adding and using a context manager to handle the mocktime and reset it before the end.
This refactor should not change any behavior.
ACKs for top commit:
seduless:
re-ACK faea12ecd9
dergoegge:
utACK faea12ecd9
brunoerg:
code review ACK faea12ecd9
Tree-SHA512: e222c4e4217a504d058b30f1e975dfdfff019363c82385bd62f368b16fb029c46a5d1b43cd773dbdd9efcd7f968d46dbe2c75812971696b1b879b8f081fc6b1b
2026-03-18 16:09:31 +01:00
..
2026-03-12 18:13:33 +01:00
2025-12-16 22:21:15 +01:00
2026-03-10 11:01:37 +01:00
2026-01-20 23:59:43 +01:00
2026-01-20 23:59:41 +01:00
2025-12-16 22:21:15 +01:00
2026-03-10 11:01:37 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-01-14 11:38:07 -08:00
2026-03-10 11:01:37 +01:00
2025-12-16 22:21:15 +01:00
2026-02-06 07:56:57 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-02-17 21:40:46 +05:30
2025-12-16 22:21:15 +01:00
2026-02-24 12:05:17 -05:00
2026-01-30 16:17:12 -05:00
2026-02-23 15:58:24 +01:00
2026-02-12 21:31:23 -05:00
2026-03-18 16:09:31 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-02-02 15:20:47 -08:00
2026-02-06 07:56:57 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-02-13 10:52:25 +01:00
2025-12-16 22:21:15 +01:00
2025-12-17 11:57:11 -03:00
2025-12-16 22:21:15 +01:00
2026-01-31 08:45:10 +03:00
2025-12-16 22:21:15 +01:00
2026-03-10 11:01:37 +01:00
2025-12-16 22:21:15 +01:00
2026-03-10 11:01:37 +01:00
2026-01-20 15:47:17 -08:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-03-10 11:01:37 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-03-10 11:01:37 +01:00
2026-02-02 15:20:51 -08:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-03-10 11:01:37 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-03-10 11:01:37 +01:00
2026-03-10 11:01:37 +01:00
2026-01-27 14:45:35 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-03-10 11:01:37 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-11-25 10:35:11 +00:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-03-18 16:09:31 +01:00
2026-03-18 16:09:31 +01:00
2025-12-16 22:21:15 +01:00
2026-03-04 11:56:02 -05:00
2025-12-16 22:21:15 +01:00
2026-03-10 11:01:37 +01:00
2025-12-16 22:21:15 +01:00
2026-03-10 11:01:37 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-02-06 07:56:57 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-03-10 11:01:37 +01:00
2026-02-11 15:48:00 +00:00
2025-12-16 22:21:15 +01:00
2025-12-16 22:21:15 +01:00
2026-02-17 15:02:40 -05:00
2025-12-16 22:21:15 +01:00
2026-02-06 07:56:57 +01:00
2026-02-06 07:56:57 +01:00
2026-02-06 07:56:57 +01:00
2026-01-27 14:45:35 +01:00
2026-03-10 11:01:37 +01:00
2026-02-24 10:08:47 -05:00
2026-03-10 11:01:37 +01:00
2025-12-16 22:21:15 +01:00
2026-01-23 15:59:07 +01:00
2026-02-06 18:00:18 -08:00
2026-03-10 11:01:37 +01:00
2026-03-10 11:01:37 +01:00
2026-03-10 11:01:37 +01:00
2025-12-16 22:21:15 +01:00