익명 20:38

Advantage of fake timestamp in the last block of the period before retarget

Advantage of fake timestamp in the last block of the period before retarget

I'm wondering which of three strategies is the best for a miner when the last block before difficulty adjustment is being mined.

A) Miner that uses accurate timestamp

B) Miner that uses maximum acceptable future timestamp (+2h but perhaps minus epsilon not to disqualify relay over nodes who have slightly different clock)

C) Miner that uses minimum acceptable historical timestamp

Is there any difference (even if very small) that would arise from an advantage to tie-break in the miner's favor either

  • from slightly smaller new difficulty for the next period, in which case we expect the next mining with lower difficulty would decrease the time for the next block; OR
  • from slightly higher new difficulty for the next period, in which case (despite we expect more time to mine the next block) the next block would overpower the other simultaneously mined block on the other fork?


Top Answer/Comment:

Using the maximum future timestamp (your option B) is the best strategy for the miner of the last block.

By setting the timestamp as far into the future as the rules allow, you make the preceding 2015 blocks appear to have taken a longer time to mine. This tricks the difficulty adjustment algorithm into calculating a lower difficulty for the next period.

A lower difficulty means you and all other miners will find blocks faster and with less work for the next 2016 blocks, increasing your overall profits.

상단 광고의 [X] 버튼을 누르면 내용이 보입니다