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 | 6 |
| | ||||
* | core: rename EventSys to EventEmitter | hozan23 | 2024-07-15 | 2 |
| | ||||
* | p2p: Major refactoring of the handshake protocol | hozan23 | 2024-07-15 | 14 |
| | | | | | | | 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 | 8 |
| | | | | new tasks | |||
* | Remove redundant type aliases | hozan23 | 2024-06-27 | 8 |
| | ||||
* | 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. | |||
* | update dependencies | hozan23 | 2024-06-24 | 1 |
| | ||||
* | p2p/backend: add methods to return inbound/outbound connected peers | hozan23 | 2024-06-24 | 4 |
| | ||||
* | p2p: use base64 to encode PeerID to string | hozan23 | 2024-06-24 | 2 |
| | ||||
* | p2p/monitor: use struct instead of enum for monitor events | hozan23 | 2024-06-24 | 6 |
| | ||||
* | p2p: fix cargo clippy warnings | hozan23 | 2024-06-01 | 2 |
| | ||||
* | p2p: WIP rpc server implementation for the p2p monitor | hozan23 | 2024-05-27 | 4 |
| | ||||
* | p2p: rename connection.rs to conn_queue.rs | hozan23 | 2024-05-25 | 6 |
| | ||||
* | p2p: wrap the buckets with mutex in RoutingTable | hozan23 | 2024-05-23 | 4 |
| | ||||
* | p2p: add peer pool logs and discovery logs to example/monitor.rs | hozan23 | 2024-05-23 | 3 |
| | ||||
* | p2p: add rpc server to monitor example | hozan23 | 2024-05-23 | 1 |
| | ||||
* | p2p: add enable_monitor field to Config | hozan23 | 2024-05-22 | 3 |
| | ||||
* | p2p: monitor system use core::EventSys instead of pubsub pattern | hozan23 | 2024-05-22 | 7 |
| | ||||
* | p2p: rexport keypair module from karyon_core | hozan23 | 2024-05-20 | 3 |
| | ||||
* | add tokio examples to p2p, jsonrpc, and net crates | hozan23 | 2024-05-19 | 1 |
| | ||||
* | add support for tokio & improve net crate api | hozan23 | 2024-05-19 | 19 |
| | ||||
* | core: minor modification to TaskGroup api | hozan23 | 2024-03-21 | 7 |
| | ||||
* | core: add the option to create a new task group without providing an | hozan23 | 2024-03-20 | 9 |
| | | | | executor & remove GlobalExecutor type | |||
* | net: major cleanup and improvement of the crate api | hozan23 | 2024-03-13 | 3 |
| | ||||
* | net: pass `Endpoint` to dial and listen functions | hozan23 | 2024-03-13 | 2 |
| | ||||
* | update the links in the README file | hozan23 | 2024-03-13 | 1 |
| | ||||
* | update dependencies | hozan23 | 2024-03-13 | 1 |
| | ||||
* | upgrade from async-rustls to futures-rustls | hozan23 | 2024-03-12 | 2 |
| | ||||
* | p2p/tls_config: minor change | hozan23 | 2023-12-12 | 1 |
| | ||||
* | Ensure uniform usage of the name `karyon` across all files | hozan23 | 2023-12-02 | 23 |
| | ||||
* | net: rename `Listener` trait to `ConnListener` | hozan23 | 2023-11-30 | 1 |
| | ||||
* | 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. | |||
* | 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 | 10 |
| | ||||
* | p2p/protocol: improve the Protocol API | hozan23 | 2023-11-29 | 4 |
| | ||||
* | implement TLS for inbound and outbound connections | hozan23 | 2023-11-28 | 24 |
| | ||||
* | general clean ups for the docs | hozan23 | 2023-11-23 | 2 |
| | ||||
* | add Docs section to README.md file & add an example to p2p crate | hozan23 | 2023-11-22 | 2 |
| | ||||
* | p2p: Improve error handling during handshake: | hozan23 | 2023-11-22 | 8 |
| | | | | | | | | | | 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 | 3 |
| | ||||
* | clean up error module and use `transparent` attribute | hozan23 | 2023-11-18 | 1 |
| | ||||
* | p2p/peer_pool: minor change | hozan23 | 2023-11-17 | 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 | 14 |
| | | | | | | | | | | | 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/message: minor change to get_msg_payload macro | hozan23 | 2023-11-13 | 1 |
| | ||||
* | p2p: remove net directory | hozan23 | 2023-11-12 | 11 |
| | ||||
* | p2p: use VecDeque for connection queue | hozan23 | 2023-11-10 | 1 |
| | ||||
* | rename crates | hozan23 | 2023-11-09 | 26 |