Skip to content

Commit 958945e

Browse files
NateIsernclaude
andcommitted
docs: changelog 0.3.2 (price oracle, RPC-fanout caps, pagination bounds)
Document the merged hardening PRs and bump version: - price oracle off slot0 spot -> indexed pool price (#11) - prevout fan-out cap + rate-limit /api/transaction and /api/address (#10) - bound /api/blocks pagination offset (#9) - validate WFAIR reserves response (#14) - scope stats-history sparklines to mainnet (#12) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 8150444 commit 958945e

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,31 @@ All notable changes to the FairCoin Explorer are documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.3.2] - 2026-06-25
9+
10+
### Security
11+
12+
- **Stop using the Uniswap V3 `slot0` spot price as the FAIR price oracle.** An
13+
instantaneous pool tick on a low-liquidity pool is manipulable within a block.
14+
The price now comes from GeckoTerminal's indexed price for the WFAIR/USDC pool
15+
(`base_token_price_usd`, with a base/quote-token guard) — available and not a
16+
raw on-chain spot read (#11).
17+
- **Cap prevout-lookup fan-out and rate-limit RPC-heavy paths.** `getTransaction`
18+
enforces a per-request prevout-lookup budget (and a tighter per-address-page
19+
aggregate), and `/api/transaction` + `/api/address` now run through the strict
20+
limiter, preventing RPC-amplification abuse (#10).
21+
- **Bound public block pagination.** `/api/blocks` clamps the `offset` to a maximum
22+
so a remote client can't request arbitrarily deep pages (#9).
23+
- **Validate the WFAIR reserves API response** before rendering it; malformed or
24+
unexpected payloads degrade to "unavailable" instead of being trusted (#14).
25+
26+
### Changed
27+
28+
- **Scope the stats-history sparklines to mainnet views**, so testnet/other-network
29+
pages don't pull mainnet history (#12).
30+
31+
[0.3.2]: https://github.com/FairCoinOfficial/Explorer/releases/tag/v0.3.2
32+
833
## [0.3.1] - 2026-06-25
934

1035
### Security

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "faircoin-explorer",
33
"private": true,
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

0 commit comments

Comments
 (0)