Add periodic CBF sync in background process
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start with Apple’s BGProcessingTask documentation and the prerequisite in #351, then verify how public descriptors could permit creating a Wallet while the phone is locked. Done means the app periodically checks compact block filters in a background task under suitable charging and Wi-Fi conditions, with the behavior demonstrated for developers.
Written by the indexing model from the issue text.
Description
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. - #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
- Dominant language
- Swift
- Stars
- 31
- Forks
- 16
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bitcoindevkit/BDKSwiftExampleWallet
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
bitcoindevkit/BDKSwiftExampleWallet#360 · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
bitcoindevkit/BDKSwiftExampleWallet#351 · 1 comment ·
-
experimental: events Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
bitcoindevkit/BDKSwiftExampleWallet#350 · 1 comment ·
All issues in bitcoindevkit/BDKSwiftExampleWallet
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
type: docs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
googleapis/google-cloud-swift#971 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bitcoindevkit/bdk-ffi#1125 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mozilla-mobile/firefox-ios#35743 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
manaflow-ai/cmux#13417 ·