Skip to content

Conversation

@aguycalled
Copy link
Member

This PR fixes a bug which prevented a wallet to scan an already existing chain for old transactions when importing a mnemonic.

By default, the wallet will look for all the transactions from the Genesis block. This can be changed using importmnemonicfromtime=<timestamp> in order to save scanning time and to look for transactions in a concrete period.

### What to test

Importing a mnemonic from a wallet with transactions existing prior to the import time should show the complete transaction list and right balance.

@chasingkirkjufell
Copy link
Contributor

Tested on devnet and imported wallet still not showing past transactions.

Copy link
Contributor

@chasingkirkjufell chasingkirkjufell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on Ubuntu 19.04 64GB RAM

  • Importing wallet and verify past tx appear correctly
  • Creating a new wallet with seed phrase
  • Client boots normally when a wallet.dat already exists

@navbuilder
Copy link

A new build of f0297ca has completed succesfully!
Binaries available at https://build.nav.community/binaries/rescan-after-mnemonic

@mxaddict
Copy link
Contributor

Tested on Windows 10

  • Importing wallet and verify past tx appear correctly
  • Creating a new wallet with seed phrase
  • Client boots normally when a wallet.dat already exists

@mxaddict mxaddict merged commit 4d78dbd into navcoin:master Feb 20, 2020
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.

4 participants