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

fix: improve handling of old base nodes and reorgs in wallet recovery #3608

Merged
merged 2 commits into from
Nov 23, 2021

Conversation

philipr-za
Copy link
Contributor

Description

This PR adds two quick improvements on the wallet recovery:

  • Gracefully handle the case where the base node is older and doesn’t support the get_height_at_time RPC call yet.
  • If a reorg is detected during recovery the process used to be restarted from the genesis block. Now it will restart from the wallet birthday

How Has This Been Tested?

Manually

This PR adds two quick improvements on the wallet recovery:
- Gracefully handle the case where the base node is older and doesn’t support the `get_height_at_time` RPC call yet.
- If a reorg is detected during recovery the process used to be restarted from the genesis block. Now it will restart from the wallet birthday
@aviator-app aviator-app bot merged commit bb94ea2 into tari-project:development Nov 23, 2021
sdbondi added a commit to sdbondi/tari that referenced this pull request Nov 25, 2021
* development:
  chore: public_address for TCP node has higher priority from env/config (tari-project#3600)
  fix: improve handling of old base nodes and reorgs in wallet recovery (tari-project#3608)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants