In my smart contract which is lottery I generate a random number. Then I pick a user based on his sequential place in the list of all the participants. This sequential place gets assigned to every participant dynamically, in a function which picks random winner.
I want to make the process more transparent.
At the moment one's sequential place isn't revealed.
Will there be any downside to revealing it on blockchain? via logs, for instance. That is, it'd become:
wallet1 -> 1
wallet2 -> 2
....
wallet150 -> 150
Everyone would then become able to find out what the full list of the participants is, even if one may not be a participant himself.
It's not a lottery which operates with hundreds or millions of dollars, though.
update1
My question is about the mainnet of Ethereum, as well as custom-built and private Ethereum-based blockchains too. On those, the data may not be public. They may not even have a full-fledged Explorer that reveals the source code of a contract, but only a simple one.
With this in mind, my initial question remains.
update 2
Or, to put it other way:
if I had the list of all the participtants in a DB and then decided to move it to blockchain, as well as reveal it via a special method -- get_participants(lottery_id)
.... Would this create issues in terms of privacy, cheating or other things?