Get update utility in, add notes on it to README.

This commit is contained in:
David Dawes
2018-06-03 22:19:35 -07:00
parent d249bcbdb3
commit e5d6a4a607
4 changed files with 59 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ komodod - VerusCoin's enhanced Komodo daemon
komodo-cli - VerusCoin's Komodo command line utility
verus - wrapper for komodo-cli that applies the command to the VRSC coin
verusd - wrapper for komodod that sets the VerusCoin parameters to defaults properly
update-verus-agama.sh - script to update an existing VerusCoin enhanced Agama wallet install with this version of komodod. To update run the script and pass the path to the wallet on the command line: ./update-verus-agama.sh ~/Downloads/Agama-linux-x64
The first time on a new system you will need to run ./fetchparams.sh before using komodod or verusd.
On Ubuntu 18 systems you will need to run these two commands before running the command line tools:

View File

@@ -0,0 +1,28 @@
#!/bin/bash
if [ $# -eq 0 ]
then
echo "Usage: ./update-verus-agama.sh path/to/agama/directory."
echo "No arguments supplied, no updates applied."
exit 1
fi
PASSED=$1
if [ -d "${PASSED}" ] ; then
if [ -f "${PASSED}/komodod" ] ; then
cp komodod ${PASSED}
cp komodo-cli ${PASSED}
exit 0
else
echo "No komodod found in ${PASSED}"
echo "Copying komodod and komodo-cli anyway"
cp komodod ${PASSED}
cp komodo-cli ${PASSED}
exit 0
fi
else
echo "Pass the Agama-darwin-x64 directory on the command line."
echo "${PASSED} is not a valid directory.";
exit 1
fi

View File

@@ -6,8 +6,10 @@ komodo-cli - VerusCoin's enhanced Komodo command line utility.
verus - wrapper for komodo-cli that applies the command to the VRSC coin
verusd - wrapper for komodod that sets the VerusCoin parameters to defaults properly
fetch_params.sh - utility to download the zcash parameters needed to start the VerusCoin command line tools and scripts
update-verus-agama.sh - script to update an existing VerusCoin enhanced Agama wallet install with this version of komodod. To update run the script and pass the path to the wallet on the command line: ./update-verus-agama.sh ~/Downloads/Agama-darwin-x64
Command line tools are run from the terminal. You can launch the terminal on a Mac by using the Finder, selecting Applications and from that select Utilities, finally selecting Terminal from the Utilities folder.
Change to the directory you extraced the verus-cli into in the terminal
cd ~/Downloads/verus-cli
For example, if you extracted it directly in the Downloads directory.

View File

@@ -0,0 +1,28 @@
#!/bin/bash
if [ $# -eq 0 ]
then
echo "Usage: ./update-verus-agama.sh path/to/agama/directory."
echo "No arguments supplied, no updates applied."
exit 1
fi
PASSED=$1
if [ -d "${PASSED}" ] ; then
if [ -f "${PASSED}/komodod" ] ; then
cp komodod ${PASSED}
cp komodo-cli ${PASSED}
exit 0
else
echo "No komodod found in ${PASSED}"
echo "Copying komodod and komodo-cli anyway"
cp komodod ${PASSED}
cp komodo-cli ${PASSED}
exit 0
fi
else
echo "Pass the Agama-darwin-x64 directory on the command line."
echo "${PASSED} is not a valid directory.";
exit 1
fi