Function Nominator.signBlock

Sign this block using our private key / pre-image.

agora.crypto.Schnorr.Signature signBlock (
  in ref const(BlockHeader) header
) nothrow @safe;

This will only returns the new signature, the block won't be modified.

Parameters

NameDescription
the block header to sign