EspressoSystems / HotShot

http://hotshot.docs.espressosys.com/
101 stars 25 forks source link

[LIBP2P] - Research the Stream Behaviour #2585

Open bfish713 opened 5 months ago

bfish713 commented 5 months ago

What is this task and why do we need to work on it?

Rust libp2p offers a stream Behaviour that seems pretty lightweight easy to integrate into our application. See the exampes/stream in rust-libp2p.

What work will need to be done to complete this task?

No response

Are there any other details to include?

No response

What are the acceptance criteria to close this issue?

Make an informed decision on whether streams is better for us than RequestResponse

Branch work will be merged to (if not the default branch)

No response

DieracDelta commented 5 months ago

One initial issue: stream is so recent that there's been no libp2p release containing stream. The closest I see in 0.53 is this, which is not the same thing. To add stream, we would either (1) need to wait until a new release is stabilized or (2) point libp2p at a recent commit.

bfish713 commented 5 months ago

One initial issue: stream is so recent that there's been no libp2p release containing stream. The closest I see in 0.53 is this, which is not the same thing. To add stream, we would either (1) need to wait until a new release is stabilized or (2) point libp2p at a recent commit.

I've been looking this stream example in main and didn't even notice it's not in the current release. I'll put this in the backlog