This repository has been archived by the owner on Apr 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated a few more things to BitcoinZ
- Loading branch information
Showing
6 changed files
with
62 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env bash | ||
|
||
# actually untested, sorry | ||
|
||
cd "$(dirname "$(readlink -f "$0")")" #'"%#@! | ||
|
||
sudo dnf install \ | ||
git pkgconfig automake autoconf ncurses-devel python \ | ||
python-zmq wget gtest-devel gcc gcc-c++ libtool patch | ||
|
||
./fetch-params.sh || exit 1 | ||
|
||
./build.sh --disable-tests --disable-rust -j$(nproc) || exit 1 | ||
|
||
if [ ! -r ~/.bitcoinz/bitcoinz.conf ]; then | ||
mkdir -p ~/.bitcoinz | ||
echo "addnode=mainnet.bitcoinz.site" >~/.bitcoinz/bitcoinz.conf | ||
echo "rpcuser=username" >>~/.bitcoinz/bitcoinz.conf | ||
echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >>~/.bitcoinz/bitcoinz.conf | ||
fi | ||
|
||
cd ../src/ | ||
cp -f zcashd bitcoinzd | ||
cp -f zcash-cli bitcoinz-cli | ||
cp -f zcash-tx bitcoinz-tx | ||
|
||
echo "" | ||
echo "--------------------------------------------------------------------------" | ||
echo "Compilation complete. Now you can run ./src/bitcoinzd to start the daemon." | ||
echo "It will use configuration file from ~/.bitcoinz/bitcoinz.conf" | ||
echo "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.