- Fetch Horizon via curl inside the container (127.0.0.1:8000) instead of
the host port 31401; the host->bridge forwarding hung until the 5 s
timeout and made each cycle take ~6 s instead of ~1 s
- Report an error when Horizon's core_latest_ledger is 0 (no connection
to stellar-core) instead of a false "Synced" with a negative lag
- Compute the ingest lag against stellar-core's own ledger
- "History Oldest" now shows history_elder_ledger; the latest ledger is
listed separately as "History Latest"
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Optional JSON config ($PI_STAT_CONFIG, ~/.config/pi-stat/config.json,
<script dir>/pi-stat.json) with refresh_interval; -i SEC overrides it
- Refresh deadline anchored to cycle start; warn when a cycle takes
>= 80% of the refresh interval or exceeds it
- Switch the tty to cbreak once per session so keypresses made during a
long cycle are not dropped
- Ship pi-stat.json with the repo
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>