diff --git a/README.md b/README.md index 0b522615..2584c51f 100755 --- a/README.md +++ b/README.md @@ -110,7 +110,6 @@ Now we can build and launch DOC & MARTY chains with the following commands: ``` cd ~/dPoW/docker ./setup.sh # Setup misc configs -# docker compose build # Build the docker images docker compose up -d # Launch the chains in the background docker compose logs -f -n 33 # Check the logs to confirm the chains are operational @@ -123,7 +122,9 @@ doc-cli importprivkey YOUR_PRIVATE_KEY marty-cli importprivkey YOUR_PRIVATE_KEY ``` -To speed up the sync process, bootstraps for DOC and MARTY are kindly supplied by CHMEX via https://dexstats.info/bootstrap.php +To speed up the sync process, bootstraps for DOC and MARTY are kindly supplied by CHMEX via https://eu.bootstrap.dexstats.info/DOC-bootstrap.tar.gz and https://eu.bootstrap.dexstats.info/MARTY-bootstrap.tar.gz +To use the bootstrap, first stop DOC/MARTY with `doc-cli stop && marty-cli stop && docker compose stop` then download the bootstrap archive files and extract them into the `~/.komodo/DOC` and `~/.komodo/MARTY` directories. +Once extracted, you can start the chains again with `docker compose up -d` and monitor the logs with `docker compose logs -f -n 33` to check the sync progress. ### Step 4: Fund your nodes! diff --git a/docker/setup.sh b/docker/setup.sh index 9328dffc..14068784 100755 --- a/docker/setup.sh +++ b/docker/setup.sh @@ -30,10 +30,10 @@ ln -sf ${script_path}/cli_wrappers/doc-cli /home/$USER/.local/bin/doc-cli ln -sf ${script_path}/cli_wrappers/marty-cli /home/$USER/.local/bin/marty-cli echo "Setting up launch_files..." -cp ${script_path}/launch_files/run_DOC.sh.template run_DOC.sh -cp ${script_path}/launch_files/run_MARTY.sh.template run_MARTY.sh -sed "s/USER_PUBKEY/${pubkey}/gi" -i run_DOC.sh -sed "s/USER_PUBKEY/${pubkey}/gi" -i run_MARTY.sh +cp ${script_path}/launch_files/run_DOC.sh.template ${script_path}/launch_files/run_DOC.sh +cp ${script_path}/launch_files/run_MARTY.sh.template ${script_path}/launch_files/run_MARTY.sh +sed "s/USER_PUBKEY/${pubkey}/gi" -i ${script_path}/launch_files/run_DOC.sh +sed "s/USER_PUBKEY/${pubkey}/gi" -i ${script_path}/launch_files/run_MARTY.sh echo "Setting up conf files..." mkdir -p /home/${USER}/.komodo/DOC