Export notesize constants

This commit is contained in:
Aditya Kulkarni 2020-10-26 11:31:22 -07:00
parent ee15eea3ee
commit 70ecd6b2d8
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ const COMPACT_NOTE_SIZE: usize = 1 + // version
const NOTE_PLAINTEXT_SIZE: usize = COMPACT_NOTE_SIZE + 512;
const OUT_PLAINTEXT_SIZE: usize = 32 + // pk_d
32; // esk
const ENC_CIPHERTEXT_SIZE: usize = NOTE_PLAINTEXT_SIZE + 16;
const OUT_CIPHERTEXT_SIZE: usize = OUT_PLAINTEXT_SIZE + 16;
pub const ENC_CIPHERTEXT_SIZE: usize = NOTE_PLAINTEXT_SIZE + 16;
pub const OUT_CIPHERTEXT_SIZE: usize = OUT_PLAINTEXT_SIZE + 16;
/// Format a byte array as a colon-delimited hex string.
///