Crate chik_bls

Source

Structs§

BlsCache
This is a cache of pairings of public keys and their corresponding message. It accelerates aggregate verification when some public keys have already been paired, and found in the cache. We use it to cache pairings when validating transactions inserted into the mempool, as many of those transactions are likely to show up in a full block later. This makes it a lot cheaper to validate the full block. However, validating a signature where we have no cached GT elements, the aggregate_verify() primitive is faster. When long-syncing, that’s preferable.
GTElement
PublicKey
SecretKey
Signature

Enums§

Error

Traits§

DerivableKey

Functions§

aggregate
aggregate_pairing
aggregate_verify
aggregate_verify_gt
hash_to_g1
hash_to_g2
hash_to_g1_with_dst
hash_to_g2_with_dst
master_to_pool_authentication
Panics
master_to_pool_singleton
master_to_wallet_hardened
master_to_wallet_hardened_intermediate
master_to_wallet_unhardened
master_to_wallet_unhardened_intermediate
sign
sign_raw
verify

Type Aliases§

G1Element
G2Element
Result