Question about stake modifiers


#1

Hi all,

Not sure I understand the stake modifier parameter. What’s the advantage of using it compared to using, for example, the hash of the previous block?
Many thanks!


#2

I believe the reason is that the previous block hash is known earlier by the node that minted the previous block.
Making it possible for an attacker to only mint if he can mint multiple blocks in a row.
While the stake modifier is know to the entire network at the time needed.

Edit: I believe the reason is that the blockhash can be modified by rearranging and adding custom transactions, so attackers with serious hashing power could precompute multiple blocks and mint them at once.