Module optional_keys

Source
Expand description

Optional pubkeys that can be used a Pods

Structsยง

OptionalNonZeroElGamalPubkey
An ElGamalPubkey that encodes None as all 0, meant to be usable as a Pod type.
OptionalNonZeroPubkey
A Pubkey that encodes None as all 0, meant to be usable as a Pod type, similar to all NonZero* number types from the bytemuck library.