aboutsummaryrefslogtreecommitdiff
path: root/p2p/src/discovery
Commit message (Collapse)AuthorAgeFiles
* Ensure uniform usage of the name `karyon` across all fileshozan232023-12-023
|
* p2p/discovery: Select the first 8 entries from each bucket during thehozan232023-11-301
| | | | | | | | refresh process Instead of selecting random entries during the refresh process, choose the fist 8 entries from each bucket in the routing table. This ensures that only the oldest entries are refreshed.
* core: Move `key_pair` to the `crypto` module and make it a Cargo feature.hozan232023-11-292
|
* implement TLS for inbound and outbound connectionshozan232023-11-283
|
* p2p: Improve error handling during handshake:hozan232023-11-222
| | | | | | | | | | Introduce a new entry status, INCOMPATIBLE_ENTRY. Entries with this status will not increase the failure attempts, instead, they will persist in the routing table until replaced by a new peer. This feature is useful for seeding and the lookup process. Add a boolean value to the VerAck message to indicate whether the version is accepted or not.
* net: improve Conn APIhozan232023-11-191
|
* p2p: avoid doing too much locking and unlocking for the routing table mutexhozan232023-11-172
|
* improve the TaskGroup APIhozan232023-11-153
| | | | | | | | | | | the TaskGroup now holds an Executor instead of passing it when calling its spawn method also, define a global executor `Executor<'static>` and use static lifetime instead of a lifetime placeholder This improvement simplify the code for spawning a new task. There is no need to pass the executor around.
* p2p: remove net directoryhozan232023-11-122
|
* rename crateshozan232023-11-093