Module tx_size

Module tx_size 

Source
Expand description

Transaction size estimation and instruction batching.

Structs§

InstructionTooLargeError
Error when a single instruction exceeds the maximum transaction size.

Constants§

PACKET_DATA_SIZE
Maximum transaction size in bytes (1280 MTU - 40 IPv6 header - 8 fragment header).

Functions§

split_by_tx_size
Split instructions into groups that fit within transaction size limits.