aboutsummaryrefslogtreecommitdiff
path: root/p2p/examples
Commit message (Collapse)AuthorAgeFiles
* p2p: Major refactoring of the handshake protocolhozan232024-07-151
| | | | | | | 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.
* p2p: remove async-std from dev dependencies & clean up exampleshozan232024-06-304
|
* use shadown variables to name clones and place them between {} when spawning ↵hozan232024-06-291
| | | | new tasks
* Remove redundant type aliaseshozan232024-06-271
|
* update dependencieshozan232024-06-241
|
* p2p/examples: remove redundant codehozan232024-06-246
|
* p2p/monitor: fix issues regarding changes in jsonrpc apihozan232024-06-231
|
* bump version to 0.1.3hozan232024-06-154
|
* jsonrpc: separate the RPC errors from the library implementation errorshozan232024-06-151
|
* jsonrpc: client use unbounded channels as buffer for sending requests & ↵hozan232024-06-141
| | | | clean up examples
* p2p: WIP implement rpc server for the p2p monitorhozan232024-06-145
|
* bump version to 0.1.2hozan232024-06-132
|
* jsonrpc: spread out comments and clean uphozan232024-06-134
|
* p2p: WIP rpc server implementation for the p2p monitorhozan232024-05-278
|
* p2p: wrap the buckets with mutex in RoutingTablehozan232024-05-231
|
* p2p: add peer pool logs and discovery logs to example/monitor.rshozan232024-05-231
|
* p2p: add rpc server to monitor examplehozan232024-05-231
|
* p2p: add enable_monitor field to Confighozan232024-05-221
|
* p2p: monitor system use core::EventSys instead of pubsub patternhozan232024-05-221
|
* p2p: rexport keypair module from karyon_corehozan232024-05-203
|
* add tokio examples to p2p, jsonrpc, and net crateshozan232024-05-195
|
* add support for tokio & improve net crate apihozan232024-05-194
|
* core: add the option to create a new task group without providing anhozan232024-03-201
| | | | executor & remove GlobalExecutor type
* Ensure uniform usage of the name `karyon` across all fileshozan232023-12-026
|
* core: Move `key_pair` to the `crypto` module and make it a Cargo feature.hozan232023-11-293
|
* p2p/protocol: improve the Protocol APIhozan232023-11-291
|
* implement TLS for inbound and outbound connectionshozan232023-11-284
|
* improve the TaskGroup APIhozan232023-11-154
| | | | | | | | | | | 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.
* rename crateshozan232023-11-095