Skip to content

Commit 5419850

Browse files
authored
Update transaction size limit explanation (#942)
Clarified the transaction size limit explanation to include details about IPv6 MTU and network headers.
1 parent d01f7ef commit 5419850

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

apps/web/content/docs/en/core/transactions.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,12 @@ This limit includes both the [`signatures`](#signatures) array
5555
and the [`message`](#message) struct.
5656

5757
<Callout>
58-
This limit comes from the IPv6 Maximum Transmission Unit (MTU) size of
59-
1280 bytes, minus 48 bytes for network headers (40 bytes IPv6 + 8 bytes header).
58+
This limit is designed to avoid packet fragmentation on typical internet infrastructure.
59+
While IPv6 supports MTUs larger than 9000 bytes, most internet routers use a default
60+
MTU of 1500 bytes (standard Ethernet). To ensure transactions fit within a single packet
61+
without fragmentation, Solana uses 1280 bytes (the minimum MTU required for IPv6) minus
62+
48 bytes for network headers (40 bytes IPv6 + 8 bytes fragment/UDP header), resulting
63+
in the 1232 byte transaction size limit.
6064
</Callout>
6165

6266
![Diagram showing the transaction format and size limits](/assets/docs/core/transactions/issues_with_legacy_txs.png)

0 commit comments

Comments
 (0)