summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Refactor lookup init and add routing table metricJesper Jensen2025-05-041-22/+31
| | | | | | | I think it would be nice to see the detailed routing table occupancy. I've added a metric that exposes the current occupancy of each bucket. That should provide me some insight into the current distribution of nodes and if we need to find a way to keep the closer buckets alive.
* Add end timeout to lookup functionJesper Jensen2025-04-261-8/+8
|
* Add a first approximation of a lookup algorithmJesper Jensen2025-04-161-0/+119
| | | | | | | | | | | | | | This isn't really "correct" but it's probably going to work. It's a rough implementation of the Kademlia lookup algorithm, with the modification that we don't keep track of anything behind the frontier. We are therefore counting on peers being ok with us potentially sending them the "same" request multiple times. If they respond in a reasonable time, the double request rate _should_ be minimal, but that of course carries the risk that an already overloaded peer would get even more queries. I don't know. It's a first try at something. I need to see it work before I write it off completely.
* Add prometheus monitoringJesper Jensen2025-04-123-16/+192
|
* I don't knowJesper Jensen2025-04-122-36/+123
|
* I don't rememberJesper Jensen2025-04-124-17/+291
|
* Increase payload sizemainflushJesper Jensen2021-10-271-11/+0
|
* Flush in mainJesper Jensen2021-10-161-0/+21
|
* Add find_node queryJesper Jensen2021-10-162-3/+53
|
* Respond correctly no unknown query methodJesper Jensen2021-10-051-0/+26
|
* Add getclient timeoutJesper Jensen2021-10-052-7/+119
|
* Add timeout handlingJesper Jensen2021-10-022-13/+183
|
* Add general testsJesper Jensen2021-09-192-1/+143
|
* Add ping supportJesper Jensen2021-09-032-3/+165
|
* Add formal benc cursorJesper Jensen2021-08-291-64/+43
|
* Initial fanout implementedJesper Jensen2021-08-282-0/+417
|
* Add tests for routingJesper Jensen2021-06-201-2/+89
|
* Add tests and test runningJesper Jensen2021-06-171-0/+6