cloudhead/nakamoto

Stop and resume peer sync

metaclips opened this issue · 5 comments

Add ability to stop and resume syncing with peers

Can you describe a use-case?

It mostly preference. On an integrated application, users would want to pause or resume syncing on a bad network connectivity and there's a timeout.

Would it just stop downloading headers? or would it also stop connecting to peers?

Basically stop download of headers.

Here's a suitable case, iOS limits background tasks for power efficiency especially when on low power mode, being able to stop and resume sync with peers will enable low power usage on mobile platforms.