Page MenuHomePhabricator

[marlin] Wrap the PriceFetcher class to reduce API calls
ClosedPublic

Authored by Fabien on Apr 7 2026, 08:42.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCec1fa34e466b: [marlin] Wrap the PriceFetcher class to reduce API calls
Summary

This makes it so that all the crypto sources are always refreshed, keeping the cache hydrated and avoiding repeated API calls. For now this is useless because only XEC is supported, but it will be useful when adding tokens.

Test Plan
cd web && pnpm test
pnpm web

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable