Bitcoin Forum

Bitcoin => Mining => Topic started by: Sledge0001 on April 16, 2022, 03:23:17 PM



Title: Any solo mining sites that show odds still online?
Post by: Sledge0001 on April 16, 2022, 03:23:17 PM
Hello All,
It appears that solochance.com which I used in the past has gone offline.

Are there any websites or calculators that show statistical odds of finding a block when solo mining that allow you to enter your hashpower?

Thanks in advance.


Title: Re: Any solo mining sites that show odds still online?
Post by: philipma1957 on April 16, 2022, 05:31:00 PM
you can ball park it using viabtc.com



they pay 0.00000432 btc a th

 they is a 97% rate so

0.00000432/.97 = 0.000004453 btc a th

a block is about 6.26 btc

6.26/0.000004453 = 1405793 to 1 for the next block if you have 1 th  since there are around 144 blocks in a day

1405793/144 = 9762 to one in the next day for 1 th this is close about 1 or 2% of true for 1th

there are more precise formulas which have been posted on this thread


Title: Re: Any solo mining sites that show odds still online?
Post by: nullama on April 20, 2022, 06:24:25 AM
Hello All,
It appears that solochance.com which I used in the past has gone offline.

Are there any websites or calculators that show statistical odds of finding a block when solo mining that allow you to enter your hashpower?

Thanks in advance.

You can do it yourself in any Linux device, just create a file called get_prob.sh with this content:

Code:
#!/bin/bash
if [[ $# -ne 1 ]]; then
    echo 'Input the miner hashing power in GH/s as an argument' >&2
    exit 1
fi
miner_hashrate=$(($1 * 10**9)) #GH/s is 10**9, TH/s is 10**12 and so on...

function jsonValue() { KEY=$1; num=$2; awk -F"[,:}]" '{for(i=1;i<=NF;i++){if($i~/'$KEY'\042/){print $(i+1)}}}' | tr -d '"' | sed -n ${num}p; }
difficulty=`curl -sSL "https://mempool.space/api/blocks/" | jsonValue difficulty 1`
echo "Current difficulty: $difficulty"
total_hashes=`echo "4295032833.000015 * ${difficulty}" | bc -l`

miner_chances=`echo "${miner_hashrate} * 60 * 10 / ${total_hashes}" | bc -l`
miner_chances_percentage=`echo "${miner_chances} / 100" | bc -l`
echo "Miner chances of mining next block: ${miner_chances_percentage}%"

hours_per_block=`echo "${difficulty} * $((2**32)) / ${miner_hashrate} / 60 / 60.0" | bc -l`
days_per_block=`echo "${hours_per_block} / 24" | bc -l`
years_per_block=`echo "${days_per_block} / 365" | bc -l`
echo "Expected time to mine next block:"

if (( $(echo "${hours_per_block} < 48" |bc -l) )); then
  echo "${hours_per_block} hours"
elif (( $(echo "${days_per_block} < 365" |bc -l) )); then
  echo "${days_per_block} days"
else
  echo "${years_per_block} years"
fi

Make it executable with:

Code:
chmod +x get_prob.sh

And then just run it with the miner hashing power in GH/s as an argument. For example, for a single Compac F USB stick miner which runs at around 300 GH/s:

Code:
./get_prob.sh 300
Current difficulty: 28225928151211
Miner chances of mining next block: .00000000001484765218%
Expected time to mine next block:
12813.86757025801071742939 years

Sources:

[1]: https://askubuntu.com/questions/1167287/parse-json-with-default-bash-only
[2]: https://en.bitcoin.it/wiki/Difficulty
[3]: https://bitcoin.stackexchange.com/questions/10398/how-is-the-probability-of-winning-a-block-calculated-from-the-difficulty
[4]: https://mempool.space/docs/api/rest#get-blocks


Title: Re: Any solo mining sites that show odds still online?
Post by: BitMaxz on April 20, 2022, 11:57:50 PM
I tried to search looking for an alternative tool for solochance it seems I can't find the same site that calculates the same as solochance.com but you can try this one below

- https://bits.media/calculator/bitcoin/

Just translate it into English and scroll down and check "Block time in solo mode" it includes probability and time.


Title: Re: Any solo mining sites that show odds still online?
Post by: kano on April 23, 2022, 04:20:14 PM
Or if you visit my discord there's a pinned link to my pool calculator that also correctly tells you the solo chance of any hash rate you enter:
http://tradebtc.net/bitcalc.php


Title: Re: Any solo mining sites that show odds still online?
Post by: Sledge0001 on April 25, 2022, 02:48:30 PM
Or if you visit my discord there's a pinned link to my pool calculator that also correctly tells you the solo chance of any hash rate you enter:
http://tradebtc.net/bitcalc.php

Kano,
This is perfect!

Thank you.


Title: Re: Any solo mining sites that show odds still online?
Post by: Morguk on April 30, 2022, 10:29:12 PM
Hello All,
It appears that solochance.com which I used in the past has gone offline.

Are there any websites or calculators that show statistical odds of finding a block when solo mining that allow you to enter your hashpower?

Thanks in advance.

Solochance.com will be back up online soon. It's nice to know people were using it.


Title: Re: Any solo mining sites that show odds still online?
Post by: Sledge0001 on May 01, 2022, 02:56:21 AM
Hello All,
It appears that solochance.com which I used in the past has gone offline.

Are there any websites or calculators that show statistical odds of finding a block when solo mining that allow you to enter your hashpower?

Thanks in advance.

Solochance.com will be back up online soon. It's nice to know people were using it.

I used it all the time.

I can offer free hosting to you on my vps server if you like just let me know.


Title: Re: Any solo mining sites that show odds still online?
Post by: Morguk on May 01, 2022, 07:37:20 PM
Hello All,
It appears that solochance.com which I used in the past has gone offline.

Are there any websites or calculators that show statistical odds of finding a block when solo mining that allow you to enter your hashpower?

Thanks in advance.

Solochance.com will be back up online soon. It's nice to know people were using it.

I used it all the time.

I can offer free hosting to you on my vps server if you like just let me know.

Thanks man, it's back for now but I'll keep your offer in mind if I have future issues. Any requests or comments please let me know in my thread here (https://bitcointalk.org/index.php?topic=1613825.0)