Function BlockHeader.computeHash

Implements hashing support

void computeHash (
  scope pure nothrow @nogc @safe void delegate(in ubyte[]) dg
) pure nothrow @nogc scope @safe const;

Note that validators bitmask bits & the signature are not hashed since they must sign the block header hash.

Parameters

NameDescription
dg Hashing function accumulator