Update blockchain node
Use the following steps to update the blockchain node software, if you already have an older version installed.
-
If the node is running, stop the existing node by pressing CTRL+C. If the node is not running, open the appropriate shell window.
-
Change to the folder dp.
-
Download the updated CLI (command line interface) wallet by running the following command:
Windowscurl https://github.com/DogeProtocol/go-dp/releases/download/v2.0.47/dp-release-windows-v2.0.47.zip -o dp-release-windows-v2.0.47.zip
curl -Lo dp-release-mac-v2.0.47.tar.gz https://github.com/DogeProtocol/go-dp/releases/download/v2.0.47/dp-release-mac-v2.0.47.tar.gz
curl -Lo dp-release-ubuntu-v2.0.47.tar.gz https://github.com/DogeProtocol/go-dp/releases/download/v2.0.47/dp-release-ubuntu-v2.0.47.tar.gz
-
Extract the contents of the downloaded zip file to a folder.
-
This step is specific to Windows.
WindowsClose the Powershell window. Open a command prompt instead and change to the following folder.cd c:\dp
-
This step is specific to Mac and Linux. Set the environment variable to the required library path. Remember that if you open a new Terminal window anytime, you will need to run this command again, to set the environment variable. You might want to add this environment variable to your shell profile.
-
Run any other relevant command for connecting to mainnet or starting a validator node.
-
To stop the blockchain node client, do not close the window or logout or shutdown directly. Instead press CTRL+C.