Bitcoin Forum
May 12, 2024, 06:07:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Network Hashrate Volatility and Recent Spikes  (Read 1131 times)
eightcylinders (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 254


View Profile
January 23, 2014, 07:57:30 PM
 #1

I was looking at the network hashrate graphs and noticed 2 things I do not understand.  Any explanations or theories would be appreciated!

 (1) In general there seems to be a lot of variance in the hashrate from day to day.  In order to really to a good job in quantifying this, you would have to compute variance from the log of the network hashrate graph to account for increases over time, and then compute variance from that curve .. but just eyeballing it, it seems like there is quite a bit of variance even within a 2-3 day period.  Just as an example, on Dec 30 the network hashrate was about 8.805 PH/s versus 11.388 one day later!  Then back down to 9.921 on Jan 1.  I cannot believe that this variance is due to folks turning their machines on and off.  What could cause such big jumps both up and down?  Is this a measurement error?

(2) There are two recent spikes between January 13 and January 17 of 2014 that seem especially high in variance - I don't have the time to run the statistics but I would bet these are well outside of a standard deviation even given the high variance historically.  The spikes stand out even on a log scale: https://blockchain.info/charts/hash-rate?showDataPoints=true&show_header=true&daysAverageString=1&timespan=60days&scale=1&address=. The difference between high and low in each of these two spikes is about 4.7 PH/s - which is around 25% or more of the current 7 day moving average.  If this data is correct, it means that roughly 25% of the network hashrate appeared and disappeared (twice) in a 4 day period (during which difficulty did not change).  How is that possible?

My BTC Addres: 1PMEJCY6ofqmnAdYbdQqToZ7MNSAz35w7v
=>Buy the world's first hardware wallet.   Safer than paper and easier to use than smartphones.  If you use Bitcoin you need this: Buy Trezor!!
1715537253
Hero Member
*
Offline Offline

Posts: 1715537253

View Profile Personal Message (Offline)

Ignore
1715537253
Reply with quote  #2

1715537253
Report to moderator
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715537253
Hero Member
*
Offline Offline

Posts: 1715537253

View Profile Personal Message (Offline)

Ignore
1715537253
Reply with quote  #2

1715537253
Report to moderator
1715537253
Hero Member
*
Offline Offline

Posts: 1715537253

View Profile Personal Message (Offline)

Ignore
1715537253
Reply with quote  #2

1715537253
Report to moderator
skuser
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250


View Profile
January 24, 2014, 08:50:43 AM
 #2

It depends from how many last blocks is the hashrate computed from. If you look at bitcoin.sipa.be charts you'll see hashrates computed from multiple time periods. I'd say that using blocks from 1 day, eg 6x24=144 blocks (which blockchain.info chart is probably using) is unsufficient from statistical point of view, because when mining blocks you are working with probability.
If you look at 3 day window period which means about 430 blocks the curve is much smoother and there is not much to analyze anymore...

mestar
Sr. Member
****
Offline Offline

Activity: 407
Merit: 250


View Profile
January 24, 2014, 01:58:20 PM
 #3

I was looking at the network hashrate graphs and noticed 2 things I do not understand.  Any explanations or theories would be appreciated!

 (1) In general there seems to be a lot of variance in the hashrate from day to day.  In order to really to a good job in quantifying this, you would have to compute variance from the log of the network hashrate graph to account for increases over time, and then compute variance from that curve .. but just eyeballing it, it seems like there is quite a bit of variance even within a 2-3 day period.  Just as an example, on Dec 30 the network hashrate was about 8.805 PH/s versus 11.388 one day later!  Then back down to 9.921 on Jan 1.  I cannot believe that this variance is due to folks turning their machines on and off.  What could cause such big jumps both up and down?  Is this a measurement error?

(2) There are two recent spikes between January 13 and January 17 of 2014 that seem especially high in variance - I don't have the time to run the statistics but I would bet these are well outside of a standard deviation even given the high variance historically.  The spikes stand out even on a log scale: https://blockchain.info/charts/hash-rate?showDataPoints=true&show_header=true&daysAverageString=1&timespan=60days&scale=1&address=. The difference between high and low in each of these two spikes is about 4.7 PH/s - which is around 25% or more of the current 7 day moving average.  If this data is correct, it means that roughly 25% of the network hashrate appeared and disappeared (twice) in a 4 day period (during which difficulty did not change).  How is that possible?

Perfectly standard.  You are not measuring hashrate, you are measuring block creation times.

Once you get out out of some ridiculously slow speeds, like a couple hashes per ten minutes,  those trailing estimation charts will always look self-similar, no matter what the difficulty is. 
Sonny
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
February 01, 2014, 12:52:57 PM
Last edit: February 03, 2014, 01:40:00 PM by Sonny
 #4

We don't really know how much hashrate are there mining bitcoin at this moment.

What we can do, is to check the number of blocks found in a certain period (say, 8 hours or 3 days) and estimate the network hashrate.

The shorter the period, the more the variance.

After all, block finding is a random process. We can have 6 blocks in 10 minutes, or no block in 2 hours, but the variance should cancel out (more or less) if we observe the situation over a longer period of time.
eightcylinders (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 254


View Profile
February 03, 2014, 09:17:20 AM
 #5

I understand now.  Thank you mestar and sonny for the explanation. 


My BTC Addres: 1PMEJCY6ofqmnAdYbdQqToZ7MNSAz35w7v
=>Buy the world's first hardware wallet.   Safer than paper and easier to use than smartphones.  If you use Bitcoin you need this: Buy Trezor!!
Sonny
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
February 03, 2014, 01:40:16 PM
 #6

You are welcome Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!