The generated test harness serves the daemon clock, so you can boot nodes in sim time and drive it, or skew wall time.
Released on August 20, 2026
- Boot a node in sim time under the generated test harness with
use_sim_timeand drive its virtual clock yourself withharness.clock.tick(...), with no time existing until you tick. - Skew the wall clock the harness serves with
harness.clock.set_offset_ns(...)to exercise a node's clock-offset handling without touching the host clock. - Run standalone (daemon-less) nodes in sim time with
StandaloneConfig.with_use_sim_time(...), which no longer requires a real daemon stack. peppygen.clock.initnow rebinds when a different node initializes it, so consecutive test-harness boots in one process each read their own clock.