Skip to content

Commit

Permalink
chore: update links to v21.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thephez committed Aug 8, 2024
1 parent a852f1d commit 646b773
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 41 deletions.
8 changes: 4 additions & 4 deletions docs/user/developers/insight.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ dependencies::
Download and extract the latest version of Dash Core::

cd ~
wget https://github.com/dashpay/dash/releases/download/v21.0.2/dashcore-21.0.2-x86_64-linux-gnu.tar.gz
tar -xvzf dashcore-21.0.2-x86_64-linux-gnu.tar.gz
rm dashcore-21.0.2-x86_64-linux-gnu.tar.gz
wget https://github.com/dashpay/dash/releases/download/v21.1.0/dashcore-21.1.0-x86_64-linux-gnu.tar.gz
tar -xvzf dashcore-21.1.0-x86_64-linux-gnu.tar.gz
rm dashcore-21.1.0-x86_64-linux-gnu.tar.gz

Install `Dashcore Node <https://github.com/dashpay/dashcore-node>`_ and
create your configuration::
Expand All @@ -55,7 +55,7 @@ Change paths in the configuration file as follows::
nano dashcore-node.json

- Change the value of ``datadir`` to ``../../.dashcore``
- Change the value of ``exec`` to ``../../dashcore-21.0.2/bin/dashd``
- Change the value of ``exec`` to ``../../dashcore-21.1.0/bin/dashd``
- **Optionally** change the value of ``network`` to ``testnet`` if you
want to run Insight on testnet

Expand Down
12 changes: 6 additions & 6 deletions docs/user/masternodes/maintenance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ enter the following command, pasting in the address to the latest
version of Dash Core by right clicking or pressing **Ctrl + V**::

cd /tmp
wget https://github.com/dashpay/dash/releases/download/v21.0.2/dashcore-21.0.2-x86_64-linux-gnu.tar.gz
wget https://github.com/dashpay/dash/releases/download/v21.1.0/dashcore-21.1.0-x86_64-linux-gnu.tar.gz

Verify the authenticity of your download by checking its detached
signature against the public key published by the Dash Core development
Expand All @@ -60,14 +60,14 @@ following key:
::

curl https://keybase.io/pasta/pgp_keys.asc | gpg --import
wget https://github.com/dashpay/dash/releases/download/v21.0.2/dashcore-21.0.2-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-21.0.2-x86_64-linux-gnu.tar.gz.asc
wget https://github.com/dashpay/dash/releases/download/v21.1.0/dashcore-21.1.0-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-21.1.0-x86_64-linux-gnu.tar.gz.asc

Extract the compressed archive and copy the new files to the directory::

tar xfv dashcore-21.0.2-x86_64-linux-gnu.tar.gz
cp -f dashcore-21.0.2/bin/dashd ~/.dashcore/
cp -f dashcore-21.0.2/bin/dash-cli ~/.dashcore/
tar xfv dashcore-21.1.0-x86_64-linux-gnu.tar.gz
cp -f dashcore-21.1.0/bin/dashd ~/.dashcore/
cp -f dashcore-21.1.0/bin/dash-cli ~/.dashcore/

Restart Dash::

Expand Down
10 changes: 5 additions & 5 deletions docs/user/masternodes/setup-testnet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ and communication relating to the base blockchain. Download Dash Core as
follows::

cd /tmp
wget https://github.com/dashpay/dash/releases/download/v21.0.2/dashcore-21.0.2-$(uname -m)-linux-gnu.tar.gz
wget https://github.com/dashpay/dash/releases/download/v21.1.0/dashcore-21.1.0-$(uname -m)-linux-gnu.tar.gz

Verify the authenticity of your download by checking its detached
signature against the public key published by the Dash Core development
Expand All @@ -668,14 +668,14 @@ following key:
::

curl https://keybase.io/pasta/pgp_keys.asc | gpg --import
wget https://github.com/dashpay/dash/releases/download/v21.0.2/dashcore-21.0.2-$(uname -m)-linux-gnu.tar.gz.asc
gpg --verify dashcore-21.0.2-$(uname -m)-linux-gnu.tar.gz.asc
wget https://github.com/dashpay/dash/releases/download/v21.1.0/dashcore-21.1.0-$(uname -m)-linux-gnu.tar.gz.asc
gpg --verify dashcore-21.1.0-$(uname -m)-linux-gnu.tar.gz.asc

Extract the compressed archive and copy the necessary files to the
directory::

tar xfv dashcore-21.0.2-$(uname -m)-linux-gnu.tar.gz
sudo install -t /usr/local/bin dashcore-21.0.2/bin/*
tar xfv dashcore-21.1.0-$(uname -m)-linux-gnu.tar.gz
sudo install -t /usr/local/bin dashcore-21.1.0/bin/*

Create a working directory for Dash Core::

Expand Down
12 changes: 6 additions & 6 deletions docs/user/masternodes/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ address to the latest version of Dash Core by right clicking or pressing
**Ctrl + V**::

cd /tmp
wget https://github.com/dashpay/dash/releases/download/v21.0.2/dashcore-21.0.2-x86_64-linux-gnu.tar.gz
wget https://github.com/dashpay/dash/releases/download/v21.1.0/dashcore-21.1.0-x86_64-linux-gnu.tar.gz

Verify the authenticity of your download by checking its detached
signature against the public key published by the Dash Core development
Expand All @@ -246,16 +246,16 @@ following key:
::

curl https://keybase.io/pasta/pgp_keys.asc | gpg --import
wget https://github.com/dashpay/dash/releases/download/v21.0.2/dashcore-21.0.2-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-21.0.2-x86_64-linux-gnu.tar.gz.asc
wget https://github.com/dashpay/dash/releases/download/v21.1.0/dashcore-21.1.0-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-21.1.0-x86_64-linux-gnu.tar.gz.asc

Create a working directory for Dash, extract the compressed archive and
copy the necessary files to the directory::

mkdir ~/.dashcore
tar xfv dashcore-21.0.2-x86_64-linux-gnu.tar.gz
cp -f dashcore-21.0.2/bin/dashd ~/.dashcore/
cp -f dashcore-21.0.2/bin/dash-cli ~/.dashcore/
tar xfv dashcore-21.1.0-x86_64-linux-gnu.tar.gz
cp -f dashcore-21.1.0/bin/dashd ~/.dashcore/
cp -f dashcore-21.1.0/bin/dash-cli ~/.dashcore/

Create a configuration file using the following command::

Expand Down
16 changes: 8 additions & 8 deletions docs/user/mining/p2pool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ address to the latest version of Dash Core by right clicking or pressing
**Ctrl + V**::

cd ~
wget https://github.com/dashpay/dash/releases/download/v21.0.2/dashcore-21.0.2-x86_64-linux-gnu.tar.gz
wget https://github.com/dashpay/dash/releases/download/v21.1.0/dashcore-21.1.0-x86_64-linux-gnu.tar.gz

Verify the authenticity of your download by checking its detached
signature against the public key published by the Dash Core development
Expand All @@ -125,21 +125,21 @@ following key:
::

curl https://keybase.io/pasta/pgp_keys.asc | gpg --import
wget https://github.com/dashpay/dash/releases/download/v21.0.2/dashcore-21.0.2-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-21.0.2-x86_64-linux-gnu.tar.gz.asc
wget https://github.com/dashpay/dash/releases/download/v21.1.0/dashcore-21.1.0-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-21.1.0-x86_64-linux-gnu.tar.gz.asc

Create a working directory for Dash, extract the compressed archive,
copy the necessary files to the directory and set them as executable::

mkdir ~/.dashcore
tar xfvz dashcore-21.0.2-x86_64-linux-gnu.tar.gz
cp dashcore-21.0.2/bin/dashd .dashcore/
cp dashcore-21.0.2/bin/dash-cli .dashcore/
tar xfvz dashcore-21.1.0-x86_64-linux-gnu.tar.gz
cp dashcore-21.1.0/bin/dashd .dashcore/
cp dashcore-21.1.0/bin/dash-cli .dashcore/

Clean up unneeded files::

rm dashcore-21.0.2-x86_64-linux-gnu.tar.gz
rm -r dashcore-21.0.2/
rm dashcore-21.1.0-x86_64-linux-gnu.tar.gz
rm -r dashcore-21.1.0/

Create a configuration file using the following command::

Expand Down
10 changes: 5 additions & 5 deletions docs/user/wallets/dashcore/installation-linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Open a terminal, import the key and verify the authenticity of your
download as follows::

curl https://keybase.io/pasta/pgp_keys.asc | gpg --import
gpg --verify dashcore-21.0.2-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-21.1.0-x86_64-linux-gnu.tar.gz.asc

.. figure:: img/linux/setup-linux-gpg.png
:width: 400px
Expand All @@ -74,7 +74,7 @@ authentic copy of Dash Core for Linux.
verification output by signing the imported key before verifying::
gpg --quick-lsign-key "29590362EC878A81FD3C202B52527BEDABE87984"
gpg --verify dashcore-21.0.2-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-21.1.0-x86_64-linux-gnu.tar.gz.asc

Extracting Dash Core
----------------------
Expand All @@ -87,13 +87,13 @@ we will extract the executable file with a graphical user interface

Extract Dash Core as follows::

tar xzf dashcore-21.0.2-x86_64-linux-gnu.tar.gz
tar xzf dashcore-21.1.0-x86_64-linux-gnu.tar.gz

This will create a folder named ``dashcore-21.0.2`` in the current working
This will create a folder named ``dashcore-21.1.0`` in the current working
directory. We will now install the executable binaries to
``/usr/local/bin`` using the ``install`` command::

sudo install -m 0755 -o root -g root -t /usr/local/bin dashcore-21.0.2/bin/*
sudo install -m 0755 -o root -g root -t /usr/local/bin dashcore-21.1.0/bin/*

Start Dash Core from the terminal with the following command::
Expand Down
4 changes: 2 additions & 2 deletions docs/user/wallets/dashcore/installation-macos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Open a terminal, import the keys and verify the authenticity of your
download as follows::

curl https://keybase.io/pasta/pgp_keys.asc | gpg --import
gpg --verify dashcore-21.0.2-osx.dmg.asc
gpg --verify dashcore-21.1.0-osx.dmg.asc


.. figure:: img/linux/setup-linux-gpg.png
Expand All @@ -66,7 +66,7 @@ authentic copy of Dash Core for macOS.
verification output by signing the imported key before verifying::
gpg --quick-lsign-key "29590362EC878A81FD3C202B52527BEDABE87984"
gpg --verify dashcore-21.0.2-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-21.1.0-x86_64-linux-gnu.tar.gz.asc

Installing Dash Core
--------------------
Expand Down
6 changes: 3 additions & 3 deletions docs/user/wallets/dashcore/installation-windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Import the key file and verify the Key-ID matches the ID above.

Skip any requests to certify the certificate with your own key. Next,
click **Decrypt/Verify...** and select the detached signature file named
``dashcore-21.0.2-win64-setup.exe.asc`` in the same folder as the
``dashcore-21.1.0-win64-setup.exe.asc`` in the same folder as the
downloaded installer.

.. figure:: img/windows/setup-windows-kleopatra-verify.png
Expand All @@ -73,8 +73,8 @@ downloaded installer.
Selecting the signature file for verification

If you see the first line of the message reads ``Verified
dashcore-21.0.2-win64-setup.exe with
dashcore-21.0.2-win64-setup.exe.asc`` then you have an authentic copy
dashcore-21.1.0-win64-setup.exe with
dashcore-21.1.0-win64-setup.exe.asc`` then you have an authentic copy
of Dash Core for Windows.

.. figure:: img/windows/setup-windows-kleopatra-verified.png
Expand Down
6 changes: 4 additions & 2 deletions scripts/update-download-links.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
# Dash Core version is released

# Define old and new version variables
OLD_VERSION="21.0.0"
NEW_VERSION="21.0.2"
OLD_VERSION="21.0.2"
NEW_VERSION="21.1.0"

git checkout -b v$NEW_VERSION-links

# Use the variables in the find/sed commands
find . -iname "*.rst" -exec sed -i "s~/v${OLD_VERSION}/dashcore-${OLD_VERSION}-~/v${NEW_VERSION}/dashcore-${NEW_VERSION}-~g" {} +
Expand Down

0 comments on commit 646b773

Please sign in to comment.