BeamMW / beam-ui

Beam Desktop Wallet (Win / Mac / Linux)
https://beam.mw/
Apache License 2.0
25 stars 23 forks source link

Allow using the `rescan` option in settings, even with a remote node without owner key #1092

Open dbadol opened 4 months ago

dbadol commented 4 months ago

Bug description When using a remote node, the rescan option in settings is greyed out. However, as shown in https://github.com/BeamMW/beam/issues/1963, it seems that a rescan is still possible even with a remote node without owner key.

To Reproduce Steps to reproduce the behaviour:

  1. Open the GUI wallet
  2. Go to Settings and set a remote node
  3. Go to Settings / Utilities
  4. See that the rescan option is greyed out

Current behaviour The user cannot even attempt a rescan when using a remote node.

Expected behaviour If the rescan is indeed possible with remote nodes without owner key (see https://github.com/BeamMW/beam/issues/1963) then the rescan option in the GUI should remain available, even for remote nodes. In case the remote node does not have the owner key, a message could be displayed to explain that the process will take time and will download data to perform the rescan.

Platform and build

Screenshot image

dbadol commented 4 months ago

If possible, the rescan process (which is long when the remote node does not have the owner key) should be done in background. Maybe with an progress message at the top of the wallet (like for the integrated node sync).