Browse Source

Bitcoin should be on primary not secondary

master
Luke Childs 5 years ago
parent
commit
db7f8e1e55
  1. 8
      listclis.sh
  2. 4
      listcoins.sh
  3. 4
      startdaemons.sh

8
listclis.sh

@ -21,8 +21,11 @@ if [[ -z "${specific_coin}" ]] || [[ "${specific_coin}" = "KMD" ]]; then
echo ${komodo_cli}
fi
# Assetchains
# Bitcoin and assetchains
if [[ "${server_type}" = "primary" ]]; then
if [[ -z "${specific_coin}" ]] || [[ "${specific_coin}" = "BTC" ]]; then
echo ${bitcoin_cli}
fi
if [[ -z "${specific_coin}" ]] || [[ "${specific_coin}" = "HUSH3" ]]; then
echo ${hush3_cli}
fi
@ -35,9 +38,6 @@ fi
# 3rd party daemons
if [[ "${server_type}" = "secondary" ]]; then
if [[ -z "${specific_coin}" ]] || [[ "${specific_coin}" = "BTC" ]]; then
echo ${bitcoin_cli}
fi
if [[ -z "${specific_coin}" ]] || [[ "${specific_coin}" = "CHIPS" ]]; then
echo ${chips_cli}
fi

4
listcoins.sh

@ -6,15 +6,15 @@ server_type=$(cat server_type.txt)
# Komodo
echo "KMD"
# Assetchains
# Bitcoin and assetchains
if [[ "${server_type}" = "primary" ]]; then
echo "BTC"
echo "HUSH3"
./listassetchains
fi
# 3rd party daemons
if [[ "${server_type}" = "secondary" ]]; then
echo "BTC"
echo "CHIPS"
echo "GAME"
echo "EMC2"

4
startdaemons.sh

@ -7,15 +7,15 @@ pubkey=$(cat pubkey.txt)
# Komodo
komodod -gen -genproclimit=1 -notary -pubkey=$pubkey &
# Assetchains
# Bitcoin and assetchains
if [[ "${server_type}" = "primary" ]]; then
bitcoind &
hushd -pubkey=$pubkey &
./startassetchains.sh &
fi
# 3rd party daemons
if [[ "${server_type}" = "secondary" ]]; then
bitcoind &
chipsd -pubkey=$pubkey &
gamecreditsd -pubkey=$pubkey &
einsteiniumd -pubkey=$pubkey &

Loading…
Cancel
Save