Function EnrollmentPool.getEnrollments

Get the unregistered enrollments from the pool And this is arranged in ascending order with the utxo_key

Enrollment[] getEnrollments (
  in const(Height) height
) nothrow @trusted;

Parameters

NameDescription
height the height of proposed block

Returns

The unregistered enrollments data that couild be added in the next block. (i.e. avail_height is only valid at a single height)