Module constants

Source

Constants§

ACCOUNT_HEAPLESS_SIZE
Size of prealloced buffer for account decryption. 86 bytes is an account size for bls12-381, buffer needs 16-bytes overhead for auth tag.
BALANCE_SIZE_BITS
DELEGATED_DEPOSITS_NUM
DIVERSIFIER_SIZE_BITS
ENCRYPTION_NONCE
ENERGY_SIZE_BITS
HEIGHT
IN
INPLUSONELOGCEIL
NOTE_HEAPLESS_SIZE
Size of prealloced buffer for note decryption. 76 bytes is a note size for bls12-381, buffer needs 16-bytes overhead for auth tag.
OUT
OUTPLUSONELOG
POLY_1305_TAG_SIZE
POOLID_SIZE_BITS
SALT_SIZE_BITS
SHARED_SECRETS_HEAPLESS_SIZE
Size of prealloced buffer for shared secrets decryption. It’s enough for shared secrets with 10 or less keys.
U256_SIZE

Functions§

account_size_bits
note_size_bits
num_size_bits