Commit message (Collapse) | Author | Age | Files | |
---|---|---|---|---|
* | p2p: Major refactoring of the handshake protocol | hozan23 | 2024-07-15 | 2 |
| | | | | | | | 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 | 2 |
| | ||||
* | Improve async channels error handling and replace unbounded channels with ↵ | hozan23 | 2024-06-27 | 5 |
| | | | | | | | | | | | 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. | |||
* | update dependencies | hozan23 | 2024-06-24 | 1 |
| | ||||
* | jsonrpc: add tcp, tls and ws features for compilation | hozan23 | 2024-06-22 | 1 |
| | ||||
* | p2p: WIP rpc server implementation for the p2p monitor | hozan23 | 2024-05-27 | 1 |
| | ||||
* | net: add serde feature for serializing & deserializing Endpoints | hozan23 | 2024-05-27 | 1 |
| | ||||
* | core: use mutex from parking_lot library | hozan23 | 2024-05-23 | 3 |
| | ||||
* | p2p: add peer pool logs and discovery logs to example/monitor.rs | hozan23 | 2024-05-23 | 1 |
| | ||||
* | jsonrpc: spawn task when handle new request | hozan23 | 2024-05-23 | 1 |
| | ||||
* | p2p: monitor system use core::EventSys instead of pubsub pattern | hozan23 | 2024-05-22 | 1 |
| | ||||
* | add metadata to Cargo.toml files | hozan23 | 2024-05-20 | 1 |
| | ||||
* | add support for tokio & improve net crate api | hozan23 | 2024-05-19 | 23 |
| | ||||
* | core: cargo clippy fix & clean up comments | hozan23 | 2024-03-22 | 2 |
| | ||||
* | core: minor modification to TaskGroup api | hozan23 | 2024-03-21 | 1 |
| | ||||
* | core: add the option to create a new task group without providing an | hozan23 | 2024-03-20 | 5 |
| | | | | executor & remove GlobalExecutor type | |||
* | update dependencies | hozan23 | 2024-03-13 | 1 |
| | ||||
* | core: use clone_from instead of dereferencing the waker | hozan23 | 2024-03-11 | 1 |
| | ||||
* | Ensure uniform usage of the name `karyon` across all files | hozan23 | 2023-12-02 | 11 |
| | ||||
* | p2p/tls_config: add a small test | hozan23 | 2023-11-29 | 1 |
| | ||||
* | core: Move `key_pair` to the `crypto` module and make it a Cargo feature. | hozan23 | 2023-11-29 | 5 |
| | ||||
* | implement TLS for inbound and outbound connections | hozan23 | 2023-11-28 | 17 |
| | ||||
* | update README.md | hozan23 | 2023-11-23 | 1 |
| | ||||
* | general clean ups for the docs | hozan23 | 2023-11-23 | 3 |
| | ||||
* | clean up error module and use `transparent` attribute | hozan23 | 2023-11-18 | 1 |
| | ||||
* | improve the TaskGroup API | hozan23 | 2023-11-15 | 4 |
| | | | | | | | | | | | 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. | |||
* | core: enhance the CondWait test coverage | hozan23 | 2023-11-12 | 1 |
| | ||||
* | rename crates | hozan23 | 2023-11-09 | 16 |