Add mainnet directory setup instructions. #2288
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Problem: The original instructions did not specify creating a dedicated directory for extracting snapshots. As a result, following the instructions led to Docker pointing to an incorrect path, causing synchronization to start from the first block instead of using the snapshot data.
Solution: Added commands to create a dedicated
juno_mainnet
directory and updated extraction instructions. This ensures the snapshot data is properly used during sync, avoiding unnecessary full blockchain synchronization from the start.Changes Made:
Changes to directory creation command:
Changes to snapshot extraction command:
Example Docker run command after these changes:
These changes ensure that the Docker container will use the correct path, utilizing the snapshot effectively instead of resynchronizing from the genesis block.