Skip to content

btc spv: don't use hard-coded wallet birthday unless restoring #1270

@buck54321

Description

@buck54321

A lot of the initial wallet sync is spent doing "restoration" = requesting and scanning filters from the hard-coded walletBirthday. But if the seed is being freshly generated, we don't need to restore. core will need to inform the wallet whether it is restoring from seed so that we can set the birthday appropriately.

We also don't know at wallet creation time whether the app seed was restored or created fresh. We'll need to persist that information in the client database app bucket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions