HomePhabricator

[marlin] Wrap the PriceFetcher class to reduce API calls

Description

[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

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D19782

Details

Provenance
FabienAuthored on Apr 7 2026, 08:41
FabienPushed on Apr 7 2026, 08:56
Reviewer
Restricted Project
Differential Revision
D19782: [marlin] Wrap the PriceFetcher class to reduce API calls
Parents
rABC938ad1aa414b: [ecash-wallet] Implement MultisigWallet with ECDSA multisig support
Branches
Unknown
Tags
Unknown