xycyxc
All checks were successful
Deploy / deploy-staging (push) Successful in 7s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-05 23:20:29 +02:00
parent eb8b04a621
commit e335a8d5bf
5 changed files with 7 additions and 218 deletions

View File

@@ -48,7 +48,6 @@ modules/mining-checker/
- `POST /api/mining-checker/v1/projects/{projectKey}/initialize`
- `POST /api/mining-checker/v1/projects/{projectKey}/upgrade`
- `GET /api/mining-checker/v1/projects/{projectKey}/connection-test`
- `POST /api/mining-checker/v1/projects/{projectKey}/fx-refresh`
- `GET /api/mining-checker/v1/projects/{projectKey}/fx-history`
- `POST /api/mining-checker/v1/projects/{projectKey}/legacy-fx-migrate`
@@ -89,17 +88,8 @@ Laut OCR.space-Doku wird `POST https://api.ocr.space/parse/image` mit `file`, He
## Wechselkurse und Waehrungen
Der Endpunkt `POST /api/mining-checker/v1/projects/{projectKey}/fx-refresh` delegiert den Abruf an das Modul `fx-rates`. Der Mining-Checker speichert dabei keine eigenen FX-Snapshots mehr, sondern referenziert die `fetch_id` aus `fx-rates`.
Der Mining-Checker speichert keine eigenen FX-Snapshots mehr, sondern referenziert die `fetch_id` aus `fx-rates`.
Auch der Waehrungskatalog und die bevorzugten Waehrungen kommen ausschliesslich aus `fx-rates`. Der Mining-Checker fuehrt keine eigene Waehrungstabelle und keine eigene Alias-Verwaltung mehr im Laufzeitpfad.
Empfohlene Umgebungsvariablen:
- `MINING_CHECKER_FX_PROVIDER=currencyapi`
- `MINING_CHECKER_FX_URL=https://currencyapi.net`
- `MINING_CHECKER_FX_CURRENCIES_URL=https://currencyapi.net`
- `MINING_CHECKER_FX_API_KEY=...`
- `MINING_CHECKER_FX_TIMEOUT=10`
- `MINING_CHECKER_FX_CACHE_TTL=21600`
- `MINING_CHECKER_FX_AUTO_FETCH_ON_MISS=false`
Optionaler JSON-Body: