Questions tagged [p2p]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
82 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" ...
0
votes
0answers
9 views

If mining is on, on an Ethereum node on EC2 AWS instance, it is unable to connnect to peers on Azure

I am runing a private ethereum network with nodes on AWS and Azure. AWS EC2 - Mining Node & Azure - Peering node When the mining is on, in AWS node, the peering is lost intermitently, with Azure ...
0
votes
0answers
30 views

where to host my Java web app to fully decentralised?

I need a idea to host my webapp to be on some secure distributed network. my client doesn't want to deployed on aws or gcp. he wants it to be on decentralised network p2p. Your suggestion and advice ...
0
votes
0answers
10 views

How can two light nodes on a chain communicate individually?

Let's say I have two light nodes on a chain and I want them to exchange data ~3KB without appending anything to the chain. They are not on local network. How can I achieve it?
1
vote
0answers
17 views

Implement custom Ethereum client that asks Nodes for their connected neighbours

I'm new to Ethereum so please pardon my lack of knowledge on the field. For that reason my question might be too broad as well. I'm working on a project that visualises a topology graph of the whole ...
2
votes
2answers
115 views

How to retrieve IP address and Port from Ethereum Node Records (ENR)?

Here are four Ethereum Node Records (as per EIP-778): - "enr:-Iu4QGuiaVXBEoi4kcLbsoPYX7GTK9ExOODTuqYBp9CyHN_PSDtnLMCIL91ydxUDRPZ-jem-...
6
votes
1answer
117 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 ...
1
vote
1answer
51 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?
5
votes
1answer
321 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 ...
1
vote
1answer
70 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
582 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 ...
3
votes
2answers
2k 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
98 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
619 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
83 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
29 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
613 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 ...