-
Notifications
You must be signed in to change notification settings - Fork 14
P2P sharding network(s) #34
Comments
Or have one network... |
Please review the following questions that I've prepared after reading through the libp2p spec at https://github.com/libp2p/specs. Try to challenge/answer the questions collectively as a team:
|
I don't think we'll use Swarm as data will be stored on the blockchain, but it could also be done with Swarm as a complementary storage service.
For discovery mDNS-discovery looks like a low priority since it's designed for LANs. random-walk seems like it may be a good candidate. Due to the partial trust with bootstrap list, that is another low priority / enhancement alternative. For relay when it is not feasible to reach a peer through a NAT, https://github.com/libp2p/specs/tree/master/relay would be useful, however rust-libp2p is unfortunately not listed as an implementor of it. |
https://github.com/libp2p/go-floodsub/issues/77 https://ethresear.ch/t/topology-on-libp2p-libp2p-design/2028/3?u=jamesray1 WIP on answering the above questions, thanks for asking. |
rustlib-p2p has implemented relay-0.1.0: https://github.com/libp2p/rust-libp2p/tree/master/relay. |
I'll probably implement gossipsub since it is preferable to floodsub. |
"Exploring Ethereum on libp2p" libp2p/libp2p#33 (comment) |
I just want to clarify that we don't need to design a libp2p implementation from scratch, a lot of work has already been done with rust-libp2p, plus other Rust modules. I've created a wiki page with your questions here, and will try to answer them in due course. |
I've answered about half of the questions, might come back to them some time later after writing gossipsub and looking at other priorities. |
@jamesray1 hey, I'll be joining the meetings in Berlin later this week for the libp2p team and starting to prep for it -- is the current state of the questions in the comment above or on the wiki page you mentioned? |
@lgierth hi, it's on the wiki page. I haven't bothered to answer all of them yet as I was tending to repeat myself by referring back to rust-libp2p, which Luke didn't seem to be aware of. Right now I'm reading through tokio (a Rust crate for async networking), and before that was reading up on libp2p, rust-libp2p, Go, gossipsub, etc. Will start developing gossipsub soon. |
Have the ability of building and sending collations across those networks.
https://github.com/libp2p/specs
https://github.com/libp2p/rust-libp2p (this is a WIP), but devp2p is not maintained and is poorly documented, so it's still our best option.
The text was updated successfully, but these errors were encountered: