Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

download of files based on snapshots #128

Closed
vu3rdd opened this issue May 15, 2020 · 1 comment · Fixed by #381
Closed

download of files based on snapshots #128

vu3rdd opened this issue May 15, 2020 · 1 comment · Fixed by #381

Comments

@vu3rdd
Copy link
Member

vu3rdd commented May 15, 2020

With snapshots, each client would periodically scan each other's DMD and download the snapshots (until it finds its own current snapshot by walking up through the DAG).

@meejah
Copy link
Collaborator

meejah commented Jul 28, 2020

This process will mirror the "upload" side, with two main parts:

  • decide what to download
  • download and cache and RemoteSnapshots we don't already have

The last bit can be viewed as recursive: if we just downloaded a RemoteSnapshot we should make sure we have all of its parents. If we don't, they need to be downloaded as well. The "decide what to download" comes from reading each other participant's DMD .. and the list of participants is sync'd from the remote DMDs.

@meejah meejah mentioned this issue Jul 29, 2020
@meejah meejah mentioned this issue Jun 2, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants