It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
#!/bin/sh
minhash=1000000 # 10000.00 ghs without the decimal
restart=21600 # 6 hours
echo $(date) "| hashcheck monitor started. reboot every $restart seconds or if lower than $minhash " > /config/hashcheck.txt
restartcount=0
while true
do
T=$(bmminer-api devs | grep 'ture] =>' | cut -c 21-)
E=$(bmminer-api summary | grep "^ *\[Elapsed\]" | cut -d'>' -f2 | tr -d ' ')
S=$(bmminer-api | grep 'GHS 5s] => ' | cut -c 16- | tr -d '.')
if [ $E -gt $restart ]; then
restartcount=$((restartcount+1))
restarthash=$(bmminer-api | grep 'GHS 5s] => ' | cut -c 16-)
restarttime=$(date)
elapsedtime=$E
echo $(date) "| miner scheduled restart " $restartcount " times: " $restarthash " GH/s $T DEG , at " $restarttime for $elapsedtime seconds >> /config/hashcheck.txt
killall -s 9 bmminer
sleep 5
/etc/init.d/bmminer.sh
sleep 300
fi
T=$(bmminer-api devs | grep 'ture] =>' | cut -c 21-)
E=$(bmminer-api summary | grep "^ *\[Elapsed\]" | cut -d'>' -f2 | tr -d ' ')
S=$(bmminer-api | grep 'GHS 5s] => ' | cut -c 16- | tr -d '.')
HASH=$(bmminer-api | grep 'GHS 5s] => ' | cut -c 16-)
if [ $E -gt "600" ] || [ $E == "" ]; then
if [ $S -lt $minhash ] || [ $S == "" ]; then
echo $(date) "| rechecking in 120s" low hash : $HASH GH/s $T DEG >> /config/hashcheck.txt
sleep 120
S=$(bmminer-api | grep 'GHS 5s] => ' | cut -c 16- | tr -d '.')
E=$(bmminer-api summary | grep "^ *\[Elapsed\]" | cut -d'>' -f2 | tr -d ' ')
T=$(bmminer-api devs | grep 'ture] =>' | cut -c 21-)
HASH=$(bmminer-api | grep 'GHS 5s] => ' | cut -c 16-)
if [ $S -lt $minhash ] || [$S == "" ]; then
restartcount=$((restartcount+1))
restarthash=$(bmminer-api | grep 'GHS 5s] => ' | cut -c 16-)
restarttime=$(date)
elapsedtime=$E
echo $(date) "| failed low hash: " $restarthash GH/s $T DEG >> /config/hashcheck.txt
killall -9 bmminer
sleep 5
/etc/init.d/bmminer.sh
echo $(date) "| miner restarted " $restartcount " times: " $restarthash "GH/s $T DEG , at " $restarttime for $elapsedtime seconds >> /config/hashcheck.txt
else
echo $(date) "| recovered: " $HASH GH/s $E seconds $T DEG >> /config/hashcheck.txt
fi
else
echo $(date) "| normal operation: " $HASH GH/s $E seconds $T DEG >> /config/hashcheck.txt
fi
fi
sleep 300
done