matrix-pinecone/types
Neil Alexander d0beb180f4
Hybrid routing (#67)
* 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>
2022-09-27 11:15:13 +01:00
..
announcement.go Add debugging manhole, fix packet priority, queue sizes 2022-03-30 12:39:11 +01:00
announcement_test.go Common types.Root type 2021-10-20 15:34:27 +01:00
coordinates.go Hybrid routing (#67) 2022-09-27 11:15:13 +01:00
coordinates_test.go Fix offset in tree distance calculations 2021-10-15 11:12:15 +01:00
ed25519.go Soft-SNEK (#43) 2022-07-08 14:52:11 +01:00
ed25519_test.go Support partial DHT searches for greedy routing 2021-06-18 12:10:27 +01:00
frame.go Hybrid routing (#67) 2022-09-27 11:15:13 +01:00
frame_test.go Hybrid routing (#67) 2022-09-27 11:15:13 +01:00
logger.go Logger interface, more queue metrics 2022-04-04 14:10:24 +01:00
signaturehop.go Improved mobility performance, optimised marshalling, various code clean-up and fixes 2021-10-12 14:46:09 +01:00
varu64.go Soft-SNEK (#43) 2022-07-08 14:52:11 +01:00
varu64_test.go Soft-SNEK (#43) 2022-07-08 14:52:11 +01:00
virtualsnake.go Watermark tweaks 2022-09-14 14:15:22 +01:00
virtualsnake_test.go Soft-SNEK (#43) 2022-07-08 14:52:11 +01:00