Commit message (Collapse) | Author | Age | Files | |
---|---|---|---|---|
* | p2p: check for the endpoints before listen/connect to them | hozan23 | 2024-07-16 | 1 |
| | ||||
* | p2p: Major refactoring of the handshake protocol | hozan23 | 2024-07-15 | 1 |
| | | | | | | | 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 | 1 |
| | | | | new tasks | |||
* | 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/monitor: use struct instead of enum for monitor events | hozan23 | 2024-06-24 | 1 |
| | ||||
* | p2p: fix cargo clippy warnings | hozan23 | 2024-06-01 | 1 |
| | ||||
* | p2p: wrap the buckets with mutex in RoutingTable | hozan23 | 2024-05-23 | 1 |
| | ||||
* | p2p: add peer pool logs and discovery logs to example/monitor.rs | hozan23 | 2024-05-23 | 1 |
| | ||||
* | p2p: monitor system use core::EventSys instead of pubsub pattern | hozan23 | 2024-05-22 | 1 |
| | ||||
* | add support for tokio & improve net crate api | hozan23 | 2024-05-19 | 1 |
| | ||||
* | core: add the option to create a new task group without providing an | hozan23 | 2024-03-20 | 1 |
| | | | | executor & remove GlobalExecutor type | |||
* | Ensure uniform usage of the name `karyon` across all files | hozan23 | 2023-12-02 | 1 |
| | ||||
* | core: Move `key_pair` to the `crypto` module and make it a Cargo feature. | hozan23 | 2023-11-29 | 1 |
| | ||||
* | implement TLS for inbound and outbound connections | hozan23 | 2023-11-28 | 1 |
| | ||||
* | p2p: avoid doing too much locking and unlocking for the routing table mutex | hozan23 | 2023-11-17 | 1 |
| | ||||
* | improve the TaskGroup API | hozan23 | 2023-11-15 | 1 |
| | | | | | | | | | | | 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 | 1 |
| | ||||
* | rename crates | hozan23 | 2023-11-09 | 1 |