pull down to refresh

Good post! Just clearing some things up here: Offline mode was introduced in v13.0.0 to enable the ability for users to use the Cashu functionality offline. Some users reported issues connecting to the explorer on initial connection, leading to false positive Offline status being displayed. Along with some code changes, we now hit three endpoints

  • Your block explorer (as we had originally - you can configure this under your privacy settings to your own)
  • ZEUS fiat rates endpoint
  • Cloudflare endpoint noted above

As long as you can hit one of these successfully on start-up, the app makes sure to mark you in Online mode

Although there is nothing in this network call that would indicate that you are using ZEUS, and its an endpoint hit seemingly millions of times a day by other applications, we're open to feedback to other endpoints we could use here! Just want to have some fallback in case the ZEUS team falls off the face of the planet.

Cheers.

Also, very happy to see people are going into the code/network calls like this. Encouraging to say the least.

reply
we're open to feedback to other endpoints we could use here

I'd recommend:

  1. Make it configurable which endpoint is used (I'd personally probably use that instead of switching it off)
  2. Use the endpoints that are already used by the devices:
    • https://www.google.com/generate_204 as used by Android connectivity check
    • http://www.apple.com/library/test/success.html as used by iOS captive detection (not sure if this will work over https)
very happy to see people are going into the code/network calls like this

Going over every changed line is part of my standard review for apps before I install/upgrade (I don't use many apps, and I have pre-flagging by LLM before I spend time on it, so it's doable.) I honestly wish I had the opportunity to make time for doing prerelease testing for Zeus, but I really don't at the moment. I still have a ton of 12.x crash logs sitting in my todo box that I never got around to reproduce and file with you. Maybe in the future!

reply
177 sats \ 1 reply \ @Fenix 8 May

People like @optimism poking around the code and you being transparent give me the confidence to keep using this wallet.

reply

It's an awesome project and you can tell from how the code changes that a lot of passion goes into it.

reply