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

Import/Export Blockchain #3648

Open
noobvie opened this issue Jul 3, 2021 · 0 comments
Open

Import/Export Blockchain #3648

noobvie opened this issue Jul 3, 2021 · 0 comments

Comments

@noobvie
Copy link

noobvie commented Jul 3, 2021

Is your feature request related to a problem? Please describe.
Yesterday, when trying to run a node in a small computer on Ubuntu, somehow the node was stuck after synchronized header parts (tip hash, tip timestamp) and it could not continue to synchronize for chain parts after several hours.
I checked the node log and nothing unusual found.

*Describe the solution I did
I had an idea to work around with this situation by zipping the chain data in another running node in directory ~/.grin/main/chain_data, then unzip it in same directory in the node which had issue. I re-executed grin node again and both header and chain data are synced well with exact information like other nodes.

Describe alternatives I suggest
I did some research and found Monero has a feature like this with commands to import/export raw blockchain (https://github.com/monero-project/monero/tree/master/src/blockchain_utilities) . I see it useful for low end node which has limited hardware resource and bandwidth and it would shorten the time to sync.
I'm not sure if it will impact on security viewpoint in Mimblewimble protocol but I think it's good to raise the idea anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant