You are browsing as a guest. Sign up (or log in) to start making projects!

5h 16m 20s logged

Devlog #12

Quite a bit more to report this time! Since last devlog, I’ve mostly been working on improving actual wallet functionality, fixing some smaller UI issues, and looking into performance.

Recent changes

Below is a quick summary of what I’ve been working on since the last devlog:

For the first time in this series of devlogs, I’m linking the changes to relevant commits on GitHub wherever possible so you can have a look.

Performance improvements

I also found a few ways to reduce VaultForge’s roughly 10s full refresh time:

  • Cached unlock (mentioned above): perceived unlock time is now closer to ~1–3s, although balances/prices can still take around the same amount of time to fully refresh in the background.
  • Reuse HTTP clients: should save roughly ~0.2-1.5s by reusing connections.
  • Concurrent provider calls: likely the biggest improvement, potentially bringing a ~10s refresh down to ~3–5s.
  • Refresh prices separately: could make fresh balances appear another ~0.5–2s sooner.
  • Derive Argon2 once: should save roughly a few hundred ms to ~1s on cold unlocks.

The above estimated perf improvements are obviously quite variable and depend on a multitude of factors (+ I got ChatGPT to analyze my current code to make an estimate because how else would I do it), but there is definitely still a lot of low-hanging fruit here.

Upcoming features

  • Actual settings are still the elephant in the room 😭, so I definitely need to get around to those but since I think this may need a big PR a bit like the previous style improvements, I think I will do this after v0.4.0 (so therefore for v0.5.0).
  • Ripple (XRP) support (at least for native token transfers), planned for v0.4.0.
  • Zcash (ZEC) support: I’ve got a feeling this one will take quite some time so at most I will implement transparent <=> transparent transactions before next release but will have to see.
  • The remaining performance improvements mentioned above.
0
58

Comments 0

No comments yet. Be the first!