Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: jabetizo on September 26, 2013, 03:03:16 PM



Title: difficulty calculation
Post by: jabetizo on September 26, 2013, 03:03:16 PM
If the next difficulty is calculated from the past 2016 blocks, does this mean that the time interval between the 2016th block and 2017th block is irrelevant?

Example:
block 2016's difficulty is based on the interval between blocks 0-2015
block 4032's difficulty is based on the interval between blocks 2016-4031

Does this mean that the interval between blocks 2015 and 2016 is unaccounted for?


Title: Re: difficulty calculation
Post by: mustyoshi on September 26, 2013, 03:35:54 PM
I thought it was inclusive?


Title: Re: difficulty calculation
Post by: gmaxwell on September 26, 2013, 04:02:57 PM
It does, go search for "timewarp attack" for the implications.