-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 0.0.7n - install MMGen 0.9.2aug1hf, Bitcoin ABC daemon
August 1 2017 HF support: Launch the desired version of bitcoind: - mmlive-node-start # Bitcoin Core - mmlive-node-start -U # UASF - mmlive-node-start -A # Bitcoin ABC With ABC daemon running, transact on the BCH chain: - mmgen-txdo --aug1hf, mmgen-txsign --aug1hf
- Loading branch information
Showing
3 changed files
with
48 additions
and
5 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
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,40 @@ | ||
#!/bin/bash | ||
#:REV: 0.0.7n | ||
#:DESC: Upgrade MMGen to aug1hf tag version | ||
#:DESC: Install Bitcoin ABC client with disclaimer | ||
|
||
set -e | ||
|
||
function upgrade_mmgen { | ||
echo "Upgrading MMGen to version '$VER'" | ||
( | ||
cd /setup/git/MMGenLive/ | ||
eval "$BUILD_SYSTEM chroot_install_mmgen_user_at_commit 'IN_MMLIVE_SYSTEM=1' 'MMGEN_COMMIT=$VER'" | ||
) | ||
} | ||
|
||
VER='aug1hf' | ||
[ -d ~mmgen/src/mmgen-$VER ] || upgrade_mmgen | ||
|
||
VERSION='0.14.6' | ||
SUBVERSION='-abc' | ||
CHKSUM='9f37b8ec36a37944b016bbbf07340adb8ba644abb897b2d2e0edeb99ccf709c0' | ||
DLDIR_URL='https://download.bitcoinabc.org/0.14.6/linux' | ||
ARCHIVE='bitcoin-0.14.6-x86_64-linux-gnu.tar.gz' | ||
|
||
function do_install { | ||
echo "Installing Bitcoin ABC version '$VERSION'" | ||
( | ||
cd /setup/git/MMGenLive/ | ||
TARGET='chroot_install_bitcoind_archive' | ||
eval "$BUILD_SYSTEM $TARGET 'IN_MMLIVE_SYSTEM=1' 'VER=$VERSION' 'SUBVER=$SUBVERSION' 'BITCOIND_CHKSUM=$CHKSUM' 'DLDIR_URL=$DLDIR_URL' 'ARCHIVE=$ARCHIVE'" | ||
) | ||
} | ||
|
||
which 'bitcoind-abc' >/dev/null || { | ||
do_install | ||
echo -e "${YELLOW}To select the Bitcoin ABC client, run 'mmlive-node-start' with the '-A' switch$RESET" | ||
echo -e "${YELLOW}This is untrusted software. No warranty is provided by MMGen.$RESET" | ||
echo -e "${YELLOW}To minimize your risk, use MMGen only in online/offline mode.$RESET" | ||
} | ||
exit 0 |