Files
pallectrum/electrum/tests
SomberNight 03b514863e exchange_rate: more robust spot price against temporary network issues
We poll the fx rate provider every 2.5 minutes (unchanged).
Previously if there was any error during a tick, there was no fx rate
available in the client until the next tick.
Now, instead, we keep the last rates received with a 10 minute expiry.

One potential drawback is that previously there was instant feedback
to the user when e.g. changing proxy settings, and this is no longer
the case. E.g. consider a provider that bans Tor exit nodes. If a user
enables using a Tor proxy in the network settings, the fxrate used to
disappear immediately - but now the cached rate would still be
available.
2022-08-26 11:48:51 +00:00
..
2022-04-20 12:48:22 +02:00
2022-03-07 10:36:20 +01:00
2021-04-30 19:55:47 +02:00
2022-05-24 02:39:11 +00:00
2020-02-04 13:35:58 +01:00
2021-06-22 19:24:16 +02:00
2022-08-09 18:48:21 +02:00
2020-02-25 20:45:17 +01:00