Gregory Maxwell [ARCHIVE] on Nostr: 📅 Original date posted:2018-08-20 📝 Original message:Since 2012 (IIRC) we've ...
📅 Original date posted:2018-08-20
📝 Original message:Since 2012 (IIRC) we've known that Bitcoin's non-overlapping
difficulty calculation was vulnerable to gaming with inaccurate
timestamps to massively increase the rate of block production beyond
the system's intentional design. It can be fixed with a soft-fork that
further constraints block timestamps, and a couple of proposals have
been floated along these lines.
I put a demonstration of timewarp early in the testnet3 chain to also
let people test mitigations against that. It pegs the difficulty way
down and then churned out blocks at the maximum rate that the median
time protocol rule allows.
I, and I assume others, haven't put a big priority into fixing this
vulnerability because it requires a majority hashrate and could easily
be blocked if someone started using it.
But there haven't been too many other network consensus rules going on
right now, and I believe at least several of the proposals suggested
are fully compatible with existing behaviour and only trigger in the
presence of exceptional circumstances-- e.g. a timewarp attack. So
the risk of deploying these mitigations would be minimal.
Before I dust off my old fix and perhaps prematurely cause fixation on
a particular approach, I thought it would be useful to ask the list if
anyone else was aware of a favourite backwards compatible timewarp fix
proposal they wanted to point out.
Cheers.
Published at
2023-06-07 18:14:09Event JSON
{
"id": "7c964e4f0ac8bb30a9b2050b4df51d392da3a6019715f960331804c0e306aaf5",
"pubkey": "4aa6cf9aa5c8e98f401dac603c6a10207509b6a07317676e9d6615f3d7103d73",
"created_at": 1686161649,
"kind": 1,
"tags": [
[
"e",
"46c355a6f8c41cd523515034c9d7a614ef42b8cc667628d16987c384eb59bff0",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "📅 Original date posted:2018-08-20\n📝 Original message:Since 2012 (IIRC) we've known that Bitcoin's non-overlapping\ndifficulty calculation was vulnerable to gaming with inaccurate\ntimestamps to massively increase the rate of block production beyond\nthe system's intentional design. It can be fixed with a soft-fork that\nfurther constraints block timestamps, and a couple of proposals have\nbeen floated along these lines.\n\nI put a demonstration of timewarp early in the testnet3 chain to also\nlet people test mitigations against that. It pegs the difficulty way\ndown and then churned out blocks at the maximum rate that the median\ntime protocol rule allows.\n\nI, and I assume others, haven't put a big priority into fixing this\nvulnerability because it requires a majority hashrate and could easily\nbe blocked if someone started using it.\n\nBut there haven't been too many other network consensus rules going on\nright now, and I believe at least several of the proposals suggested\nare fully compatible with existing behaviour and only trigger in the\npresence of exceptional circumstances-- e.g. a timewarp attack. So\nthe risk of deploying these mitigations would be minimal.\n\nBefore I dust off my old fix and perhaps prematurely cause fixation on\na particular approach, I thought it would be useful to ask the list if\nanyone else was aware of a favourite backwards compatible timewarp fix\nproposal they wanted to point out.\n\nCheers.",
"sig": "b35c1483a3b3392ec5866581b5911b83feee7fb82d54ebffb7596757b54f04a182099e110c2d71dd5d5b48025f0dddeb14eb188008838b7fd3873470562a685a"
}