# Packages
No description provided by the author
# Functions
Adapt takes an IdentityFilter on the domain of IdentitySkeletons and adapts the filter to the domain of full Identities.
And combines two or more filters that all need to be true.
Any will always be true.
HasInitialWeight returns a filter for nodes with non-zero initial weight.
HasNetworkingKey returns a filter that returns true for any identity with a networking public key matching any of the inputs.
HasNodeID returns a filter that returns true for any identity with an ID matching any of the inputs.
HasParticipationStatus is a filter that returns true if the node epoch participation status matches the input.
HasRole returns a filter for nodes with one of the input roles.
HasWeightGreaterThanZero returns a filter for nodes with a weight greater than zero.
In returns a filter for identities within the input list.
Not returns a filter equivalent to the inverse of the input filter.
Or combines two or more filters and only needs one of them to be true.
# Variables
IsConsensusCommitteeMember is an identity filter for all members of the consensus committee.
IsValidCurrentEpochParticipant is an identity filter for members of the current epoch in good standing.
IsValidCurrentEpochParticipantOrJoining is an identity filter for members of the current epoch or that are going to join in next epoch.
IsValidDKGParticipant is an identity filter for all DKG participants.
IsValidProtocolParticipant is an identity filter for all valid protocol participants.
IsVotingConsensusCommitteeMember is an identity filter for all members of the consensus committee allowed to vote.
NotEjectedFilter is an identity filter for peers that are not ejected.