aboutsummaryrefslogtreecommitdiff
path: root/p2p/src/discovery/mod.rs
Commit message (Collapse)AuthorAgeFiles
* p2p: check for the endpoints before listen/connect to themHEADmasterhozan232024-07-161
|
* p2p: Major refactoring of the handshake protocolhozan232024-07-151
| | | | | | | Introduce a new protocol InitProtocol which can be used as the core protocol for initializing a connection with a peer. Move the handshake logic from the PeerPool module to the protocols directory and build a handshake protocol that implements InitProtocol trait.
* use shadown variables to name clones and place them between {} when spawning ↵hozan232024-06-291
| | | | new tasks
* Remove redundant type aliaseshozan232024-06-271
|
* p2p/backend: add methods to return inbound/outbound connected peershozan232024-06-241
|
* p2p: rename connection.rs to conn_queue.rshozan232024-05-251
|
* p2p: wrap the buckets with mutex in RoutingTablehozan232024-05-231
|
* add support for tokio & improve net crate apihozan232024-05-191
|
* core: minor modification to TaskGroup apihozan232024-03-211
|
* core: add the option to create a new task group without providing anhozan232024-03-201
| | | | executor & remove GlobalExecutor type
* Ensure uniform usage of the name `karyon` across all fileshozan232023-12-021
|
* core: Move `key_pair` to the `crypto` module and make it a Cargo feature.hozan232023-11-291
|
* implement TLS for inbound and outbound connectionshozan232023-11-281
|
* p2p: Improve error handling during handshake:hozan232023-11-221
| | | | | | | | | | 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.
* improve the TaskGroup APIhozan232023-11-151
| | | | | | | | | | | 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-121
|
* rename crateshozan232023-11-091