Tags: qubic/core-lite
Tags
rpc: release swap pins per request (fix tickData "all cache pages pin… …ned") rpcUnixHandleConn is a one-shot detached thread with no PinScope, so tickData/ticks/tx pins taken by handlers leaked forever (thread_local arena dies unreleased) and accumulated to CACHE_PAGE over an epoch -> fatal at epoch end. Wrap dispatch in a PinScope.
fork rollback: add --fork-force-rollback-every N test flag Forces a single-tick fork + rollback (rewind to the tick-1 state, then strict replay) every N ticks on an AUX node (0 = off), to stress the rollback path at a controlled cadence instead of every tick. The forced tick establishes a fresh checkpoint and verdict forces the mismatch branch; MAIN mode and the strict re-run are skipped as usual. Validated live (.49 testnet MAIN + local AUX, N=5): 42 promotes all at tick%5==0, log-state digest matches the canonical MAIN at every checkpoint, no crashes.
PreviousNext