diff --git a/assets/block.jpg b/assets/block.jpg index 305bf501..1816a57b 100644 Binary files a/assets/block.jpg and b/assets/block.jpg differ diff --git a/config/block/block.env b/config/block/block.env index fb0210e8..0f496235 100644 --- a/config/block/block.env +++ b/config/block/block.env @@ -2,4 +2,4 @@ CODENAME=block MNODE_DAEMON=${MNODE_DAEMON:-/usr/local/bin/blocknetdxd} MNODE_INBOUND_PORT=${MNODE_INBOUND_PORT:-41412} GIT_URL=https://github.com/BlocknetDX/BlockDX -SCVERSION="3.10.4" \ No newline at end of file +SCVERSION="3.10.4" diff --git a/config/crownmn/crownmn.conf b/config/crownmn/crownmn.conf index 6d5fad5d..a1d80a9b 100644 --- a/config/crownmn/crownmn.conf +++ b/config/crownmn/crownmn.conf @@ -5,9 +5,8 @@ txindex=1 logtimestamps=1 listen=1 daemon=1 -gen=0 -maxconnections=256 -bind=XXX_IPV6_INT_BASE_XXX:XXX_NETWORK_BASE_TAG_XXX::XXX_NUM_XXY:XXX_MNODE_INBOUND_PORT_XXX +staking=1 +discover=1 ############################# # nodes we want to stick to @@ -19,7 +18,7 @@ bind=XXX_IPV6_INT_BASE_XXX:XXX_NETWORK_BASE_TAG_XXX::XXX_NUM_XXY:XXX_MNODE_INBOU ################################ masternode=1 #### INSERT YOUR SYSTEMNODE PRIVATEKEY BELOW #################################################### -masternodeprivkey=HERE_GOES_YOUR_SYSTEMNODE_KEY_FOR_SYSTEMNODE_XXX_GIT_PROJECT_XXX_XXX_NUM_XXX +masternodeprivkey=HERE_GOES_YOUR_MASTERNODE_KEY_FOR_MASTERMNODE_XXX_GIT_PROJECT_XXX_XXX_NUM_XXX ################################################################################################# # # b. @@ -33,13 +32,6 @@ masternodeprivkey=HERE_GOES_YOUR_SYSTEMNODE_KEY_FOR_SYSTEMNODE_XXX_GIT_PROJECT_X # `8 ################################################################################################# -############################# -# optional indices -############################# -addressindex=1 -timestampindex=1 -spentindex=1 - ############################# # JSONRPC ############################# diff --git a/config/crownmn/crownmn.env b/config/crownmn/crownmn.env index 51e4176a..04a805e0 100644 --- a/config/crownmn/crownmn.env +++ b/config/crownmn/crownmn.env @@ -1,5 +1,5 @@ CODENAME=crownmn MNODE_DAEMON=${MNODE_DAEMON:-/usr/local/bin/crownd} MNODE_INBOUND_PORT=${MNODE_INBOUND_PORT:-9340} -GIT_URL=https://github.com/Crowndev/crowncoin.git -SCVERSION="tags/v0.12.5.1" \ No newline at end of file +GIT_URL=https://github.com/Crowndev/crown-core.git +SCVERSION="tags/v0.13.4.0" diff --git a/config/crownsn/crownsn.conf b/config/crownsn/crownsn.conf index 5907df84..00a82ca8 100644 --- a/config/crownsn/crownsn.conf +++ b/config/crownsn/crownsn.conf @@ -5,9 +5,8 @@ txindex=1 logtimestamps=1 listen=1 daemon=1 -gen=0 -maxconnections=256 -bind=XXX_IPV6_INT_BASE_XXX:XXX_NETWORK_BASE_TAG_XXX::XXX_NUM_XXY:XXX_MNODE_INBOUND_PORT_XXX +staking=1 +discover=1 ############################# # nodes we want to stick to @@ -33,13 +32,6 @@ systemnodeprivkey=HERE_GOES_YOUR_SYSTEMNODE_KEY_FOR_SYSTEMNODE_XXX_GIT_PROJECT_X # `8 ################################################################################################# -############################# -# optional indices -############################# -addressindex=1 -timestampindex=1 -spentindex=1 - ############################# # JSONRPC ############################# diff --git a/config/crownsn/crownsn.env b/config/crownsn/crownsn.env index 5bdd1ae1..135877b6 100644 --- a/config/crownsn/crownsn.env +++ b/config/crownsn/crownsn.env @@ -1,5 +1,5 @@ CODENAME=crownsn MNODE_DAEMON=${MNODE_DAEMON:-/usr/local/bin/crownd} MNODE_INBOUND_PORT=${MNODE_INBOUND_PORT:-9340} -GIT_URL=https://github.com/Crowndev/crowncoin.git -SCVERSION="tags/v0.12.5.1" \ No newline at end of file +GIT_URL=https://github.com/Crowndev/crown-core.git +SCVERSION="tags/v0.13.4.0" diff --git a/config/default.env b/config/default.env index 670f1472..fdba1294 100644 --- a/config/default.env +++ b/config/default.env @@ -7,6 +7,7 @@ MNODE_CONF_BASE=${MNODE_CONF_BASE:-/etc/masternodes} MNODE_DATA_BASE=${MNODE_DATA_BASE:-/var/lib/masternodes} MNODE_USER=${MNODE_USER:-masternode} MNODE_HELPER="/usr/local/bin/activate_masternodes" -MNODE_SWAPSIZE=${MNODE_SWAPSIZE:-5000} +MNODE_SWAPSIZE=${MNODE_SWAPSIZE:-4000} CODE_DIR="code" -SETUP_MNODES_COUNT=${SETUP_MNODES_COUNT:-1} \ No newline at end of file +SETUP_MNODES_COUNT=${SETUP_MNODES_COUNT:-1} +SETUP_MNODES_BASE=${SETUP_MNODES_BASE:-1} diff --git a/install.sh b/install.sh index 5a6ad363..4a8341a5 100755 --- a/install.sh +++ b/install.sh @@ -80,6 +80,7 @@ function show_help(){ echo "-p or --project string: Project to be installed. REQUIRED."; echo "-n or --net: IP address type t be used (4 vs. 6)."; echo "-c or --count: Number of masternodes to be installed."; + echo "-b or --base: Starting number for masternode instances."; echo "-r or --release: Release version to be installed."; 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"; @@ -278,7 +279,7 @@ function create_mn_configuration() { cd ${SCRIPTPATH} # create one config file per masternode - for NUM in $(seq 1 ${count}); do + for NUM in $(seq ${base} ${count}); do PASS=$(date | md5sum | cut -c1-24) # we dont want to overwrite an existing config file @@ -788,6 +789,14 @@ while true; do shift; fi ;; + -b|--base) + shift; + if [ -n "$1" ]; + then + base="$1"; + shift; + fi + ;; -r|--release) shift; if [ -n "$1" ];