Post
Topic
Board Development & Technical Discussion
Merits 3 from 1 user
Re: PSA: Coders making ad hoc “random” schemes are like kids playing with matches.
by
Quickseller
on 27/03/2021, 22:00:54 UTC
⭐ Merited by Joe_Bauers (3)
2) A miner could "game the system" by generating a specific char for last position along with the required PoW, though this would require an extra bit of work over non-bad actors.
If you are not generating whatever "random" item publicly, the miners will not know that changing the block header will create any advantage.

.
Most of the time when you are generating something random, it needs to be secret. If you are deriving something from block headers, you might be able to generate something random, but it will not be secret.