Giter VIP home page Giter VIP logo

Comments (7)

vasco-santos avatar vasco-santos commented on August 20, 2024 2

libp2p/js-libp2p-pubsub got its inital release and there is a PR for integrating it wth floodsub implementation libp2p/js-libp2p-floodsub#69.

We now can iterate on js-libp2p-pubsub implementation, according to other needs of gossipsub, as well as to improve documentation and add an example, as gossipsub is being implemented.

Important note: we will have to migrate both codebases (floodsub and pubsub) to use async iterators, instead of callbacks, and by then level up our documentation. When I get to the async iterators, I will have to prioritize the DHT, but in the second step I will go with the pubsub modules. Anyway, I would recommend that you guys start with async iterators if you are confortable, otherwise you will need to refactor this implementation afterward.

from js-libp2p-gossipsub.

raulk avatar raulk commented on August 20, 2024 1

@vasco-santos beautiful! Thanks for getting on this so quickly 💪

from js-libp2p-gossipsub.

Mikerah avatar Mikerah commented on August 20, 2024

After the call with the libp2p team, they will be extracting the base protocol from js-libp2p-floodsub so that it can be used to build other protocols on top of the base protocol.

They are also in the process of writing interoperability tests for libp2p modelled on the ipfs interoperability tests. In the meantime, we can use the js-libp2p-daemon and go-libp2p-daemon.

They are still working out the details of the connection manager. So, the work on that can be done later.

from js-libp2p-gossipsub.

raulk avatar raulk commented on August 20, 2024

CC @vasco-santos @jacobheun

from js-libp2p-gossipsub.

vasco-santos avatar vasco-santos commented on August 20, 2024

I will keep you posted regarding the base protocol and interop tests moves!

from js-libp2p-gossipsub.

Mikerah avatar Mikerah commented on August 20, 2024

Thank you very much @vasco-santos and @raulk. We will definitely be using async iterators moving forward and I will continue to give feedback to the js-libp2p-pubsub module.

from js-libp2p-gossipsub.

Mikerah avatar Mikerah commented on August 20, 2024

Done..

from js-libp2p-gossipsub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.