mirror of
https://github.com/matrix-org/pinecone.git
synced 2026-10-24 11:59:18 +03:00
* Hybrid routing * Clear the coords cache when the root changes * Define `coordsCacheLifetime` * Refactor sim pings to use router FilterFn for hop counting * Various tweaks, fix stretch calc, two packet types again temporarily * Back to a single packet type again * Speed up sim, link prioritisation for tree routing * Put consts together * Preamble pings so `simws` peers don't cause panics * Don't drop things that aren't pings * Smaller tree announcements * Don't send a watermark when tree-routing * Fix frame test and add new test for hybrid routing variants * Cleanup sim adversaries to match new protocol types * Refactor sim stretch reporting * Start ping hop count at 1 since dest node doesn't increment count * Move coords cache timer interval to a constant * Add TODO Co-authored-by: Devon Hudson <devonhudson@librem.one>