Questions tagged [p2p]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
1answer
87 views

Target addresses in Kademlia

I'm currently trying to understand the Kademlia protocol implemented in Ethereum in order to discover other peers in the network. If I understand these lines correctly, a nodes uses both random ...
0
votes
0answers
15 views

How are UUIDs assigned in ethereum

I am learning about blockchain and P2P in general. I know ethereum uses a distributed hash table for node lookup (kademlia) that maps UUIDs of nodes to their addresses. I am curious about how the ...
1
vote
1answer
25 views

How many nodes does Geth attempt to connect to by default?

Bitcoin Core tries to connect to 8 nodes by default. How many does Geth attempt to connect to for the eth protocol (normal network gossip)? Is there a set number in the first place?
1
vote
0answers
205 views

Why kademlia for p2p?

It seems pointless to me. I looked at the actual implementation. Kademila is used to discover peers, but there is no gained benefits. As when the node connects to peers, it simply just grab from the ...
0
votes
1answer
37 views

Can non-default port (not 30303) be a reason for the small number of peers?

I have two ethereum full nodes in Rosten network with non-default port (not 30303). One has net.peerCount = 3, the next one has net.peerCount = 0 and I can't sync it more then 24 hours. Also, I have ...
1
vote
1answer
330 views

How Are Transactions/Blocks Broadcasted

In Ethereum, when a node ‘broadcasts’ a transaction or block, what algorithm is used to broadcast that transaction or block to all the nodes? Also, how does this algorithm discover peers? What are ...
1
vote
1answer
1k views

How do I bind geth to a specific network interface?

Currently geth listens on all interfaces (0.0.0.0:30303). I need to bind the main port 30303 to only a specific network interface in the device, which would normally be accomplished by specifying a ...
1
vote
0answers
91 views

In which components can geth be split? [closed]

I'm interested in how does the process "geth" (in a full node) work. I mean in which components can the geth conceptually be split. In my understanding there should be at least (conceptually) three ...
1
vote
1answer
554 views

P2P file sharing nodes using blockchain?

I want to make a p2p file sharing program where there are hosts (nodes) and renters. Files are stored on the hosts' PCs. I could just have a central server providing the lookup information as to which ...
0
votes
1answer
72 views

How does it the geth ethereum platform to automatically connect to the nodes that are in the main network of Ethereum?

I have tried to make connection between several nodes in my private network, but I do it with a enode direction, but Ethereum network does it without knowing my enode, I want to know what kind of p2p ...
2
votes
0answers
24 views

Is an accurate clock really required to participate in the Ethereum network?

The Ethereum documentation states: https://github.com/ethereum/homestead-guide/blob/master/source/network/connecting-to-the-network.rst#static-nodes-trusted-nodes-and-boot-nodes "An accurate clock ...
0
votes
1answer
564 views

p2p connection library for Blockchain example

I would like to implement the missing p2p communication for this example repo. Does anyone know the best library I could use to implement communication between nodes? Moreover a tutorial or guide to ...