Questions tagged [libp2p]
Questions related to https://libp2p.io
8 questions
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.&...
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 ...
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 ...
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" ...
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 ...
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');
...
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, ...
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 ...