-
Notifications
You must be signed in to change notification settings - Fork 36
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
Export a snapshot of a running warnet simulation #4
Comments
I think this can be accomplished without too much fuss. Strategy should be to iterate through all containers and use |
Would it not just use the host time in docker? |
Not sure, but the request is to stop time when the snapshot is created and continue from that exact second no matter when the snapshot is reloaded and continued. |
Seems to be some other crazy ways about... https://croz.net/news/using-datefudge-to-fake-docker-date-time-for-testing/
This seems like a reasonable request. Seems like it could be best to test your way first. :) |
Done in #555 |
The longer nodes run, the more rich their states become, such as wallet histories and AddrMan entries. Ideally, a user should be able to stop a simulation and pick back up later, or run a simulation for x days to "seed" certain behavior and then use this as the starting point. For this we would need to export the data directory for each node.
One easy way to do this could be create new contains from existing containers. This would capture everything and save them as images that can be used to restart the warnet from that point later
The text was updated successfully, but these errors were encountered: