Skip to content

release: v1.9.1 — live price feed - #661

Merged
VijitSingh97 merged 3 commits into
mainfrom
develop
Jul 19, 2026
Merged

release: v1.9.1 — live price feed#661
VijitSingh97 merged 3 commits into
mainfrom
develop

Conversation

@VijitSingh97

Copy link
Copy Markdown
Collaborator

Merge v1.9.1 (tag = develop HEAD b8bec68, nothing post-cut — straight shape) into main; real merge, released-only invariant. Content: #646/#651 price feed + prep #653.

🤖 Generated with Claude Code

VijitSingh97 and others added 3 commits July 18, 2026 20:25
release: back-merge main into develop after v1.9.0
…on the earnings card (#646)

* feat(#520): opt-in live XMR/XTM price feed over Tor + fiat estimates on the earnings card

The deferred auto half of #520 (PR #614 shipped only the static prices).
dashboard.energy.price_feed (default false) fetches both spot prices from
CoinGecko in the operator's currency — always over the bridge Tor SOCKS,
15-min throttle, fail-silent, last-good-prices kept, static config prices
as the fallback. The earnings card states which price is in use (source +
age), and the Monero / Tari / XvB tabs grow ≈-fiat rows once a price is
known. New egress surfaces in the #170 posture + topology; pithead's
closed-schema energy validation gains the boolean key.

Hardening from security review: non-finite prices rejected (a hostile
NaN would break /api/state serialization) and the currency label must be
plainly alphabetic before it may leave the host as a query parameter.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* review: harden price feed (non-finite + currency-param guards), drop unused api_url knob

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* rebase: merge the #642 and #646 fixture-generator changes, regenerate state.json

Both PRs evolved _gen_state.py: #642 added the recorded raffle win,
this branch enriched the worker power blocks. The rebased generator
carries both and state.json is its real output again.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
VERSION + pyproject 1.9.1 lockstep, uv.lock regenerated, CHANGELOG
entry for the price feed (which shipped without one).

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@VijitSingh97
VijitSingh97 merged commit 9170226 into main Jul 19, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant