Skip to main content

Timeline for How to calculate ethash in python?

Current License: CC BY-SA 4.0

5 events
when toggle format what by license comment
Oct 23, 2018 at 18:08 comment added carver Ropsten will work too. Trinity (built on py-evm) is validating pow using that code on Ropsten.
Oct 23, 2018 at 13:04 comment added SimonSchuler And it tells me that my difficulty somehow mismatches. Dose this have to do with the fact that I am using a block from ropsten?
Oct 23, 2018 at 13:01 comment added SimonSchuler Thank You. I tried this, but it says that mix_hash != result. What am I doing wrong? block_number = 4156209 difficulty = 3963642329 nonce = unhexlify('0xf245822d3412da7f'[2:]) block_hash = unhexlify( '0x47b8f62c1400dae65105d2f8e03824bfc58481c0b32f45788ad3378fbc05e9f6'[2:]) mix_hash = unhexlify( '0x0c0026c706351083c0a913e084dee16ca133b813baa6a174e4fb179d9f2ecc52'[2:])
Oct 22, 2018 at 20:27 vote accept SimonSchuler
Oct 22, 2018 at 20:13 history answered carver CC BY-SA 4.0