Export notesize constants
This commit is contained in:
parent
ee15eea3ee
commit
70ecd6b2d8
|
@ -26,8 +26,8 @@ const COMPACT_NOTE_SIZE: usize = 1 + // version
|
||||||
const NOTE_PLAINTEXT_SIZE: usize = COMPACT_NOTE_SIZE + 512;
|
const NOTE_PLAINTEXT_SIZE: usize = COMPACT_NOTE_SIZE + 512;
|
||||||
const OUT_PLAINTEXT_SIZE: usize = 32 + // pk_d
|
const OUT_PLAINTEXT_SIZE: usize = 32 + // pk_d
|
||||||
32; // esk
|
32; // esk
|
||||||
const ENC_CIPHERTEXT_SIZE: usize = NOTE_PLAINTEXT_SIZE + 16;
|
pub const ENC_CIPHERTEXT_SIZE: usize = NOTE_PLAINTEXT_SIZE + 16;
|
||||||
const OUT_CIPHERTEXT_SIZE: usize = OUT_PLAINTEXT_SIZE + 16;
|
pub const OUT_CIPHERTEXT_SIZE: usize = OUT_PLAINTEXT_SIZE + 16;
|
||||||
|
|
||||||
/// Format a byte array as a colon-delimited hex string.
|
/// Format a byte array as a colon-delimited hex string.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue