Skip to main content

MAX_TRANSPARENT_INPUT_SIZE

Constant MAX_TRANSPARENT_INPUT_SIZE 

Source
pub const MAX_TRANSPARENT_INPUT_SIZE: usize = _ /* 10_049usize */;
Expand description

The consensus maximum size of a serialized transparent input: outpoint (36) + CompactSize prefix for the scriptSig (at most 9) + scriptSig (at most MAX_SCRIPT_SIZE = 10_000) + sequence (4). This is the safe upper bound for a transparent input whose script size is unknown.