Constant bitcoin_internals::compact_size::MAX_ENCODABLE_VALUE

source ยท
pub const MAX_ENCODABLE_VALUE: u64 = 0x0200_0000;
Expand description

The maximum size of a serialized object in bytes or number of elements (for eg vectors) when the size is encoded as CompactSize.

This is MAX_SIZE in Bitcoin Core.