bitcoindevkit / bitcoindevkit/BDKSwiftExampleWallet
Add periodic CBF sync in background process
- Lingua principale
- Swift
- Stelle
- 31
- Fork
- 16
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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`](https://developer.apple.com/documentation/backgroundtasks/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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dalla documentazione di Apple su BGProcessingTask e dal prerequisito in #351, quindi verifica come i descrittori pubblici potrebbero consentire la creazione di una Wallet mentre il telefono è bloccato. Il lavoro è completato quando l’app controlla periodicamente i filtri di blocchi compatti in un’attività in background in condizioni adeguate di ricarica e Wi-Fi, con il comportamento dimostrato per gli sviluppatori.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- ios, swift
- Ambito
- mobile
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100