spacemeshos / go-spacemesh

Go Implementation of the Spacemesh protocol full node. 💾⏰💪
https://spacemesh.io
MIT License
752 stars 212 forks source link

beacon: prioritize IDs with the highest tick counts #3593

Open countvonzero opened 2 years ago

countvonzero commented 2 years ago

Description

placeholder:

excerpts from Tal:

when under attack (when there are too many "successful" parties), in which case honest parties will prioritize the IDs with the highest tick numbers (so they will ignore adversaries that chose the golden ATX in this case) ... There's a difference between a tick height of an ATX and a tick height of an identity. The ATX tick height is taken from the positioning ATX. The identity tick height is from the commitment ATX (which is only referenced in the very first ATX published by a given identity) ... The idea is not very new (https://community.spacemesh.io/t/possible-dos-against-pops-vrf-beacon-and-mitigation/210) but I think the design decision was pretty recent

apologies private thread https://spacemesh.slack.com/archives/C89QJJY3G/p1662563239803159

will update issue when spec'ed

lrettig commented 1 year ago

Related: https://github.com/spacemeshos/pm/issues/172