# Functions
CalcThreshold returns the correct definition of threshold.
GetAccount returns the account, which corresponds to the rightmost 20 bytes of the hash of the public key.
Hasher is the default hasher and calls the hash function defined in our cloudflare library.
# Variables
ErrInvalidPubkeyShares occurs when multiple copies of the same public key are contained when attempting to set GroupShares.
ErrInvalidSignature occurs when signature validation fails.
ErrPrivkNotSet occurs when the private key has not been set.
ErrPubkeyGroupNotSet occurs when the group public key (master public key [mpk]) has not been set.
# Structs
BNGroupSigner creates cryptographic signatures using the bn256 curve.
BNGroupValidator is the object that performs cryptographic validation of BNGroupSigner signatures.
BNSigner creates cryptographic signatures using the bn256 curve.
BNValidator is the object that performs cryptographic validation of BNSigner signatures.
Secp256k1Signer creates cryptographic signatures using the secp256k1 curve.
Secp256k1Validator is a struct which allows for validation of cryptographic signatures from Secp256k1Signer.