Closed acud closed 1 year ago
Currenly updating Go version is blocked because libp2p v0.16 cannot be compiled with Go 1.18.
In order to upgrade Go version we would also need to update the libp2p version to 0.19.1 at least.
The current idea is to do a research about this topic, so that there can be a good estimate and break-down at a task level what needs to be done.
I'd suggest switching to go1.19.1
. There are things in subsequent versions of go-libp2p
that may affect us (in terms of functionality and stability of the whole network), so they need to be thoroughly investigated:
v0.18
It seems not to be relevant anymore.
We are apparently using too many streams which are open for too long in our usage of libp2p.
It would be good to consult with them (over their discourse) about our use-case and see whether it would be more realistic to use a simple up-down stream pattern per-peer per-protocol.