bitcoindevkit / bitcoindevkit/BDKSwiftExampleWallet
Add periodic CBF sync in background process
- Linguagem predominante
- Swift
- Estrelas
- 31
- Forks
- 16
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
Guia de contribuição
Direção de pesquisa
Comece pela documentação da Apple sobre BGProcessingTask e pelo pré-requisito em #351; em seguida, verifique como descritores públicos poderiam permitir a criação de uma Wallet enquanto o telefone está bloqueado. O trabalho estará concluído quando o app verificar periodicamente filtros de blocos compactos em uma tarefa em segundo plano, sob condições adequadas de carregamento e Wi-Fi, com o comportamento demonstrado para desenvolvedores.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- ios, swift
- Domínio
- mobile
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 30/100