Following Solana's approach, shreds are designed to fit within 1228 bytes(derived from IPv6 minimum MTU of 1280 bytes minus 48 bytes for IPv6/UDP headers and 4 bytes for nonce).
Total message size: 1225 bytes
| Offset | Field | Type | Bytes |
|---|---|---|---|
| 0 | slot | u64 | 8 |
| 8 | proposer_index | u32 | 4 |
| 12 | shred_index | u32 | 4 |
| 16 | commitment | Hash | 32 |
| 48 | shred_data | [u8; 952] | 952 |
| 1000 | len | u8 | 1 |
| 1001 | witness | Hash[] | 160 |
| 1161 | signature | Signature | 64 |
| Total | 1225 bytes | ||