rescan not working properly #24

Closed
opened 2022-08-11 19:08:57 +02:00 by roylee17 · 1 comment
roylee17 commented 2022-08-11 19:08:57 +02:00 (Migrated from github.com)

Currently, (re)import seed doesn't trigger rescan for the whole history.

cmd/dropwtxmgr did not help.

Currently, (re)import seed doesn't trigger rescan for the whole history. `cmd/dropwtxmgr` did not help.
roylee17 commented 2022-08-20 01:30:38 +02:00 (Migrated from github.com)

As an optimization, lbcwallet uses "birthday" to mark from which block, instead of the genesis block, it should rescan for the chain for relevant transactions.

Currently, the birthday is hardcoded as time.Now(), which only works for a newly created wallet using a randomly generated seed. For an imported seed, prior transaction history is ignored.

As an optimization, **lbcwallet** uses *"birthday"* to mark from which block, instead of the genesis block, it should rescan for the chain for relevant transactions. Currently, the birthday is hardcoded as `time.Now()`, which only works for a newly created wallet using a randomly generated seed. For an imported seed, prior transaction history is ignored.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbcwallet#24
No description provided.