input-output-hk / decentralized-software-updates

Research on a decentralized software update mechanism for blockchain systems
Apache License 2.0
7 stars 2 forks source link

Limit the voting period duration #147

Open dnadales opened 4 years ago

dnadales commented 4 years ago

At the moment the proposals authors can specify the duration of the voting period. By setting this duration to the maximum allowed value malicious actors can spam the system by submitting a lot of such proposals, forcing the ledger to use a lot of memory to keep this state around.

We should limit this to something like an epoch, but we can make this upper limit a parameter of the environment.