1

I'm looking for a formula to calculate my pool earnings (PPLNS pool) like this website... Their calculation is based on:

  • network hashrate
  • pool hashrate
  • exchange rate (1XMR = ~130$)
  • fixed block reward
  • block time

and obviously:

  • hashrateobviously
  • power consumption (W)
  • power cost
  • pool fee

So is there is a function to calculate my monero earnings in a PPLNS pool? (and PPS also but not so important to me...)

Thanks in advance!!

Fipsi
  • 197
  • 1
  • 10

1 Answers1

2

Calculate earnings specifically for PPS or for PPLNS is pointless as the divergence is based on how often the pool find a block. If you are trying to find an average, then both payment methods equals.

So the formula you found is the best you may have to estimate your earnings.

If you want to calculate the expected earnings from a past day where you know the time window (the N * blocktime from PPLNS) and the number of block found you have to calculate earning from each block based on your average hashrate divided by the average pool hashrate on the same time window.

A basic formula would be ((your hashrate) / (the network hashrate)) * (720 blocks per day) * (block reward) = XMR/day then - (wattage cost per day)

el00ruobuob
  • 825
  • 4
  • 8