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

alternate distribution of blockchain state #246

Open
faddat opened this issue Nov 27, 2020 · 2 comments
Open

alternate distribution of blockchain state #246

faddat opened this issue Nov 27, 2020 · 2 comments

Comments

@faddat
Copy link
Contributor

faddat commented Nov 27, 2020

@speedmax and I were talking and what are the ideas that we had upon which I think would be very beneficial to the project overall is the creation of pre-synced Docker images.

The goal here is just to reduce the amount of time that it takes for a developer to actually begin work.

My planned technique for creating these is:

  • Run a node with systemd
  • get it synced
  • stop the node once a week
  • Create a docker image that uses COPY to move the chain state into the image

I'd like to do this for both testnet and mainnet and am mainly looking for feedback on implementation.

@speedmax
Copy link

Monthly archive of chain data folder would be sufficient.

@faddat
Copy link
Contributor Author

faddat commented Nov 28, 2020

Yes that would be sufficient, however it's quite simple to automate things with Docker and so I figured why not do it daily and push that to Docker hub daily/weekly. "No touch".

Archive of the chain folder data still requires configuration, goal here is zeroconf.

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

2 participants