Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Snapshot dogechain??? #133

Closed
ruanling opened this issue Aug 16, 2022 · 14 comments
Closed

Snapshot dogechain??? #133

ruanling opened this issue Aug 16, 2022 · 14 comments
Assignees
Labels
feature-wanted We want this feature please
Milestone

Comments

@ruanling
Copy link

Do you have the latest snapshot?
Syncing from the beginning is too long

@fomotrader
Copy link

did you manage to find a snapshot?

@microshibadev
Copy link

How do you sync from the beginning? The documentation (https://docs.dogechain.dog/docs/overview) is for setting up your own Polygon Edge network

@fomotrader
Copy link

I'm trying to figure it out by experimenting but it's kind of hard and I've had no luck so far, I think ruanling got further then us

@microshibadev
Copy link

@fomotrader refer to this tweet: https://twitter.com/DogechainFamily/status/1559610335367073792
they're:

preparing Genesis and node deployment base for the community and ecosystem projects to build your own node.

@ruanling
Copy link
Author

I'm running, but syncing from the beginning will take a long time, I run 12 hours to block 21938, while the current block is 900,000

image

@microshibadev
Copy link

@ruanling what are the specs on your server and how fast is your connection? That seems slow, I can sync all of bsc in 12 hours. How were you able to start the sync in the first place?

@ruanling
Copy link
Author

@ruanling what are the specs on your server and how fast is your connection? That seems slow, I can sync all of bsc in 12 hours. How were you able to start the sync in the first place?

I followed the instructions in the documentation, you can see it here https://docs.dogechain.dog/docs/overview,
It only took me 4 hours to run BSC node with NVMe configuration, because BSC has snapshots available, you don't have to waste time to sync

@kugimiya530
Copy link

Hi dev , we really need snapshot for dogechain

@microshibadev
Copy link

I followed the instructions in the documentation, you can see it here https://docs.dogechain.dog/docs/overview, It only took me 4 hours to run BSC node with NVMe configuration, because BSC has snapshots available, you don't have to waste time to sync
Do you need to set up nodes on 4 different servers? I tried following the instructions but it never started syncing. According to this tweet: https://twitter.com/DogechainFamily/status/1559610340840591360, genesis and node deployment isn't available yet

@ruanling
Copy link
Author

I followed the instructions in the documentation, you can see it here https://docs.dogechain.dog/docs/overview, It only took me 4 hours to run BSC node with NVMe configuration, because BSC has snapshots available, you don't have to waste time to sync
Do you need to set up nodes on 4 different servers? I tried following the instructions but it never started syncing. According to this tweet: https://twitter.com/DogechainFamily/status/1559610340840591360, genesis and node deployment isn't available yet

yes, it's still in sync

@0xcb9ff9
Copy link

0xcb9ff9 commented Sep 15, 2022

There are some minor problems with the backup function. When the grpc message is too large, the backup will be terminated and the backup file will be deleted. This PR #162 can fix this bug

@DarianShawn
Copy link
Collaborator

👍🏻 The snapshot repo should be ready to go.

@DarianShawn DarianShawn added this to the Release 1.1.4 milestone Sep 21, 2022
@DarianShawn DarianShawn pinned this issue Sep 21, 2022
@DarianShawn
Copy link
Collaborator

DarianShawn commented Oct 20, 2022

Bad news about the current version snapshot backup recovery: It would take minutes to restore every block when height exceeds 800k, which is unacceptable completely.

So the snapshot of the current version is not available.
To make the whole things work, we need to make a big change to the current data structure and provide 'pruning' mechanism. It should be version 2 and not backward compatible.

@abrahamcruise321 @0xcb9ff9 @zivkovicmilos
Any suggestions are valuable.

@DarianShawn
Copy link
Collaborator

Use DB instead of block restoration, would save all users' time.

It is provided in the new repo: https://github.com/dogechain-lab/dogechain-snapshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-wanted We want this feature please
Projects
None yet
Development

No branches or pull requests

7 participants