alephium / desktop-wallet

The official Alephium wallet for desktop
https://alephium.org
GNU Lesser General Public License v3.0
78 stars 44 forks source link

Refresh rate for incoming transactions is too slow #820

Open VladdyC opened 8 months ago

VladdyC commented 8 months ago

Describe the bug Got onboarded with the desktop wallet, and when I received my first transaction I realized that the balance doesn't show up (though the explorer confirmed it). 11 minutes later, the balance displayed in my wallet was still 0. So I hit the "refresh data" button to fix this.

TLDR: the automatic refresh rate is too slow and might scare some newbie users who won't understand why the transaction doesn't show up in their wallet.

To Reproduce Steps to reproduce the behavior:

  1. Send someone your address from the Alephium desktop wallet.
  2. Wait for the transaction to get broadcast and mined into a block.
  3. Look at your Alephium desktop wallet, but don't refresh.
  4. Check block explorer and double check your address to be sure you haven't made any mistake. Then hit "Refresh Data".

Expected behavior The wallet should refresh automatically every minute or so. This is a reasonable time frame to make sure that newbie users won't start reporting issues with their wallet.

Environment

nop33 commented 8 months ago

Thanks for the issue @VladdyC! Great feedback! Indeed, the wallet does not automatically poll for incoming transactions (yet). It only refreshes (every 5 seconds) when the user sends transactions. We have an issue for this here: https://github.com/alephium/alephium-frontend/issues/74. It is planned for the 2.3.0 release!

PS: This repo is deprecated, in the future feel free to refer to our new monorepo: https://github.com/alephium/alephium-frontend