track fiat value of payments (#1789)

* save fiat_amounts on payment creation

* show fiat amount in frontend

* add lnbits_default_accounting_currency

* extract fiat calculation logic into service

* move all currency conversions to calc_fiat_amounts

move all conversion logic into create_invoice so extensions can benefit aswell

* show user-defined and wallet-defined currency in frontend

* remove sat from fiat units

* make bundle

* improve tests

* debug log
This commit is contained in:
jackstar12
2023-08-28 11:00:59 +01:00
committed by GitHub
parent 7a37e72915
commit 2623e9247a
14 changed files with 233 additions and 42 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long