Santiago Carmuega
cb0348b47a
refactor: Merge multiplexer & miniprotocols into single crate ( #244 )
2023-04-10 19:51:38 -03:00
Santiago Carmuega
b8ff4e9418
feat: Migrate to asynchronous I/O ( #241 )
...
This commit updates the networking stack to use asynchronous I/O for improved performance and concurrency. We have replaced synchronous I/O calls with their asynchronous counterparts and refactored the code to use async/await and Tokio runtime.
2023-04-09 08:50:56 -03:00
Pi Lanningham
a81fc101fe
feat: Add client/server use_channel variants ( #228 )
...
The goal here is to make the use of channels when interfacing with nodes less of a black box; the 0x8000 bit flip is a very surprising behavior if you're not already familiar with it.
2023-02-09 17:38:45 -03:00
Pi Lanningham
4915d14cd5
feat: Add constants for known miniprotocols
...
* Add constants for known miniprotocols
Now consumers of the crate don't have to memorize what channel number means what
* Add myself to the crate authors
2023-02-05 06:13:55 -05:00
dependabot[bot]
3fe3b3b53e
build(deps): update env_logger requirement from 0.9.0 to 0.10.0 ( #209 )
...
Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger ) to permit the latest version.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-04 08:52:01 -03:00
Santiago Carmuega
a129d77608
feat: Migrate to dumb agents ( #198 )
...
BREAKING CHANGE: handshake, chainsync, localstate and blockfetch mini-protocols changed the API surface
Co-authored-by: jmhrpr <harper.jme@gmail.com>
2022-10-25 14:42:34 -03:00
Santiago Carmuega
19844889e6
feat(multiplexer): Use single channel for muxer ( #133 )
2022-06-20 16:06:46 -03:00
Santiago Carmuega
c075f8c2ab
fix(multiplexer): Use buffers that own the inner channel ( #113 )
2022-06-10 11:54:14 -03:00
Santiago Carmuega
f67e010c76
feat: Improve multiplexer ergonomics ( #111 )
2022-06-04 17:39:29 -03:00
Santiago Carmuega
a39682a38d
feat(multiplexer): Allow fine-grained control of concurrency strategy ( #106 )
2022-06-03 21:37:38 -03:00
Santiago Carmuega
c998d9adbb
chore: Move miniprotocol examples to custom crate ( #97 )
2022-04-28 09:50:33 -03:00