Module agora.consensus.state.ValidatorSet

Contains supporting code for managing validators' information using SQLite as a backing store, including the enrolled height which means enrollment process is confirmed as part of consensus.

Classes

NameDescription
ValidatorSet A Height and PublicKey pair to represent expiring Validators

Structs

NameDescription
EnrollmentState The information that can be queried for an enrollment

Aliases

NameTypeDescription
EnrollmentFinder nothrow @trusted bool delegate(in ref geod24.bitblob.BitBlob!(64L), out EnrollmentState) Delegate type to query the history of Enrollments
ExpiringValidator std.typecons.Tuple!(agora.common.Types.Height,"enrolled_height",geod24.bitblob.BitBlob!(64L).BitBlob,"utxo",agora.crypto.Key.PublicKey,"pubkey") A Height and PublicKey pair to represent expiring Validators