fix(session): price the balance from the warm rate cache only #2

Merged
padreug merged 1 commit from fix/session-fiat-from-cache into main 2026-09-22 15:35:38 +00:00
Owner

/session gates the terminal unlocking, and satoshis_amount_as_fiat() on a cold cache queries external exchanges (~1 s measured on l484). Read the LNbits btc-price cache directly: warm → fiat, miss → null and the terminal prices the sats itself. No rate lookup ever blocks a tap.

/session gates the terminal unlocking, and satoshis_amount_as_fiat() on a cold cache queries external exchanges (~1 s measured on l484). Read the LNbits btc-price cache directly: warm → fiat, miss → null and the terminal prices the sats itself. No rate lookup ever blocks a tap.
fix(session): price the balance from the warm rate cache only
Some checks failed
lint.yml / fix(session): price the balance from the warm rate cache only (pull_request) Failing after 0s
8dfd3feba8
/session gates the terminal unlocking, and satoshis_amount_as_fiat() on a
cold cache queries external exchanges (~1 s measured on l484). Read the
LNbits btc-price cache directly instead: warm → fiat, miss → null and
the terminal prices the sats itself. No rate lookup ever blocks a tap.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aiolabs/boltcards!2
No description provided.