Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- HASHRATE=210;
- LYRADIFF=`curl -v -H "Cache-Control: no-cache" "http://188.226.178.216:3001/api/getinfo"`;
- LYRADIFF=`echo ${LYRADIFF} | jq -r '.difficulty_lyra2re'`;
- XSHESTIMATE=`echo "(1000000 * ${HASHRATE} * 250 * 3600)/(${LYRADIFF} * 4294967296)" |bc -l`
- echo $XSHESTIMATE;
Advertisement
Add Comment
Please, Sign In to add comment