I'm a bit confused about the description found here on randomness:
If I were running a node, I could publish a transaction only to my own node and not share it. I could then run the coin flip function to see if I won — and if I lost, choose not to include that transaction in the next block I'm solving. I could keep doing this indefinitely until I finally won the coin flip and solved the next block, and profit.
since I thought that a function called on a contract is considered a transaction that is broadcasted to all nodes on a network rather than to a single node whose refusal to publish the transaction can allow this scenario to play out. I reviewed the post cited on that here but wasn't able to get any clarity: How can I securely generate a random number in my smart contract?