This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
first=1185408 | |
last=`litecoin-cli getblockcount` | |
echo Counting blocks from $first to $last... | |
for ((i=$first; i<=$last; i++)); do | |
hash=`litecoin-cli getblockhash $i` | |
ver=`litecoin-cli getblock $hash | grep '"version"' | sed s/[^0-9]//g` | |
(((ver&0x20000001)==0x20000001)) && ((csv++)) | |
(((ver&0x20000002)==0x20000002)) && ((segwit++)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
OPTIONS="--retries=3 --userpass=username.1:x" | |
while : | |
do | |
./minerd $OPTIONS --url=http://ejpool.info:9332/ | |
./minerd $OPTIONS --url=http://lc.ozco.in:9332/ | |
./minerd $OPTIONS --url=http://litecoinpool.org:9332/ | |
./minerd $OPTIONS --url=http://mine.pool-x.eu:8337/ | |
done |