Function ValidatorSet.getPreimage

Get validator's pre-image from the validator set

PreImageInfo getPreimage (
  in ref const(geod24.bitblob.BitBlob!(64L)) enroll_key
) nothrow @trusted;

Parameters

NameDescription
enroll_key The key for the enrollment in which the pre-image is contained.

Returns

the PreImageInfo of the enrolled key if it exists, otherwise PreImageInfo.init