Pages:
Author

Topic: how does difficulty work exactly? - page 2. (Read 4508 times)

legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
September 10, 2012, 12:52:18 AM
#5
If it influences difficulty, and is based on how long previous blocks took to uncover, then how is this orchestrated through the network - how does everyone agree how long a block took?
The blocks are timestamped.
newbie
Activity: 23
Merit: 0
September 10, 2012, 12:50:06 AM
#4
From what I understand:

Given the same hashrate, doubling the difficulty means doubling the time.  Therefore, you can say that difficulty scales linearly with time.

My assumption is based on the formula
Code:
time = difficulty * 2^32 / hashrate
listed on (https://en.bitcoin.it/wiki/Difficulty)

Example:
The current difficulty is ~2.7 million (http://bitcoincharts.com/ shows the difficulty number in the topmost dash).  If the difficulty doubled to 5.4 million and the network hashrate remained the same, then the expected time to solve a block would double (the expected number of blocks solved per unit time would be halved).

(edited for clarity)
newbie
Activity: 43
Merit: 0
September 10, 2012, 12:23:22 AM
#3
I have read that, and still don't fully get what difficulty is.  It is described as the difficulty in processing the next block - it which case it is just a measure.  But it is also described as a mechanism for ensuring that blocks are not uncovered to quickly - in which case it influences difficulty rather than measures it.

If it influences difficulty, and is based on how long previous blocks took to uncover, then how is this orchestrated through the network - how does everyone agree how long a block took?
hero member
Activity: 700
Merit: 500
August 24, 2011, 11:59:07 PM
#2
i need to explain how difficulty works exactly. How does it calculate what the next difficulty will be and under what circumstances does it lower etc.

https://en.bitcoin.it/wiki/Difficulty
full member
Activity: 198
Merit: 100
Give him a mask and he will tell you the truth.
August 24, 2011, 11:09:42 PM
#1
i need to explain how difficulty works exactly. How does it calculate what the next difficulty will be and under what circumstances does it lower etc.
Pages:
Jump to: