spacemeshos / go-spacemesh

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

implement delegated k2pow to poet #4796

Open countvonzero opened 1 year ago

countvonzero commented 1 year ago

Description

https://community.spacemesh.io/t/atx-reward-with-a-sliding-window/372 https://community.spacemesh.io/t/proof-of-work-and-post-proof-generation/361

timing consideration:

UPDATE: https://community.spacemesh.io/t/atx-reward-with-a-sliding-window/372 published on Aug 13. so this can be implemented with ATX rewards.

@pigmej

poszu commented 1 year ago

Is epoch 10 a hard limit?

countvonzero commented 1 year ago

Is epoch 10 a hard limit?

i would say barring security reasons, yes. https://discord.com/channels/623195163510046732/691258865861394432/1131624539177103490

dshulyak commented 1 year ago

i think that "hard limit" can be always pushed back. right now it is inconsequential. i would suggest to work on this if there are no issues to fix in post/poet/atx area.

dshulyak commented 1 year ago

i also think we should wait with atx rewards until we are confident that running nodes is smooth. for example some have problems with go-spacemesh memory when running under smapp, and they found a way to run go-spacemesh without smapp.

if they would simply get reward and don't bother with running nodes - we will have problems with consensus

another concern is that we don't have all checks in place (such as min poet height), so now i can make many small atxs without actually spending time, if that would be rewarded thats very bad

schinzelh commented 1 year ago

Timing is not critical anymore, as per Oct. 19 the lowered difficulty threshold is permanent -->

https://discord.com/channels/623195163510046732/691258865861394432/1164676424544817305