ethereum / portal-network-specs

Official repository for specifications for the Portal Network
313 stars 85 forks source link

Add payload threshold for using uTP, and show work #339

Open carver opened 2 months ago

carver commented 2 months ago

We don't appear to explicitly say the threshold for switching from inline content to uTP delivery anywhere, yet. It's referenced in hive, so we should presumably actually agree on the explicit limit: https://github.com/ethereum/hive/blob/8e3ffff6ea74d20fc073f9a78baa574e7e688856/simulators/portal/src/suites/history/interop.rs#L15

carver commented 2 months ago

MAX_PORTAL_CONTENT_PAYLOAD_SIZE which is defined in ethereum/trin ethportal-api

Yeah, I nearly linked to it in these specs, but decided it was probably not best practice to imply that any particular implementation owned the canonical definition of the max payload size.