Skip to content

Commit

Permalink
add coin template
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-maier-mw committed Dec 15, 2017
1 parent 49a0367 commit c25b4cc
Show file tree
Hide file tree
Showing 17 changed files with 68 additions and 2 deletions.
Binary file modified assets/alqo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/collage.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/default.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/dtmi.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/force.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/innova.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/magnet.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/mona.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/mtnc.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/phore.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/rns.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/yup.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/zcoin.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ declare -r CRYPTOS=`ls -l config/ | egrep '^d' | awk '{print $9}' | xargs echo -
declare -r DATE_STAMP="$(date +%y-%m-%d-%s)"
declare -r SCRIPTPATH=$( cd $(dirname ${BASH_SOURCE[0]}) > /dev/null; pwd -P )
declare -r MASTERPATH="$(dirname "${SCRIPTPATH}")"
declare -r SCRIPT_VERSION="v0.8.0"
declare -r SCRIPT_VERSION="v0.8.1"
declare -r SCRIPT_LOGFILE="/tmp/nodemaster_${DATE_STAMP}_out.log"
declare -r IPV4_DOC_LINK="https://www.vultr.com/docs/add-secondary-ipv4-address"

Expand Down Expand Up @@ -82,6 +82,7 @@ function show_help(){
echo "-s or --sentinel: Add sentinel monitoring for a node type. Combine with the -p option";
echo "-w or --wipe: Wipe ALL local data for a node type. Combine with the -p option";
echo "-u or --update: Update a specific masternode daemon. Combine with the -p option";
echo "-r or --release: Release version to be installed.";
exit 1;
}

Expand Down Expand Up @@ -525,7 +526,9 @@ function build_mn_from_source() {
# print ascii banner if a logo exists
echo -e "* Starting the compilation process for ${CODENAME}, stay tuned"
if [ -f "${SCRIPTPATH}/assets/$CODENAME.jpg" ]; then
jp2a -b --colors --width=56 ${SCRIPTPATH}/assets/${CODENAME}.jpg
jp2a -b --colors --width=56 ${SCRIPTPATH}/assets/${CODENAME}.jpg
else
jp2a -b --colors --width=56 ${SCRIPTPATH}/assets/default.jpg
fi
# compilation starts here
source ${SCRIPTPATH}/config/${CODENAME}/${CODENAME}.compile | pv -t -i0.1
Expand Down
5 changes: 5 additions & 0 deletions new_coin_template/coin.compile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

cd src
make -f makefile.unix USE_UPNP=-
cp pepecoind ${MNODE_DAEMON}
52 changes: 52 additions & 0 deletions new_coin_template/coin.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
################################
# basic settings
################################
txindex=1
logtimestamps=1
listen=1
daemon=1
staking=0
gen=0
maxconnections=256
bind=XXX_IPV6_INT_BASE_XXX:XXX_NETWORK_BASE_TAG_XXX::XXX_NUM_XXY:XXX_MNODE_INBOUND_PORT_XXX

#############################
# nodes we want to stick to
#############################
# addnode=seed1.coinseed.org


################################
# masternode specific settings
################################
masternode=1
#### INSERT YOUR MASTERNODE PRIVATEKEY BELOW ####################################################
masternodeprivkey=HERE_GOES_YOUR_MASTERNODE_KEY_FOR_MASTERNODE_XXX_GIT_PROJECT_XXX_XXX_NUM_XXX
#################################################################################################
#
# b.
# 88b Insert your generated masternode privkey here
# 888b.
# 88888b
# 888888b.
# 8888P"
# P" `8.
# `8.
# `8
#################################################################################################

#############################
# optional indices
#############################
addressindex=1
timestampindex=1
spentindex=1

#############################
# JSONRPC
#############################
server=1
rpcuser=XXX_GIT_PROJECT_XXXrpc
rpcpassword=XXX_PASS_XXX
rpcallowip=127.0.0.1
rpcport=555XXX_NUM_XXX
6 changes: 6 additions & 0 deletions new_coin_template/coin.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CODENAME=coin
MNODE_DAEMON=${MNODE_DAEMON:-/usr/local/bin/coind}
MNODE_INBOUND_PORT=${MNODE_INBOUND_PORT:-31337}
GIT_URL=https://github.com/cointeam/coin.git
SCVERSION="tags/2.5.2.0"
NETWORK_BASE_TAG="2012"

0 comments on commit c25b4cc

Please sign in to comment.