Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hostd v2.0.2 does not rescan wallet on seed change #588

Open
npelov opened this issue Jan 25, 2025 · 0 comments
Open

hostd v2.0.2 does not rescan wallet on seed change #588

npelov opened this issue Jan 25, 2025 · 0 comments
Labels
good first issue Good for newcomers

Comments

@npelov
Copy link

npelov commented Jan 25, 2025

Current Behavior

After changing the seed hostd v2.0.2 did not rescan the wallet and showed the amount from the previous wallet. Changing seed works fine in v1.1.2 (both on windows and linux+docker)

Expected Behavior

if wallet is changed hostd should rescan the wallet (assuming there is no other way to achieve that)

Steps to Reproduce

  1. use a fully sync'ed hostd
  2. stop the hostd
  3. change wallet seed
  4. start hostd
  5. check the wallet - old amount is still there, no wallet rescanning

Version

v2.0.2

What operating system did the problem occur on (e.g. Ubuntu 22.04, macOS 12.0, Windows 11)?

RockyLinux 9 (RHEL9) + Docker

Anything else?

I used workaround:

  1. stop hostd
  2. rename consensus.db
  3. start hostd
  4. stop hostd
  5. restore the original consensus.db
  6. start hostd
  7. now hostd scans blockchain for wallet transactions
@npelov npelov added the bug Something isn't working label Jan 25, 2025
@n8maninger n8maninger added this to Sia Jan 25, 2025
@n8maninger n8maninger removed the bug Something isn't working label Jan 25, 2025
@n8maninger n8maninger moved this to Triage in Sia Jan 25, 2025
@n8maninger n8maninger added the good first issue Good for newcomers label Jan 25, 2025
@ChrisSchinnerl ChrisSchinnerl moved this from Triage to Todo in Sia Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Todo
Development

No branches or pull requests

2 participants