pub enum DataUpdateError {
InvalidAggregateSignature,
InvalidSignature,
InsufficientSigners,
SignersNotSubsetOfSelection,
InvalidSignersBitmap,
GroupBitmapDerivationFailed,
SignerCountMismatch,
InvalidRegistryVersion,
MissingSignerAccount,
InvalidNodeIndex,
InvalidTransitionAccount,
}Variants§
InvalidAggregateSignature
Aggregate Schnorr signature failed verification (recovered address mismatch,
invalid coalition key, or invalid scalar s).
InvalidSignature
A signature component was malformed (e.g. non-canonical scalar during the Schnorr→ECDSA conversion).
InsufficientSigners
popcount(signers_bitmap) < signatures_required.
SignersNotSubsetOfSelection
signers_bitmap is not a subset of the deterministically derived selection bitmap.
InvalidSignersBitmap
signers_bitmap has bits set outside [0, node_count), or is otherwise invalid.
GroupBitmapDerivationFailed
Selection-group bitmap derivation failed (bad node count / group size, or the bounded sampling loop did not converge).
SignerCountMismatch
ordered_signers.len() does not equal popcount(signers_bitmap).
InvalidRegistryVersion
The requested registry version is neither current nor a live previous version.
MissingSignerAccount
A signer account is missing, extra, or owned by another program.
InvalidNodeIndex
A Node account does not match its expected bitmap index.
InvalidTransitionAccount
Previous-version remove remapping was requested without valid transition metadata.