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
Branch
marlin_price_fetcher
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36534
Build 72511: Build Diffmarlin-wallet · marlin-wallet-tests
Build 72510: arc lint + arc unit