Skip to main content

Questions tagged [libp2p]

Questions related to https://libp2p.io

Filter by
Sorted by
Tagged with
1 vote
0 answers
29 views

How can we employ libp2p to establish a secure private network that is impervious to unauthorized connections?

backgroung Currently, I am looking to utilize Helia to construct a private IPFS network. The critical issue at hand is "Ensuring that this private network remains inaccessible to external nodes.&...
hugr kai's user avatar
0 votes
0 answers
9 views

If ethereum is completely p2p then how do we efficiently discover network-scoped (gloal) info like no of peers in the network?

In order to query an info like the no of peers in the network it would take an order of magnitude of O(n2) where n is the no of peers in the network since each peer would sent the req of no of peers ...
Geek's user avatar
  • 41
2 votes
0 answers
37 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
366 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
  • 33k
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
174 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
493 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
36 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,618