Skip to main content

MAX_COMPACT_SIZE

Constant MAX_COMPACT_SIZE 

Source
pub const MAX_COMPACT_SIZE: u64 = 0x0200_0000;
Expand description

Largest CompactSize value accepted when reading (zcashd’s MAX_SIZE, 32 MiB). Larger lengths cannot describe a valid transaction field and are rejected before any allocation.