Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
114 lines (100 sloc) 2.44 KB
#!/bin/bash
# shellcheck disable=SC2034
# Copyright (c) 2018
# All rights reserved.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
: '
# Run this file
```
bash -ic "$(wget -4qO- -o- raw.githubusercontent.com/mikeytown2/masternode/master/securecloudd.sh)" ; source ~/.bashrc
```
'
# Github user and project.
GITHUB_REPO='securecloudnet/SecureCloud'
# Display Name.
DAEMON_NAME='SecureCloud Core'
# Coin Ticker.
TICKER='SCN'
# Binary base name.
BIN_BASE='securecloud'
# Directory.
DIRECTORY='.securecloud'
# Conf File.
CONF='securecloud.conf'
# Port.
DEFAULT_PORT=9191
# Explorer URL.
EXPLORER_URL='http://explorer.securecloudnet.org:3001/'
# Rate limit explorer.
EXPLORER_SLEEP=1
# Amount of Collateral needed.
COLLATERAL=1200
# Direct Daemon Download if github has no releases.
DAEMON_DOWNLOAD=''
# Blocktime in seconds.
BLOCKTIME=60
# Cycle Daemon on first start.
DAEMON_CYCLE=1
# Multiple on single IP.
MULTI_IP_MODE=1
# Tip Address.
TIPS='sWN8uJAmVTsQXPXhpJskQVdqfYc4XRuzXb'
# Dropbox Addnodes.
DROPBOX_ADDNODES='twbzib052foi39d'
# If set to 1 then use addnodes from dropbox.
USE_DROPBOX_ADDNODES=1
# Dropbox Bootstrap.
DROPBOX_BOOTSTRAP='4n6bf2s7tpk0hxw'
# If set to 1 then use bootstrap from dropbox.
USE_DROPBOX_BOOTSTRAP=1
# Dropbox blocks and chainstake folders.
DROPBOX_BLOCKS_N_CHAINS='dx8n4uubzfr3kgc'
ASCII_ART () {
echo -e "\e[0m"
clear 2> /dev/null
cat << "SECURECLOUD"
____ ____ _ _
/ ___| ___ ___ _ _ _ __ ___ / ___| | ___ _ _ __| |
\___ \ / _ \/ __| | | | '__/ _ \ | | |/ _ \| | | |/ _` |
___) | __/ (__| |_| | | | __/ |___| | (_) | |_| | (_| |
|____/ \___|\___|\__,_|_| \___|\____|_|\___/ \__,_|\__,_|
____
/ ___|___ _ __ ___
| | / _ \| '__/ _ \
| |__| (_) | | | __/
\____\___/|_| \___|
SECURECLOUD
}
# Discord User Info
# @mcarper#0918
# 401161988744544258
cd ~/ || exit
COUNTER=0
rm -f ~/___mn.sh
while [[ ! -f ~/___mn.sh ]] || [[ $( grep -Fxc "# End of masternode setup script." ~/___mn.sh ) -eq 0 ]]
do
rm -f ~/___mn.sh
echo "Downloading Masternode Setup Script."
wget -4qo- goo.gl/uQw9tz -O ~/___mn.sh
COUNTER=1
if [[ "${COUNTER}" -gt 3 ]]
then
echo
echo "Download of masternode setup script failed."
echo
exit 1
fi
done
(
sleep 2
rm ~/___mn.sh
) & disown
(
# shellcheck disable=SC1091
# shellcheck source=/root/___mn.sh
. ~/___mn.sh
DAEMON_SETUP_THREAD
)
# shellcheck source=/root/.bashrc
. ~/.bashrc
stty sane 2>/dev/null
You can’t perform that action at this time.