Questions tagged [peers]

Questions related to other nodes in the Ethereum network, such as finding, connecting, and disconnecting from them.

Filter by
Sorted by
Tagged with
21
votes
2answers
6k views

What are the peer discovery mechanisms involved in Ethereum?

There are several implementations of Ethereum clients. How do these clients find each other? What are the algorithms and peer-to-peer protocols involved in this peer discovery process?
3
votes
1answer
2k views

How can I create a list of peers from my syncing geth node to manually paste into my non-syncing geth node using the admin.addPeer() command?

I have an Ethereum node that is not syncing to the Ethereum network. It is possible that there are some issues with the bootnodes - refer to geth does not sync out of the box . How can I easily ...
3
votes
1answer
2k views

What do the 3 different peer numbers represent in Parity?

My peer numbers in Parity are quite consistently at 0/25/25. What does each one of those numbers represent?
8
votes
2answers
2k views

Automatic peer discovery in a private blockchain

Is there a way to enable automatic peer discovery in a private network. As far as I know, the only way to connect to peers while operating on a private blockchain is to add them through addPeer() ...
15
votes
3answers
7k views

Why doesn't my Ethereum node have any peers?

I'm running an Ethereum node using geth and it can't find any peers. I've already tried the time sync command suggested on the wiki. My bandwidth is good.
0
votes
2answers
361 views

What would be potential problems with building “private” Ethereum network on AWS?

Suppose I have two EC2 instances on AWS that are running geth nodes. They have the same genesis block and are in synchronization because peering is setup with open port 30303 (by default is for ...
16
votes
3answers
26k views

How to set up a Private network and connect peers in geth?

I am trying to setup a private network and trying to connect peers. Currently I'm trying it on my laptop and desktop (both of them are connected to different internet). I run the below command in ...
11
votes
7answers
13k views

How to add peers on a private network?

I have created a private blockchain on two different machines. Now I want these nodes to connect with each other as "peers". I am using geth console. I have tried the following command: > admin....
3
votes
1answer
944 views

“Active” vs. “Connected” Peers?

I was reading this thread: What do the 3 different peer numbers represent in Parity? And I realized that I don't understand the difference between active and connected regarding peers. I have a ...
2
votes
1answer
1k views

Optimizing Parity Peer Count

I would like to approx the max amounts of peers my box can handle and whether this max could be too much. Therefore: a) What is the main machine resource consumed by more peers besides network? CPU? ...
2
votes
3answers
657 views

Private Network Handshaking With External Pools

I am trying to run a private network and I'm doing this by providing a bootnode for all my nodes. Every now and then I notice on my nodes that I will receive peers from outside the network. Upon ...
7
votes
1answer
2k views

Understanding transaction broadcast better

I'm trying to understand better how the Ethereum protocol works, and in particular, how transactions are broadcasted across peers. I created a test transaction with very little gas price to test what ...
6
votes
3answers
635 views

Authentication of Ethereum Node on a private block chain

Problem: In a private block chain network, how does setting up a new node authenticate itself into the network. Is there anything which prevents one node from getting to the network and download data ...
15
votes
5answers
2k views

How to prevent being blacklisted for running an ethereum client?

I'm running a dedicated server at one of the biggest hosters in Germany. This server serves the network with an Ethereum supernode, running parity 1.1.0 in archive pruning mode and allows up to 1024 ...
4
votes
1answer
1k views

How do I set up 2 private mining nodes on the same computer?

I am trying to setup a private ethereum network. I started two nodes in the same machine (Windows 7) in two different ports. I am unable to add one node as the peer of the other node. What I have ...
6
votes
2answers
2k views

What's limiting my peer count?

I see on ethstats that some node are connected to 100, or even 500+ peers. I figured I'd try to increase my peer counts, e.g., in the hope of getting blocks and transactions broadcasted more widely ...
5
votes
1answer
8k views

How to use static-nodes.json / trusted-nodes.json to prevent connection loss on private network?

I have 2 nodes running on private network under the same network id connecting through sudo geth --identity "testpython manage.py runserver 0.0.0.0:8001" --networkid 1100 --mine --nodiscover --rpc -...
3
votes
2answers
2k views

How do I connect two peers on different machines in a private network?

Just to preface this, I'm a little new to networking and Ethereum in general, but after looking through some tutorials, I decided that I would like to create a private network/blockchain for my own ...
1
vote
1answer
1k views

Not able to add peers on geth private testnet

I have built geth from source code. Everything is fine but, when I am running a different node on same system and try to add a peer to the first one with the admin.addPeer method, the method is ...
6
votes
1answer
685 views

peers keep connects and disconnects into private Ethereum blockchain

I have two servers that are connected into local private ethereum blockchain successfully and they do mining as well. After few minutes one of them disconnects and after that it re-connects again and ...
6
votes
1answer
451 views

Ethereum selection of peer nodes and centralization

How does Ethereum select peer nodes when it starts ? I guess there should be a set of nodes hardcoded in geth that it tries to connect to and then gets list of other nodes from them. How many of those ...
3
votes
1answer
581 views

Connecting two nodes one on rasberry pi and other on Ethereum

The rasberry pi and my laptop are using same network From my laptop admin.addPeer("enode from above rasberrypi") enode://...
3
votes
1answer
1k views

How can I find ETC nodes (to pass their enode URI to --reserved-peers) because the classic chain no longer syncs through tor?

I was syncing the ETC chain on parity through tor. Everything worked fine. I got to block 3,000,001. Everything stopped, I realized there was a hardfork. I updated the software (ETH worked fine), but ...
2
votes
0answers
362 views

Unable to synchronise with a remote peer

I am running a private network with two geth instances one on my machine and other on an AWS server using the same Genesis file. I am also using a networkid flag to differentiate my private network. ...
2
votes
1answer
1k views

How is Parity's “warp” sync related to Geth's “fast” sync?

A follow-up to this question. Geth's fast sync is one-shot. i.e. once we have synced some of the blockchain, we cannot use fast sync anymore. Is this the case for Parity? I ran it with warp, then ...
0
votes
1answer
339 views

How to add peers to a private blockchain network without using IP address?

I have created a private blockchain network and added peers to that network using the admin.addPeers() command. But the problem is, in that method I have to give the local IP address of the system ...