Posted by t-bast
May 30, 2025/15:06 UTC
The decision to utilize onion packets of 1300 bytes is strategically aimed at ensuring they fit within the 1500 bytes Maximum Transmission Unit (MTU), catering specifically to the inclusion of update_add_htlc
messages. This alignment with the MTU is critical in avoiding packet fragmentation, which can introduce complexity and inefficiency in data transmission. The curiosity now extends towards understanding the ramifications of transmitting larger lightning packets, specifically those sized at 65kB. Such sizes would undeniably necessitate significant reassembly processes due to exceeding the standard MTU limits.
Exploring the impact of these larger packet sizes could be effectively approached through simulations or practical experiments. Tools like SimLN offer a simulation environment that could provide valuable insights into the behavior and performance implications of using 65kB packets within the lighting network. Alternatively, conducting A/B testing on the mainnet presents a more empirical method of assessing the real-world effects of such adjustments. This hands-on approach would allow for direct observation and analysis of how larger packets interact within the existing infrastructure and what potential challenges or benefits they might introduce.
TLDR
We’ll email you summaries of the latest discussions from authoritative bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project?
Give Feedback