aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFiles
* p2p: check for the endpoints before listen/connect to themHEADmasterhozan232024-07-167
|
* README: add karyon_jsonrpc crate linkhozan232024-07-151
|
* bump version to 0.1.6hozan232024-07-154
|
* core: rename EventSys to EventEmitterhozan232024-07-154
|
* p2p: Major refactoring of the handshake protocolhozan232024-07-1518
| | | | | | | 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.
* jsonrpc/server: Remove panic on peer endpoint retrieval during incoming ↵hozan232024-07-041
| | | | connection handling
* Update README.md: add badgeshozan232024-07-041
|
* jsonrpc: remove redundant macro codes in the main crate and clean uphozan232024-06-3011
| | | | internal proc macros
* bump version to 0.1.5hozan232024-06-304
|
* jsonrpc: remove unwrap() and use expect() for examples, docs, and testshozan232024-06-306
|
* jsonrpc: minor tweak to support Rust 1.64.0hozan232024-06-301
|
* p2p: remove async-std from dev dependencies & clean up exampleshozan232024-06-306
|
* use shadown variables to name clones and place them between {} when spawning ↵hozan232024-06-2916
| | | | new tasks
* Remove redundant type aliaseshozan232024-06-2712
|
* github/workflow/rust: add build with tokio featurehozan232024-06-271
|
* Improve async channels error handling and replace unbounded channels with ↵hozan232024-06-278
| | | | | | | | | | | 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-2412
|
* p2p/backend: add methods to return inbound/outbound connected peershozan232024-06-244
|
* p2p: use base64 to encode PeerID to stringhozan232024-06-244
|
* p2p/monitor: use struct instead of enum for monitor eventshozan232024-06-246
|
* p2p/examples: remove redundant codehozan232024-06-247
|
* jsonrpc: add info logs when connecting/listening to endpointhozan232024-06-232
|
* p2p/monitor: fix issues regarding changes in jsonrpc apihozan232024-06-231
|
* bump version to 0.1.4hozan232024-06-226
|
* jsonrpc/client: close the subscription channel when calling unsubscribehozan232024-06-223
|
* jsonrpc: use `ServerConfig` and `ClientConfig` as the inner field inhozan232024-06-226
| | | | `ServerBuilder` and `ClientBuilder`
* jsonrpc: add tcp, tls and ws features for compilationhozan232024-06-228
|
* net: compile rustls only if tls feature is enabledhozan232024-06-228
|
* jsonrpc/client: fix subscription error when the subscriber cannot keep uphozan232024-06-2110
| | | | | | Add a limit for receiving notifications for the subscription. If this limit is exceeded, the client will stop and raise an error. The limit is configurable when building a new client.
* jsonrpc/server: use weak pointer for Channel in subscriptionshozan232024-06-172
|
* jsonrpc/client: use serde untagged enum for decoding Notifications and Responseshozan232024-06-173
|
* bump version to 0.1.3hozan232024-06-1513
|
* jsonrpc/server: check for the jsonrpc version in the requesthozan232024-06-151
|
* jsonrpc: separate the RPC errors from the library implementation errorshozan232024-06-1513
|
* jsonrpc: client use unbounded channels as buffer for sending requests & ↵hozan232024-06-1414
| | | | clean up examples
* p2p: WIP implement rpc server for the p2p monitorhozan232024-06-147
|
* bump version to 0.1.2hozan232024-06-137
|
* jsonrpc: spread out comments and clean uphozan232024-06-1319
|
* update README.mdhozan232024-06-123
|
* p2p: fix cargo clippy warningshozan232024-06-013
|
* bump version to 0.1.1hozan232024-05-314
|
* jsonrpc/server: use queue with condvar instead of async channelshozan232024-05-306
|
* jsonrpc: add comments & remove debugging codehozan232024-05-285
|
* jsonrpc: move `SubscriptionID` to message.rshozan232024-05-286
|
* jsonrpc: enable concurrent requests in `Client`hozan232024-05-286
|
* p2p: WIP rpc server implementation for the p2p monitorhozan232024-05-2720
|
* net: finish TODOs in websocket implemention & clean uphozan232024-05-273
|
* net: add serde feature for serializing & deserializing Endpointshozan232024-05-273
|
* p2p: rename connection.rs to conn_queue.rshozan232024-05-257
|
* p2p: wrap the buckets with mutex in RoutingTablehozan232024-05-237
|