Commit graph

85 commits

Author SHA1 Message Date
Nicolas Dorier
dc7733abcd
Merge pull request #1041 from Kukks/satscurrency
Add sats as a native currency
2020-02-03 08:42:35 +00:00
Andrew Camilleri
54c7c0d696 Add currency precision based on network (#1294) 2020-01-21 22:28:13 +09:00
Kukks
71671b9e16 Add sats as a native currency
This will allow you to create an invoice where its primary currency is denominated in sats
2020-01-21 13:33:59 +01:00
nicolas.dorier
15c3893aab
Make sure currency is in uppercase 2019-06-10 00:46:29 +09:00
Nicolas Dorier
15dc0d60db
Split projects (#857) 2019-05-24 18:42:22 +09:00
nicolas.dorier
9ed7dbc838 Remove Quadrigacx (bankrupt) 2019-04-11 14:57:31 +09:00
nicolas.dorier
7b3700c2c6 Fix bitbank API weirdness (Fix #741) 2019-04-08 21:57:12 +09:00
nicolas.dorier
eb5e32a07f Remove exception thrown by binance provider 2019-04-04 19:39:37 +09:00
nicolas.dorier
708cdbe23f Remove bunch of catched exception when BTCPay starts 2019-04-04 19:35:46 +09:00
nicolas.dorier
abbdbda03a Add Bitbank provider 2019-03-20 00:49:44 +09:00
nicolas.dorier
274533bfdf Fix spot not using HttpClient created by the httpclientfactory 2019-03-07 19:41:20 +09:00
nicolas.dorier
051248f2fc Add CancellationToken to GetRatesAsync and propagate it from the controllers to the rate fetcher 2019-03-05 17:09:17 +09:00
nicolas.dorier
9a239f99f4 Add bylls as supported exchange 2019-03-05 16:07:23 +09:00
nicolas.dorier
dd52075ff1 Add backoff delay if fetching exchange rate is failing 2019-02-24 22:00:30 +09:00
nicolas.dorier
b4b4523193 Round currency up to significant decimal 2019-02-22 22:15:25 +09:00
nicolas.dorier
7e0f9f6e0d Inject HtmlSanitizer in AddBTCPayServer, remove AppHelpers deps when possible 2019-02-17 18:47:25 +09:00
nicolas.dorier
1a98bfba36 Fix formatting of currencies in Invoice detail page 2019-01-30 19:18:44 +09:00
nicolas.dorier
884acdde32 Disabled POLIS and Bitcoin because default exchange (cryptopedia) is down 2019-01-16 00:08:17 +09:00
nicolas.dorier
c4c812bdf6 Remove cryptopia from directly queried exchanges 2019-01-15 23:53:32 +09:00
nicolas.dorier
9db5c0f375 Hack tests to make currency formatting work on linux 2018-12-19 00:28:06 +09:00
nicolas.dorier
998472e463 Fix symbol display on linux 2018-12-19 00:11:15 +09:00
nicolas.dorier
cad602ad14 Fix several issues in cart
* Fix: Only USD currency with 2 decimals were properly handled for tips
* Fix: All PoS apps would were sharing the same basket
* Fix: Currency formatting was not using server side information
* Fix: Various bug of formatting for decimal 0 and more than 2.
2018-12-04 13:04:26 +09:00
nicolas.dorier
15d9adfbf1 Fix rate fetching for kraken doge and dash 2018-11-05 12:14:39 +09:00
nicolas.dorier
c0174c0c2c inverse DASH rate 2018-11-01 16:33:53 +09:00
nicolas.dorier
fa8324c1f9 Fix DASH rate for kraken 2018-11-01 14:48:46 +09:00
nicolas.dorier
a82f181126 Reactivate cryptopia 2018-10-31 13:31:03 +09:00
nicolas.dorier
2be1f97419 Remove cryptopedia as direct provider, add estimated time to wallet rescan page, bump nbx 2018-10-30 15:40:27 +09:00
nicolas.dorier
3d85dace38 Move currency display method into CurrencyNameTable 2018-10-09 23:30:26 +09:00
nicolas.dorier
4c4b76e995 Remove Bitpay direct provider 2018-09-28 17:08:51 +09:00
nicolas.dorier
4568d2a98e Add exchange name to expired rate 2018-08-31 10:45:21 +09:00
nicolas.dorier
957d478865 Fixing coinaverage, ValidityTime was faster than the refresh rate 2018-08-25 21:49:20 +09:00
nicolas.dorier
6c51d83f61 Fix tests 2018-08-25 15:49:04 +09:00
nicolas.dorier
0edaedb6ab Report if BackgroundFetcherRateProvider has expired entry 2018-08-25 15:09:42 +09:00
nicolas.dorier
929a0c37bd Better handle errors on BackgroundFetcherRateProvider 2018-08-25 14:44:56 +09:00
nicolas.dorier
058ccf56d0 Fix uncaught exception on when getting rates of invoice 2018-08-25 14:44:55 +09:00
nicolas.dorier
29af07b3f9 Make sure we do not return outdated rates 2018-08-23 13:47:56 +09:00
nicolas.dorier
f12114f9aa Poll and cache rates in parallel 2018-08-23 00:24:33 +09:00
nicolas.dorier
87d384dba5 Decouple RateProviderFactory with RateFetcher 2018-08-22 16:53:40 +09:00
nicolas.dorier
4f5a8f7953 Use direct provider for Kraken, update packages 2018-08-21 15:59:57 +09:00
nicolas.dorier
8728356698 Use HttpClientFactory for coinaverage 2018-08-21 14:33:13 +09:00
nicolas.dorier
0dcda0f289 Fix: Inverse rule was not found in BTCPay with X_X 2018-07-27 18:04:41 +09:00
nicolas.dorier
1eee31e9f1 Fix rate bug: Sometimes coinaverage is sending null bid and ask 2018-06-04 12:01:30 +09:00
nicolas.dorier
b98993f84b fix typo 2018-05-23 11:16:19 +09:00
nicolas.dorier
ba3d13d56c Make sure the rate of the merchant is using the ask of a divided exchange 2018-05-23 02:18:38 +09:00
nicolas.dorier
3cf3aa63f6 CurrencyNameTable can use fallback 2018-05-20 23:37:18 +09:00
nicolas.dorier
011dd5574f Add a fallback currency format info 2018-05-20 23:22:20 +09:00
nicolas.dorier
eeb522fe7d Remove special case for showing crypto currency 2018-05-16 21:19:48 +09:00
nicolas.dorier
ecf03f90aa Fix UriAttribute bug, and currency formatting crash 2018-05-16 02:24:59 +09:00
nicolas.dorier
f7fe855274 Do not roundup rates 2018-05-13 15:09:17 +09:00
nicolas.dorier
449738414b Add cryptopia 2018-05-12 19:37:32 +09:00