Joachim Strömbergson [ARCHIVE] on Nostr: 📅 Original date posted:2019-10-15 📝 Original message:> > > > [...] to generate ...
📅 Original date posted:2019-10-15
📝 Original message:> > > > [...] to generate much longer chain with superslow timestamp increase (~5 blocks in 1 second) without increasing difficulty (i.e. staying at min. diff.). [...]
> > > > In that case, it would take about 7 minutes of block time seconds for
> > > > the next retarget period, every 2016 blocks, and the difficulty would
> > > > adjust. The difficulty would adjust in that case as if 2 weeks of blocks
> > > > had been mined in 7 minutes. For the difficulty to remain the same the
> > > > time between blocks needs to be 10 minutes.
> > > > This calculation does not apply under time warp attack. You can fake timestamps of all blocks except for those relevant to the retarget calculation. Those are only the first and the last block in the 2016 block window.
>
> This must be in reference to the non-overlapping difficulty calculation
> and off-by-one bug?
Indeed.
Published at
2023-06-07 18:21:04Event JSON
{
"id": "1fc718b4e7d5dc283138fd8b0e0a4708b7e6517d9e190038a8ae593c7017b4c4",
"pubkey": "8d22d2794de0b6a4e87a21ca7f2a3fc09afd68508e573983ba6a6ee8f382ff0b",
"created_at": 1686162064,
"kind": 1,
"tags": [
[
"e",
"a9a6913f6fc9138fe7aab169ce2974e6f08bf4a75cd5918afea0770bbfe2c32f",
"",
"root"
],
[
"e",
"d3acf535ededa8e585ad136693af17b51ef852eca2a04ec7edc518bb5499ea71",
"",
"reply"
],
[
"p",
"4995923bdd6657e6f16f87fa2c66ee60c7fbc82ae1658289a557fd3c9826cf6f"
]
],
"content": "📅 Original date posted:2019-10-15\n📝 Original message:\u003e \u003e \u003e \u003e [...] to generate much longer chain with superslow timestamp increase (~5 blocks in 1 second) without increasing difficulty (i.e. staying at min. diff.). [...]\n\u003e \u003e \u003e \u003e In that case, it would take about 7 minutes of block time seconds for\n\u003e \u003e \u003e \u003e the next retarget period, every 2016 blocks, and the difficulty would\n\u003e \u003e \u003e \u003e adjust. The difficulty would adjust in that case as if 2 weeks of blocks\n\u003e \u003e \u003e \u003e had been mined in 7 minutes. For the difficulty to remain the same the\n\u003e \u003e \u003e \u003e time between blocks needs to be 10 minutes.\n\u003e \u003e \u003e \u003e This calculation does not apply under time warp attack. You can fake timestamps of all blocks except for those relevant to the retarget calculation. Those are only the first and the last block in the 2016 block window.\n\u003e\n\u003e This must be in reference to the non-overlapping difficulty calculation\n\u003e and off-by-one bug?\n\nIndeed.",
"sig": "b9131a9807737c461614c94c147bc49a2ed3bb38b39cfc411709a759453fe90869428ae72e54539da01622bdc435a99ed788952c9bebc73ec5c663f19ff38113"
}