Function ValidatorSet.findRecentEnrollment
Find the most recent Enrollment with the provided UTXO hash, regardless of it's active status but order by status descending so that most recent is returned first
bool findRecentEnrollment
(
in ref const(geod24 .bitblob .BitBlob!(64L)) enroll_key,
out EnrollmentState state
) nothrow @trusted;
Parameters
Name | Description |
---|---|
enroll_key | The key for the enrollment |
state | struct to fill once an enrollment is found |
Returns
true if an enrollment with the key was ever accepted, false otherwise