oxhak

ESTIMATE XSH MINING REWARD

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