aboutsummaryrefslogtreecommitdiff
path: root/core/src
Commit message (Collapse)AuthorAgeFiles
* cargo clippyhozan232024-10-123
|
* core: rename EventSys to EventEmitterhozan232024-07-152
|
* p2p: Major refactoring of the handshake protocolhozan232024-07-152
| | | | | | | 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 ↵hozan232024-06-293
| | | | new tasks
* Remove redundant type aliaseshozan232024-06-272
|
* Improve async channels error handling and replace unbounded channels with ↵hozan232024-06-274
| | | | | | | | | | | 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: WIP rpc server implementation for the p2p monitorhozan232024-05-271
|
* net: add serde feature for serializing & deserializing Endpointshozan232024-05-271
|
* core: use mutex from parking_lot libraryhozan232024-05-232
|
* p2p: add peer pool logs and discovery logs to example/monitor.rshozan232024-05-231
|
* jsonrpc: spawn task when handle new requesthozan232024-05-231
|
* p2p: monitor system use core::EventSys instead of pubsub patternhozan232024-05-221
|
* add support for tokio & improve net crate apihozan232024-05-1922
|
* core: cargo clippy fix & clean up commentshozan232024-03-222
|
* core: minor modification to TaskGroup apihozan232024-03-211
|
* core: add the option to create a new task group without providing anhozan232024-03-204
| | | | executor & remove GlobalExecutor type
* core: use clone_from instead of dereferencing the wakerhozan232024-03-111
|
* Ensure uniform usage of the name `karyon` across all fileshozan232023-12-0210
|
* p2p/tls_config: add a small testhozan232023-11-291
|
* core: Move `key_pair` to the `crypto` module and make it a Cargo feature.hozan232023-11-294
|
* implement TLS for inbound and outbound connectionshozan232023-11-2816
|
* update README.mdhozan232023-11-231
|
* general clean ups for the docshozan232023-11-233
|
* clean up error module and use `transparent` attributehozan232023-11-181
|
* improve the TaskGroup APIhozan232023-11-153
| | | | | | | | | | | 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 coveragehozan232023-11-121
|
* rename crateshozan232023-11-0915