Add periodic CBF sync in background process

オープン
#352 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
ios, swift
領域
mobile

調査の方向性

Apple の BGProcessingTask ドキュメントと #351 の前提条件から始め、その後、公開デスクリプターによって電話がロックされている間に Wallet を作成できるようになる可能性を検証します。アプリが適切な充電中かつ Wi-Fi 接続中の条件でバックグラウンドタスク内のコンパクトブロックフィルターを定期的に確認し、その動作が開発者向けに実証されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement

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

主要言語
Swift
スター
31
フォーク
16
平均マージ
3日 18時間
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bitcoindevkit/BDKSwiftExampleWallet のほかの issue

bitcoindevkit/BDKSwiftExampleWallet の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。