Electric-Coin-Company / zcash-swift-wallet-sdk

iOS light client Framework proof-of-concept
MIT License
37 stars 33 forks source link

Handle any lightwalletd error with retry logic #1368

Closed LukasKorba closed 3 months ago

LukasKorba commented 3 months ago

1351 has solved the problem with waiting 10-30s when blockStream error occurred. That specific error was false positive most of the time so almost immediate retry improved the UX significantly.

There is another error I see pretty frequently and that is getInfo API. This ticket might be about treat getInfo the same way as blockStream but we should consider any networking/lightwalletd errors to fall into the same bucket and generalize the solution.