"blockHash" Can he change miners?

leventlevent Posts: 14Member

"blockHash" Can he change miners?
"blockHash": "0x623d7ddd464295ce369d129e2df41f68bcfbbae55289d4431eddf9de84104d87",

Can the create a value number sequence?

Thank you for the answers.

"action": {
"callType": "call",
"from": "0x1bdae4b258af8201dbe0e577c3bd09d9e99ac984",
"gas": "0x15ba8",
"input": "0x",
"to": "0xd7cb65c907815d1852e246198aa7687e06d96e53",
"value": "0x29ab509a3fe93000"
"blockHash": "0x623d7ddd464295ce369d129e2df41f68bcfbbae55289d4431eddf9de84104d87",
"blockNumber": 3968628,
"result": {
"gasUsed": "0x1326f",
"output": "0x"
"subtraces": 0,
"traceAddress": [],
"transactionHash": "0xdd2cf43c4fca936cd70c07f1428d4e75f0337ab044be2ad91ce7e22a169f0e9f",
"transactionPosition": 116,
"type": "call"


  • leventlevent Posts: 14Member
    Do you have an idea?
  • leventlevent Posts: 14Member
    Topic is up to date
  • qqwyqqwy Posts: 15Member
    It is quite hard to understand your question, as your english is not very clear, but I think you are trying to ask if the `block.blockhash(uint block_number)` can be changed by miners.

    The answer is: Yes! The block hash is only known when the block is mined. (This is also the reason you cannot access the block hash of the current block, because it is not known yet.) The block hash depends on (amongst other things) what transactions are in the block and what the successful nonce is that allowed the miner to mine the block.

    So while it is not really possible to predict the block hash, it is possible for miners to influence it (such as _not_ broadcast a mined block when the block hash is undesireable for some reason), and therefore I believe it should not be used as a secure source of randomness.
  • leventlevent Posts: 14Member
    thank you for the answer.
Sign In or Register to comment.