blockHash method

Hash blockHash()

Computes the block identifier hash for this block header.

Implementation

Hash blockHash() {
  final data = serialize();
  return HashUtils.doubleSha256(data);
}