Function ValidatorSet.hasEnrollment

Check if a enrollment data exists in the validator set.

bool hasEnrollment (
  in const(Height) height,
  in ref const(geod24.bitblob.BitBlob!(64L)) enroll_hash
) nothrow @trusted;

Parameters

NameDescription
height block height
enroll_hash key for enrollment data which is hash of frozen UTXO

Returns

true if the validator set has the enrollment data