Commit message (Collapse) | Author | Age | Files | |
---|---|---|---|---|
* | cargo clippy | hozan23 | 2024-10-12 | 1 |
| | ||||
* | p2p: check for the endpoints before listen/connect to them | hozan23 | 2024-07-16 | 2 |
| | ||||
* | p2p: Major refactoring of the handshake protocol | hozan23 | 2024-07-15 | 3 |
| | | | | | | | 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 ↵ | hozan23 | 2024-06-29 | 3 |
| | | | | new tasks | |||
* | Remove redundant type aliases | hozan23 | 2024-06-27 | 1 |
| | ||||
* | Improve async channels error handling and replace unbounded channels with ↵ | hozan23 | 2024-06-27 | 1 |
| | | | | | | | | | | | bounded channels Remove all unbounded channels to prevent unbounded memory usage and potential crashes. Use `FuturesUnordered` for sending to multiple channels simultaneously. This prevents the sending loop from blocking if one channel is blocked, and helps handle errors properly. | |||
* | p2p/backend: add methods to return inbound/outbound connected peers | hozan23 | 2024-06-24 | 1 |
| | ||||
* | p2p/monitor: use struct instead of enum for monitor events | hozan23 | 2024-06-24 | 2 |
| | ||||
* | p2p: fix cargo clippy warnings | hozan23 | 2024-06-01 | 1 |
| | ||||
* | p2p: rename connection.rs to conn_queue.rs | hozan23 | 2024-05-25 | 1 |
| | ||||
* | p2p: wrap the buckets with mutex in RoutingTable | hozan23 | 2024-05-23 | 3 |
| | ||||
* | p2p: add peer pool logs and discovery logs to example/monitor.rs | hozan23 | 2024-05-23 | 2 |
| | ||||
* | p2p: monitor system use core::EventSys instead of pubsub pattern | hozan23 | 2024-05-22 | 2 |
| | ||||
* | add support for tokio & improve net crate api | hozan23 | 2024-05-19 | 3 |
| | ||||
* | core: minor modification to TaskGroup api | hozan23 | 2024-03-21 | 2 |
| | ||||
* | core: add the option to create a new task group without providing an | hozan23 | 2024-03-20 | 3 |
| | | | | executor & remove GlobalExecutor type | |||
* | net: major cleanup and improvement of the crate api | hozan23 | 2024-03-13 | 1 |
| | ||||
* | net: pass `Endpoint` to dial and listen functions | hozan23 | 2024-03-13 | 1 |
| | ||||
* | Ensure uniform usage of the name `karyon` across all files | hozan23 | 2023-12-02 | 3 |
| | ||||
* | p2p/discovery: Select the first 8 entries from each bucket during the | hozan23 | 2023-11-30 | 1 |
| | | | | | | | | 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. | hozan23 | 2023-11-29 | 2 |
| | ||||
* | implement TLS for inbound and outbound connections | hozan23 | 2023-11-28 | 3 |
| | ||||
* | p2p: Improve error handling during handshake: | hozan23 | 2023-11-22 | 2 |
| | | | | | | | | | | 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 API | hozan23 | 2023-11-19 | 1 |
| | ||||
* | p2p: avoid doing too much locking and unlocking for the routing table mutex | hozan23 | 2023-11-17 | 2 |
| | ||||
* | improve the TaskGroup API | hozan23 | 2023-11-15 | 3 |
| | | | | | | | | | | | 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 directory | hozan23 | 2023-11-12 | 2 |
| | ||||
* | rename crates | hozan23 | 2023-11-09 | 3 |