headers_6.py 129 B

123
  1. def mining_hash(self) -> Hash32:
  2. result = keccak(rlp.encode(self[:-2], MiningHeader))
  3. return cast(Hash32, result)