Commit Graph

47 Commits

Author SHA1 Message Date
nicolas.dorier
10e52f08be
Prevent NRE exception 2020-03-26 01:21:47 +09:00
nicolas.dorier
5565d8dae5
Catch error with bitflyer 2020-03-26 01:21:46 +09:00
nicolas.dorier
c906fd42df
Add bitflyer direct integration 2020-03-26 00:48:01 +09:00
rockstardev
5a93857b4a Simplifying delegate invoke
Ref: 0074790684 (r37477529)
2020-02-25 16:08:57 -06:00
Hans Looman
1a409a441d
Update POLIS related entries (#1313)
* Update Polis related info and services

* Fix Polis Rate Fetcher

* Fix Polis ratefetcher - Cryptopia is obsolete

* POLIS rate provider changes to comply with internal testing

* URL / pair alignment

* Add small doc to re-trigger testing
2020-02-13 14:44:31 +09:00
Nicolas Dorier
dc7733abcd
Merge pull request #1041 from Kukks/satscurrency
Add sats as a native currency
2020-02-03 08:42:35 +00:00
rockstardev
876c940032 Reverting delegate reference to previous state until Nicolas confirms change 2020-02-01 00:26:01 -06:00
Umar Bolatov
0074790684 Remove "#nullable enable" directive and unnecessary operators 2020-01-29 01:53:47 -06:00
Umar Bolatov
23aaf794ef Add nullable enable directive to HttpClientRequestMaker.MakeRequestAsync 2020-01-29 01:53:47 -06:00
Kukks
a63502873c Add implicit hidden rate rule for sats in parser 2020-01-21 13:34:00 +01:00
nicolas.dorier
53a60d1660
Add Direct Provider with bitfinex, okex and coinbasepro 2020-01-18 21:48:04 +09:00
nicolas.dorier
25b733ca7f
Remove knowledge of ExchangeName from BackgroundRateFetcher 2020-01-18 19:42:46 +09:00
nicolas.dorier
aab6fcd508
use coingecko if coinaverage is set 2020-01-17 18:15:08 +09:00
nicolas.dorier
a8ac01cd8b
Refactor rate handling to prevent error of exchange name 2020-01-17 18:11:05 +09:00
nicolas.dorier
90ec416125
Add exponential backoff for CoinGecko, pass the cancellationtoken around 2020-01-17 15:08:28 +09:00
nicolas.dorier
827b6085af
Do not hammer CoinGecko with tests 2020-01-17 14:56:05 +09:00
nicolas.dorier
ff11e6e032
Remove CoinAverage RateSource enum 2020-01-17 14:51:07 +09:00
nicolas.dorier
6dffbbd93d
Remove CachedRateProvider 2020-01-17 14:42:02 +09:00
nicolas.dorier
7a0991d6b1
Remove CoinAverage integration (2) 2020-01-17 14:30:51 +09:00
nicolas.dorier
9b165de5e6
Remove CoinAverage integration 2020-01-17 14:29:22 +09:00
nicolas.dorier
1b9a4e7775
Coingecko should use BackgroundFetcherRateProvider instead of CachedRateProvider 2020-01-17 14:23:04 +09:00
nicolas.dorier
48799562f8
Fix comment 2020-01-17 14:18:18 +09:00
nicolas.dorier
7d545ca682
Remove ability to set custom cache, fix coinaverage not really using coinaverage 2020-01-17 14:16:12 +09:00
nicolas.dorier
5dbdb4b399
Keep coinaverage compatibility, improve UX, hardcode feed provider supported exchanges 2020-01-13 23:37:01 +09:00
Kukks
58d9a48787
CoinGecko Rate Provider
The CoinGecko rate provider is similar to the bitcoin average one, in that you can ask it for a rate from its aggregated sourcing or you can get rates from specific exchanges. I've added support for both.
I haven't integrated it or replaced coinaverage just to see if we should use it as the default and switch everyone to it or what other action to take.
2020-01-13 20:20:00 +09:00
nicolas.dorier
9ba1403f5c
bump libraries 2020-01-12 16:30:25 +09:00
nicolas.dorier
629dfcf152
Cleanup netcore21 specific code 2020-01-12 13:30:54 +09:00
nicolas.dorier
a816e37621
Update libs 2020-01-11 13:12:24 +09:00
nicolas.dorier
57985e78e5
Save the last update time instead of the next update time 2019-12-26 16:24:57 +09:00
nicolas.dorier
731341b749
Do not preemptively fetch rates of all exchanges 2019-12-26 14:54:26 +09:00
nicolas.dorier
2d932ebb21
Update to runtime .NET 2.1.14 2019-12-07 16:35:13 +09:00
Kukks
cdc973cbea fix tests 2019-11-11 11:25:23 +01:00
Kukks
0df7506ad5 Bump ExchangeSharp, fixes breaking changes and switch to exchangesharp provider for ndax 2019-11-11 07:14:29 +01:00
nicolas.dorier
22b05500f1
Reactivate ndax 2019-10-20 17:52:30 +09:00
nicolas.dorier
5054e76d64
Fix build 2019-10-20 16:24:11 +09:00
nicolas.dorier
9a28dc5121
Pass cancellationToken around in the Kraken Provider 2019-10-20 15:24:07 +09:00
nicolas.dorier
d23adfbd78
Prepare BTCPayServer.Common and BTCPayServer.Rating for .netcore 3.0 2019-10-03 16:13:12 +09:00
nicolas.dorier
514386ecdd
Remove NDax support 2019-09-29 11:58:16 +09:00
nicolas.dorier
2e0abdbd06
Fix BTC_GBP pair not resolved for kraken 2019-09-21 13:05:05 +09:00
Kukks
dc3abc76c3 add Ndax rate provider 2019-09-06 08:20:08 +02:00
nicolas.dorier
5b4e78f8d1
Add bitpay as direct provider, remove reliance on NBitpayClient in the Rate Assembly 2019-08-29 18:13:01 +09:00
nicolas.dorier
dc97982fad
Remove trace of gdax (fix https://github.com/btcpayserver/btcpayserver/issues/913) 2019-07-12 23:34:10 +09:00
nicolas.dorier
d1f1bc93b3
Fix version detection 2019-06-18 14:00:42 +09:00
nicolas.dorier
307c8980e0
Move Common and Version.csproj in Build folder 2019-06-17 21:42:48 +09:00
nicolas.dorier
8f76bc0bcb
Extract version in separate csproj to have better dockerfile caching 2019-06-02 17:33:35 +09:00
Andrew Camilleri
d3e3c31b0c Btcpay abstract BTCPayNetwork -- Alternative PR to #865 (#868)
* BitcoinSpecificBtcPayNetwork - abstract BTCPayNetwork

* some type fixes

* fix tests

* simplify fetching handler in invoice controller

* rename network base and bitcoin classes

* abstract serializer to network level

* fix serializer when network not provided

* fix serializer when network not provided

* fix serializer when network not provided

* try fixes for isolating pull request
2019-05-29 18:43:50 +09:00
Nicolas Dorier
15dc0d60db
Split projects (#857) 2019-05-24 18:42:22 +09:00