summaryrefslogtreecommitdiffstats
path: root/src/proto.c
Commit message (Collapse)AuthorAgeFilesLines
* Discard the request when there's no timeout funcJesper Jensen2025-06-151-1/+1
|
* Time out lookup requests tooJesper Jensen2025-06-151-3/+6
|
* Discard lookup responses when it's completedJesper Jensen2025-05-111-1/+5
|
* Handle error from lookupJesper Jensen2025-05-111-1/+8
|
* Add metric for discarded packetsJesper Jensen2025-05-111-0/+3
|
* Decrement requests in flight on clearJesper Jensen2025-05-101-11/+10
| | | | That's a bug
* Run the lookup once in a whileJesper Jensen2025-05-101-2/+2
|
* Reintroduce the workpool size metricJesper Jensen2025-05-101-0/+4
|
* Also check for unitialized lookupJesper Jensen2025-05-061-2/+2
|
* Add metric for wakeup timeJesper Jensen2025-05-061-3/+13
|
* Reset the expire time of routing table on startupJesper Jensen2025-05-061-1/+1
|
* Support for longer transaction IDsJesper Jensen2025-05-041-3/+3
|
* Refactor lookup init and add routing table metricJesper Jensen2025-05-041-0/+30
| | | | | | | 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-52/+22
|
* Add a first approximation of a lookup algorithmJesper Jensen2025-04-161-5/+192
| | | | | | | | | | | | | | 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.
* Expose the number of keepalive pings we sendJesper Jensen2025-04-151-0/+1
|
* Don't crash on invalid dictionaryJesper Jensen2025-04-141-2/+5
|
* Use a real root routerJesper Jensen2025-04-131-2/+2
|
* Use the normal dht port and rename some metricsJesper Jensen2025-04-131-2/+3
|
* Expose the query type as a metric labelJesper Jensen2025-04-131-44/+4
|
* Add a docker containerJesper Jensen2025-04-121-0/+2
|
* Add prometheus monitoringJesper Jensen2025-04-121-22/+67
|
* I don't knowJesper Jensen2025-04-121-56/+165
|
* I don't rememberJesper Jensen2025-04-121-47/+78
|
* Increase payload sizemainflushJesper Jensen2021-10-271-1/+2
|
* Flush in mainJesper Jensen2021-10-161-5/+3
|
* Add find_node queryJesper Jensen2021-10-161-15/+5
|
* Add comment for hacky stuffJesper Jensen2021-10-051-0/+5
|
* Respond correctly no unknown query methodJesper Jensen2021-10-051-2/+13
|
* Add getclient timeoutJesper Jensen2021-10-051-93/+138
|
* Add timeout handlingJesper Jensen2021-10-021-58/+127
|
* Add timeoutJesper Jensen2021-09-251-39/+75
|
* Add general testsJesper Jensen2021-09-191-0/+519