Questions tagged [libp2p]

Questions related to https://libp2p.io

Filter by
Sorted by
Tagged with
2 votes
0 answers
22 views

Do consensus-clients connect with any discv5 peer or is there any optimization?

I am looking at optimising connections between validators, and I was wondering how eth2 consensus clients handle this currently. Reading the specs at consensus-specs I couldn't find anything very ...
phetherer's user avatar
0 votes
1 answer
311 views

How can I easily get the Ethereum 2.0 network's fork digest and fork version?

Ethereum 2.0 nodes communicate through a libp2p network. Two indicators of talking to "correct" nodes on the same network are the "fork digest" and the "fork version" ...
q9f's user avatar
  • 32.9k
2 votes
1 answer
1k views

Replication of Files across a Private IPFS Network

I want to create a private IPFS Network in which nodes should be able to add data and share the Hash with other nodes in the network so that they will be able to access the files and make them ...
Sandeep Yadav's user avatar
2 votes
1 answer
163 views

Error while importing Libp2p package in blockchain

I have installed some js-libp2p's packages on my Ethereum Blockchain-ipfs project and I wrote some codes like below. const TCP = require('libp2p-tcp'); const MulticastDNS = require('libp2p-mdns'); ...
Sulvin's user avatar
  • 61
4 votes
1 answer
463 views

LibP2P v DevP2P

Why is are new projects (ETH 2.0, Polkadot (Substrate) ) favouring Libp2p over DevP2P? I have seen this answer, but it doesnt really drawn strict comparisons. What is the distinction between libp2p, ...
0xsegfault's user avatar
  • 1,260
35 votes
3 answers
8k views

What is the distinction between libp2p, devp2p and RLPx?

What is the distinction between libp2p and devp2p? Do they refer to the same thing? How are they related to RLPx? In the libp2p whitepaper, dated Nov 2014, they appear to be the same thing: libp2p ...
Lee's user avatar
  • 8,498