For mining purposes one needs to generate a seed. I read some articles but still did not understand where this seed comes from. How is calculated, or what it is about? I found this on Ethereum wiki github:
def get_seedhash(block): s = '\x00' * 32 for i in range(block.number // EPOCH_LENGTH): s = serialize_hash(sha3_256(s)) return s
Can anyone explain this code to me please ?