Commit message (Collapse) | Author | Age | Files | |
---|---|---|---|---|
* | 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 |