Commit graph

14 commits

Author SHA1 Message Date
Santiago Carmuega
df3291bef5 feat(network): implement background keep-alive loop (#427) 2024-04-02 21:27:33 -03:00
Harper
4d887c6d94 feat(network): implement server side KeepAlive (#376) 2024-01-08 07:50:37 -03:00
Santiago Carmuega
8c6d5e5e58 refactor(network): split bearer into read/write (#364) 2023-12-21 18:08:29 -03:00
Andrew Westberg
2e1b0e5cf2 fix(network): add tcp_nodelay to bearer (#365) 2023-12-20 21:50:03 -03:00
Andrew Westberg
b6399333da feat(network): update n2n handshake versions & add keepalive miniprotocol (#362) 2023-12-19 07:56:10 -03:00
Santiago Carmuega
d5f0c2fd80 refactor: Merge multiplexer & miniprotocols into single crate (#244) 2023-04-10 19:51:38 -03:00
Pi Lanningham
01bdf4afe0 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
f9263a0eba 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
Santiago Carmuega
1b42851f2d 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
cdb7b6f954 feat(multiplexer): Use single channel for muxer (#133) 2022-06-20 16:06:46 -03:00
Santiago Carmuega
8b54dbeeac fix(multiplexer): Use buffers that own the inner channel (#113) 2022-06-10 11:54:14 -03:00
Santiago Carmuega
159d38020c feat: Improve multiplexer ergonomics (#111) 2022-06-04 17:39:29 -03:00
Santiago Carmuega
e4784f444d feat(multiplexer): Allow fine-grained control of concurrency strategy (#106) 2022-06-03 21:37:38 -03:00
Santiago Carmuega
4b5b747ecc chore: Move miniprotocol examples to custom crate (#97) 2022-04-28 09:50:33 -03:00