# Zawy’s Alternating Timestamp Attack

**URL:** <https://delvingbitcoin.org/t/zawy-s-alternating-timestamp-attack/1062>\
**Category:** Protocol Design\
**Created:** [August 9, 2024, 2:21pm UTC](https://delvingbitcoin.org/t/zawy-s-alternating-timestamp-attack/1062 "2024-08-09T14:21:27Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![sipa](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/sipa/32/1100_2.png) [@sipa](https://delvingbitcoin.org/u/sipa)\
**Post date:** [August 13, 2024, 6:47pm UTC](https://delvingbitcoin.org/t/zawy-s-alternating-timestamp-attack/1062/11 "2024-08-13T18:47:55Z")

</div>

@murch They’re all block timestamps; i don’t care how or when they get mined - someone shouldn’t be able to construct a valid chain with a higher blockrate (in terms of stated timestamps) on average than 1 per 10 minutes unless they increase the difficulty.

The first period takes ~2.83 weeks, so difficulty goes to D/\sqrt{2} in the second period. The second period takes the same amount of time, so the difficulty drops to D/2 in the third period. After the third period the difficulty doubles again (due to the maximum difficulty adjustment of 2x upwards in this scenario), so back to D.

---

_[View the full topic](https://delvingbitcoin.org/t/zawy-s-alternating-timestamp-attack/1062)._
