Function EnrollmentPool.hasEnrollment
Check if a enrollment data exists in the enrollment pool.
bool hasEnrollment
(
in ref const(geod24 .bitblob .BitBlob!(64L)) enroll_hash,
Height avail_height
) nothrow @trusted;
Parameters
Name | Description |
---|---|
enroll_hash | key for an enrollment data which is hash of frozen UTXO |
avail_height | height at which the enrollment is available |
Returns
true if the validator set has the enrollment data