Pages:
Author

Topic: [ANN] [QRK] Quark | POW/POS | 0.10.6.3 - New Self Moderated Thread - page 8. (Read 64220 times)

newbie
Activity: 36
Merit: 0
Thx for the script!

Can you help me please?
Why i don't have quark-cli after run quarkd ? I need it, how to be?

can anyone share linux quark-cli file please?
After running the quarkd download you should find four files in ~/Crypto/Quark
newbie
Activity: 10
Merit: 0
Thx for the script!

Can you help me please?
Why i don't have quark-cli after run quarkd ? I need it, how to be?

can anyone share linux quark-cli file please?
newbie
Activity: 36
Merit: 0
Feel free to use this kind of shit-script to keep rewards running. (And yes rewards are still incomming but if your mn hangs on block for several hours, you need to restart mn from wallet again, to get rewards again.

@AggroHead Thanks for sharing. M$ solution required.
As for rewards stopping after a few hours, does not appear to be the case. Masternode stalled 13hours ago but has continued to receive rewards every hour or so.
newbie
Activity: 36
Merit: 0
Currently stuck on 7295509 can see at least 6 other peers also stuck here.
Highest peer visible 7296859
newbie
Activity: 10
Merit: 0
Thx for the script!

Can you help me please?
Why i don't have quark-cli after run quarkd ? I need it, how to be?
newbie
Activity: 12
Merit: 0
This coin daemon for masternode is terribly unreliable.

I host a 32 GB vps with 10 masternodes on it. (yes, swap-file on ssd)
Since there is no solution to get the masternodes running stable, I want to share my script.

I created a crontab (running every 10 minutes). It checks blockcount from explorer and compare to masternode's-blockcount.
If blockcount of any (node or explorer) is newer than (-gap of 5 blocks) OR block is the same as last cron-run (because explorer also hangs sometimes) --> it stop mn-daemon (and systemctl restart it automatically).

Feel free to use this kind of shit-script to keep rewards running. (And yes rewards are still incomming but if your mn hangs on block for several hours, you need to restart mn from wallet again, to get rewards again.
Some of my mn's hangs every ~30-120 minutes, so rewards never began to run.  Undecided

script.sh
Code:
#!/bin/bash


#Console Colour
BLUE="\033[0;34m"
YELLOW="\033[0;33m"
CYAN="\033[0;36m"
PURPLE="\033[0;35m"
RED='\033[0;31m'
GREEN="\033[0;32m"
MAG='\e[1;35m'
NC='\033[0m'


coin_cli=/usr/local/bin/quark-cli
blockcount_gap=5
logfile=/root/mnh-status.log

# /root/*subfolder* = masternode-instance
# mn-01  mn-02  mn-03  mn-04  mn-05  mn-06  mn-07  mn-08  mn-09  mn-10
mns=$(ls /root/ | grep mn-)

function log() {
logtime=$(date '+%H:%M:%S')
C=$1
LS="$2"
echo -e "$logtime: ${C}$LS${NC}"
}
function logtf() {
log $1 "$2"
LS="$2"
logtime=$(date '+%Y-%m-%d %H:%M:%S')
echo "$logtime: $LS" >> $logfile
}

blockcount=$(curl -s https://chainz.cryptoid.info/qrk/api.dws?q=getblockcount --max-time 5)
if [ $? -ne 0 ]; then
blockcount=0
fi

lastblockcount=$(cat /root/mnh-lastblock.txt)
if [ $? -ne 0 ]; then
lastblockcount=0
fi

for mn in $mns ; do
mbc=$($coin_cli -datadir=/root/$mn getblockcount 2>/dev/null)
mst=$?
if [ $mst -eq 0 ]; then
if [ $mbc -gt $blockcount ]; then
blockcount=$mbc
fi
fi
done

echo $blockcount > /root/mnh-lastblock.txt

logtf $YELLOW "Highest Block: $blockcount"
logtf $YELLOW "   Last Block: $lastblockcount"

if [ $blockcount -le $lastblockcount ]; then
logtf $RED "Same blockcount as last run!"
for mn in $mns ; do
mbc=$($coin_cli -datadir=/root/$mn getblockcount 2>/dev/null)
mst=$?
mbcg=$(($mbc-$blockcount))
logtf $NC "$mn   Status: $mst   Block: $mbc ($mbcg)"

if [ $mst -eq 0 ]; then
logtf $RED "$mn stopping"
$coin_cli -datadir=/root/$mn stop >/dev/null
fi
done
else
for mn in $mns ; do
mbc=$($coin_cli -datadir=/root/$mn getblockcount 2>/dev/null)
mst=$?
mbcg=$(($mbc-$blockcount))
logtf $NC "$mn   Status: $mst   Block: $mbc ($mbcg)"

if [ $mst -eq 0 ]; then
if [ $mbc -le $(($blockcount-$blockcount_gap)) ]; then
logtf $RED "$mn stopping"
$coin_cli -datadir=/root/$mn stop >/dev/null
fi
fi
done
fi

to monitor all my nodes I use this little oneliner:
Code:
watch -n 1 'echo -n "mn01: " && quark-cli -datadir=/root/mn-01 getblockcount && quark-cli -datadir=/root/mn-01 masternode status | grep status && echo && echo -n "mn02: " && quark-cli -datadir=/root/mn-02 getblockcount && quark-cli -datadir=/root/mn-02 masternode status | grep status && echo && echo -n "mn03: " && quark-cli -datadir=/root/mn-03 getblockcount && quark-cli -datadir=/root/mn-03 masternode status | grep status && echo && echo -n "mn04: " && quark-cli -datadir=/root/mn-04 getblockcount && quark-cli -datadir=/root/mn-04 masternode status | grep status && echo && echo -n "mn05: " && quark-cli -datadir=/root/mn-05 getblockcount && quark-cli -datadir=/root/mn-05 masternode status | grep status && echo && echo -n "mn06: " && quark-cli -datadir=/root/mn-06 getblockcount && quark-cli -datadir=/root/mn-06 masternode status | grep status && echo && echo -n "mn07: " && quark-cli -datadir=/root/mn-07 getblockcount && quark-cli -datadir=/root/mn-07 masternode status | grep status && echo && echo -n "mn08: " && quark-cli -datadir=/root/mn-08 getblockcount && quark-cli -datadir=/root/mn-08 masternode status | grep status && echo && echo -n "mn09: " && quark-cli -datadir=/root/mn-09 getblockcount && quark-cli -datadir=/root/mn-09 masternode status | grep status && echo && echo -n "mn10: " && quark-cli -datadir=/root/mn-10 getblockcount && quark-cli -datadir=/root/mn-10 masternode status | grep status'

 Tongue
newbie
Activity: 36
Merit: 0
The interval between required restarts is reducing to ridiculous levels. Currently sub 1 hour.
Surely an admission of broken is in order?
newbie
Activity: 10
Merit: 0
Stuck 7294024
Peer Height 7294637
newbie
Activity: 36
Merit: 0
Stuck 7292626
Peer Height 7293994
newbie
Activity: 36
Merit: 0
8 of my 10 masternodes stock on
port
7289807

each one uses a conf-file with different addnodes
also my desktop-wallet stuck at same block.

after restart wallet, it works again. But not for long time...


Facing the same issue from the beginning, now I am getting rewards,
but not sure I getting correct amount of QRK as reward. For each MN's

Most of time our MN's stats not match with data https://masternodes.online/currencies/QRK/


This what ghzsymc2 said sometimes back


When my wallet gets stuck though I need to reboot

But my MN didn't go down

My rewards were still allocated to me on time

Same thing here.
Rewards are still allocated but my masternodes are not assisting the network.
The newer rewards can be seen on the explorer but the local height is stuck.
On restart the rewards are visible locally. 2/3 currently stuck at 7289742

Glad to see I'm not the only one in this sad state. (Misery loves company)
member
Activity: 92
Merit: 12
Happy Mining!
8 of my 10 masternodes stock on
port
7289807

each one uses a conf-file with different addnodes
also my desktop-wallet stuck at same block.

after restart wallet, it works again. But not for long time...


Facing the same issue from the beginning, now I am getting rewards,
but not sure I getting correct amount of QRK as reward. For each MN's

Most of time our MN's stats not match with data https://masternodes.online/currencies/QRK/


This what ghzsymc2 said sometimes back


When my wallet gets stuck though I need to reboot

But my MN didn't go down

My rewards were still allocated to me on time
newbie
Activity: 12
Merit: 0
8 of my 10 masternodes stock on
block
7289807

each one uses a conf-file with different addnodes
also my desktop-wallet stuck at same block.

after restart wallet, it works again. But not for long time...
newbie
Activity: 36
Merit: 0
I have three masternodes stuck at 7282818, Restart Required.
Stuck again at 7283336
and again 7283563

This may be due to the presence of some version or older version in the network

First make sure you are 0.10.7.4

Then You can then search the Explorer for some nodes to add to the quarkcoin.conf file
Really? You think I'm running 3 masternodes without having a clue?
I am connected to nodes that have progressed further. Mine are failing at certain levels, Instead of teaching us how to suck eggs, how about looking into the problem.
Stuck again at 7285276!
newbie
Activity: 10
Merit: 0
How to install linux wallet 0.10.7.4, with only quarkd file?

You need to give it rights and then run it as deamon. It will creat its files. Then just eddit the quarkcoin.conf and move the -cli (see page 48 and the next two).
Thx bro, but i can't find -cli after install quarkd.
And if i start service (like in post 966):
Code:
Job for quarkMN1.service failed because the control process exited with error code.
See "systemctl status quarkMN1.service" and "journalctl -xe" for details.
newbie
Activity: 25
Merit: 0
How to install linux wallet 0.10.7.4, with only quarkd file?

You need to give it rights and then run it as deamon. It will creat its files. Then just eddit the quarkcoin.conf and move the -cli (see page 48 and the next two).
newbie
Activity: 10
Merit: 0
How to install linux wallet 0.10.7.4, with only quarkd file?
jr. member
Activity: 180
Merit: 4
The official website has added the download of logo and block data

https://quarkcoin.info/resource_download/
jr. member
Activity: 180
Merit: 4
I have three masternodes stuck at 7282818, Restart Required.
Stuck again at 7283336
and again 7283563

This may be due to the presence of some version or older version in the network

First make sure you are 0.10.7.4

Then You can then search the Explorer for some nodes to add to the quarkcoin.conf file
full member
Activity: 474
Merit: 101
Any Quark masternode setup guide?
newbie
Activity: 36
Merit: 0
I have three masternodes stuck at 7282818, Restart Required.
Stuck again at 7283336
and again 7283563
Pages:
Jump to: