Function massa_models::config::constants::operations_payload_size

source ยท
pub const fn operations_payload_size(operations_size: usize) -> usize
Expand description

Size of the serialized operation list holding operations of aggregate size operations_size: the operations themselves, plus the varint prefix holding their count. Use it to turn an operations size budget (such as max_serialized_operations_size_per_block) into the payload size a peer is allowed to send us.