aboutsummaryrefslogtreecommitdiff
path: root/p2p
Commit message (Collapse)AuthorAgeFiles
* p2p: check for the endpoints before listen/connect to themhozan232024-07-166
|
* core: rename EventSys to EventEmitterhozan232024-07-152
|
* p2p: Major refactoring of the handshake protocolhozan232024-07-1516
| | | | | | | 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-305
|
* use shadown variables to name clones and place them between {} when spawning ↵hozan232024-06-299
| | | | new tasks
* Remove redundant type aliaseshozan232024-06-2710
|
* Improve async channels error handling and replace unbounded channels with ↵hozan232024-06-271
| | | | | | | | | | | 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 dependencieshozan232024-06-243
|
* p2p/backend: add methods to return inbound/outbound connected peershozan232024-06-244
|
* p2p: use base64 to encode PeerID to stringhozan232024-06-243
|
* p2p/monitor: use struct instead of enum for monitor eventshozan232024-06-246
|
* 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-135
|
* update README.mdhozan232024-06-121
|
* p2p: fix cargo clippy warningshozan232024-06-012
|
* p2p: WIP rpc server implementation for the p2p monitorhozan232024-05-2713
|
* p2p: rename connection.rs to conn_queue.rshozan232024-05-256
|
* p2p: wrap the buckets with mutex in RoutingTablehozan232024-05-236
|
* p2p: add peer pool logs and discovery logs to example/monitor.rshozan232024-05-235
|
* p2p: add rpc server to monitor examplehozan232024-05-233
|
* p2p: add enable_monitor field to Confighozan232024-05-224
|
* p2p: monitor system use core::EventSys instead of pubsub patternhozan232024-05-228
|
* p2p: rexport keypair module from karyon_corehozan232024-05-206
|
* minor updates README.mdhozan232024-05-201
|
* add metadata to Cargo.toml fileshozan232024-05-201
|
* use cargo features to enable/disable protocols for net cratehozan232024-05-191
|
* add tokio examples to p2p, jsonrpc, and net crateshozan232024-05-197
|
* add support for tokio & improve net crate apihozan232024-05-1925
|
* core: minor modification to TaskGroup apihozan232024-03-217
|
* core: add the option to create a new task group without providing anhozan232024-03-2010
| | | | executor & remove GlobalExecutor type
* net: major cleanup and improvement of the crate apihozan232024-03-133
|
* net: pass `Endpoint` to dial and listen functionshozan232024-03-132
|
* update the links in the README filehozan232024-03-131
|
* update dependencieshozan232024-03-132
|
* upgrade from async-rustls to futures-rustlshozan232024-03-123
|
* p2p/tls_config: minor changehozan232023-12-121
|
* Ensure uniform usage of the name `karyon` across all fileshozan232023-12-0231
|
* net: rename `Listener` trait to `ConnListener`hozan232023-11-301
|
* p2p/discovery: Select the first 8 entries from each bucket during thehozan232023-11-301
| | | | | | | | 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 testhozan232023-11-291
|
* core: Move `key_pair` to the `crypto` module and make it a Cargo feature.hozan232023-11-2914
|
* p2p/protocol: improve the Protocol APIhozan232023-11-296
|
* p2p: add the `Refreshing` section to README.mdhozan232023-11-281
|
* implement TLS for inbound and outbound connectionshozan232023-11-2830
|