Skip to content

Add periodic CBF sync in background process #352

@rustaceanrob

Description

@rustaceanrob

Most blocks will not be relevant to the user, but all compact block filters need to be checked. To ensure the bandwidth requirement is low when the user opens the app, we will probably want to check these in a background task via BGProcessingTask at good times (i.e. phone is plugged into the charger and on WiFi). If this is done around once per week, the task should have plenty of time to run before getting killed by the OS. Some prerequisites before we'd be able to do this:

  • Access to the public descriptors when the phone is locked, so we may create a Wallet.
  • Add detailed log view #351 to help record if the background task is actually running on live devices.

Demonstrating this should be helpful for developers looking to integrate compact block filters, and is just about as "cutting edge" as we can get with the current capabilities of iOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions