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
1 vote
0 answers
14 views

How can I add a peer to a light client?

I am hosting my own Geth Full-node which is setup to server light-clients and it has a static ip. When I start my own light-client, can I specify it to use my full-node instead of wasting time on ...
user avatar
0 votes
0 answers
11 views

Private Ethereum Node is unable to add peers

My genesis file (used same for both nodes) "config": { "chainId": 42, "homesteadBlock": 0, "eip150Block": 0, "eip150Hash": "...
user avatar
0 votes
0 answers
21 views

Why my Ethereum node have 0 peers?

I'm working on Ethereum indexer, try to connect mainnet using openethereum by rarible. it's connected to mainnet, listening command also returns true but it can't find any peers. I've already tried ...
user avatar
  • 1
0 votes
0 answers
18 views

Invalid difficulty while adding Peer on private newtwork (forked geth)

I had created a fork of geth v1.10.17-stable-174ce54e and changed source code of consensus.ethash.go and update function calcDifficulty to return static difficulty 10. I had built geth from this ...
user avatar
0 votes
0 answers
11 views

Adding a peer to a local ethereum node created with the --dev flag

I have created a node using the following two commands: geth --datadir --http --dev --http.corsdomain "https://remix.ethereum.org,http://remix.ethereum.org" --networkid 1234 -allow-...
user avatar
  • 1
1 vote
0 answers
21 views

In Ethereum private network public IP node and private IP node peer is possible?

In Ethereum private network one node in AWS EC2 instance with public IP and another is in local machine with private IP. Is is possible to peer this two node using boot node. Is it possible to peer? ...
user avatar
0 votes
0 answers
22 views

Ethereum private network not connected using Boot node

I am trying to build a private ethreum network in AWS instances with multiple public IP. In my EC2-1 I created a boot node using the following command. bootnode -genkey boot.key I run the boot node ...
user avatar
0 votes
0 answers
26 views

How the broadcasting happen in Ethereum network?

However, this question seems to be primitive but I still couldn't understand how transactions are routed in the peer-to-peer network of Ethereum in the way that if not all, at least most of the nodes (...
user avatar
0 votes
0 answers
20 views

Is there a field to let a custom msg like Satoshi did for Bitcoin in the genesis file? [duplicate]

For a "private" ethereum network (private as not ethereum mainnet) I would like to know if we can set custom fields in genesis file. Is just the hash of the file that matters and we can add ...
user avatar
  • 193
2 votes
1 answer
845 views

What's the ancient folder in Geth?

I'm new to the nodes world and i'm trying to setup my own with Geth on Windows. I was wondering what the /ancient folder does for the Node. Please correct if i'm wrong, but synthetically this is what ...
user avatar
0 votes
1 answer
68 views

How to add new peer to private quorum network?

I have created a network using raft consensus using quorum-wizard. I have created another node on a vm using this tutorial. I want to attach the single node to the network. for that I have followed ...
user avatar
  • 1
0 votes
0 answers
23 views

admin.addpeers() is too slow?

I am running a private network where nodes add and remove each other dynamically (it is a mobile robotics system, where robots become peers if they can communicate). The problem is: the first time a ...
user avatar
0 votes
0 answers
91 views

What does peer's inbound=false mean? Do they NEVER contribute information to my node if their inbound=false?

I found in the Geth Console, by command admin.peers For example: {'enode': 'enode://xxx@ip:p', 'id': 'xxx', 'network':{'localAddress': 'xxx', 'remoteAddress': 'xxx', 'inbound': False, 'trusted': False,...
user avatar
  • 111
0 votes
0 answers
59 views

Can I use my main node as a peer for my light node on geth?

On my mac that's on my local network located in the UK I am only capable of running a light node, however it's constantly looking for peers. Am I able to set up a full node on my windows server which ...
user avatar
1 vote
1 answer
42 views

Mining causes nodes to stop syncing on Besu

I am trying to test my private network by running multiple nodes at one time. I am using a config file that lists the boot node as well as the same genesis file. The boot node is on a linux server, ...
user avatar
1 vote
1 answer
128 views

Is there a importance of the connected peers?

I'm a pool dev, and I'm asking some questions about peers connected to node. What is the "best" number of connected peers ? I guess too less or too much connected is important ? Is there a &...
user avatar
1 vote
0 answers
34 views

admin.addPeer() takes a very long time to add the peer

I am running a private network where nodes add and remove each other dynamically. I have a problem where, the first time a node performs admin.addPeer() to a neighbor the peering is instant (as ...
user avatar
1 vote
0 answers
78 views

Experimental data on transaction propagation time

Does anyone have empirical data on how long does it take to propogate a transaction thought out most of blockchain? I know we can speculate on how long it would take (like here). But I am interested ...
user avatar
1 vote
0 answers
322 views

How do I find peers for a ropsten "light" node?

I'm using geth to spin a simple light node on ropsten. I'm running geth --ropsten --syncmode "light" console And it gets stuck after INFO [06-18|11:05:26.682] New local node record ...
user avatar
0 votes
0 answers
47 views

Geth on two machines on same network

I'm new to geth mining. I have 2 machines one of which is mining and second one is syncing. Each have it's own accounts. I just started the geth with "geth --datadir /blah/blah" --mine --...
user avatar
1 vote
0 answers
33 views

Peer Discovery in PoA with Containers with dynamic IPs

I have a small PoA network setup in Docker containers locally and, for the most part, have the bootnode and peer discovery pieces working. I'm running into trouble when my mining containers reload (...
user avatar
  • 111
0 votes
1 answer
206 views

rafthttp: failed to find member 1 in cluster 1000 -quorum -raft consensus

Firstly, I have created a node in quorum private blockchain and initiated genesis to create blockchain using geth and bootnode . Then, I run the node and it is running blockchain. Later, I tried to ...
user avatar
1 vote
0 answers
456 views

GETH has only few peers

I start my geth node with the command: geth --syncmode="light" --cache=4096 --http --http.port 8545 --http.corsdomain "*" --http.addr "0.0.0.0" --http.api "eth,web3,...
user avatar
1 vote
0 answers
296 views

How come AWS geth can't find peers?

I am setting up a geth light client on an AWS EC2 instance. After running geth, the client seems to not be able to discover any peers and remains idle. Running admin.peers in the console shows that ...
user avatar
1 vote
0 answers
41 views

Ethereum peer to peer load balancer

Is there any existing TCP load balancer product that is enode aware?
user avatar
  • 161
2 votes
1 answer
108 views

What is the network layer in which RLPx is used for peering in Ethereum

We had a question from our client as such they need to know in which Network layer is the RLPx protocol being used for the peering process I have got to know that peering process happens using RLPx ...
user avatar
1 vote
0 answers
252 views

Geth stops working after being fully synced

I have a Geth server in full mode. It was synced fully and I was using it normally for weeks. Today, I wanted to check the synchronization status, so I used geth attach command to enter to the Geth ...
user avatar
0 votes
1 answer
1k views

How to find how many nodes are connecting to Geth? [duplicate]

I've lunched a Geth server with default maxpeers which is 100 regarding to original documents. Now, I need to know how many nodes are connecting to my node? Is there any command to find it in Geth ...
user avatar
3 votes
1 answer
3k views

Can we improve the performance of Geth server by setting maxpeers to 0?

I've lunched a Geth server in full node. I think the performance of machine for syncing is not acceptable and needs much more time to be synced fully. I would like to know if I set maxpeers to a low ...
user avatar
3 votes
1 answer
3k views

Geth light keeps showing "Looking for peers"

My Geth server in light mode was running without any issue up to yesterday. But after that, I only receive these messages continuously! INFO [04-19|12:59:22.181] Looking for peers ...
user avatar
3 votes
1 answer
110 views

Best Discovery Protocol implementation

Do you guys know an easy Discovery Protocol implementation that is not deprecated and is powerful enough. I've checked some, but all of them are not suitable for my task (reasons below). Checked ...
user avatar
  • 173
0 votes
1 answer
186 views

Parity - flush or ban peers

I am running a Parity node and I have a very odd problem with transmitting some transactions. My node appears to be working fine, but when I attempt to get some basic information from the blockchain ...
user avatar
  • 101
3 votes
1 answer
497 views

Transaction propagation

I am wondering how transactions are propagaded in an Ethereum network. Assuming a Miner recieves an transaction, how does he deal with it. Does he immediatly send it to his peers, or does he collect ...
user avatar
  • 61
1 vote
0 answers
26 views

During fork, how tx that was sent from full node is been mined on the two blockchains?

My full node connected to 0,...,n peers and follows the longest chain after Istanbul fork - the miner's chain. General transaction flow: full-node get the tx, validates and broadcast to its peers. ...
user avatar
0 votes
1 answer
99 views

what will happen to transactions on smaller length chain when peered with longer length chain in private ethereum

what will happen to transactions on smaller length chain when peered with longer length chain in private ethereum? Below is the scenario Step 1: I have started Ethreum private chain in 2 different ...
user avatar
1 vote
1 answer
860 views

How to detect node(peer) in the network

Hi I need check is certain node is currently connected to the network(or current peer). How I can do it, and how to identificate node by ip address or how? P.S. via api or (sorry not go-geth client) ...
user avatar
1 vote
0 answers
63 views

The bootnode is not working properly

I am running a private ethereum network using geth. I started the bootnode first following the documentation and ran 5 different nodes on the same machine with same genesis file on same network with ...
user avatar
1 vote
0 answers
173 views

Geth SWARM no peers found!

Synced via Geth lightnode to latest block --cache=2048. (7200RPM HDD with 8GB RAM) Then created new geth account and did swarm --bzzaccount $BZZ I'm am able to only browse localhost, upload to local ...
user avatar
0 votes
2 answers
41 views

Private Chain Peering and Port Problem

Two AWS nodes on separate machines are trying to peer. They are listening and discovering at port 30303, when I open these ports for inbound connection they are still unable to peer; but, when I open ...
user avatar
  • 583
1 vote
2 answers
302 views

Can't add peers outside of local machine

I am able to spin up as many nodes on the same machine as I would like and have them peered in the same private blockchain network. But when I try to use addPeer() on a separate EC2 instance, I am ...
user avatar
  • 583
1 vote
0 answers
354 views

Problem with more than one light node peer connection

I have the following nodes running : FULL NODE and LIGHT SERVER geth --datadir node1 --port 30303 --rpc --rpcport 3003 --rpcaddr 127.0.0.1 --ipcpath node1/geth.ipc --rpcapi="db,eth,net,web3,personal"...
user avatar
1 vote
1 answer
401 views

Light node cannot connect peers

I am running a full node in a testnet and I am trying to connect a light node. I am using the following command: geth --datadir node1 --port 30313 --rpc --rpcport 3013 --rpcaddr 127.0.0.1 --ipcpath ...
user avatar
1 vote
0 answers
396 views

Geth local and remote port numbers [closed]

I've started three Ethereum nodes using Geth, and they happen to be on the same node. I've specified the ports (30401, 30402, 30403) and used the --nodiscover options. On each of the nodes, I've ...
user avatar
  • 111
1 vote
1 answer
330 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?
user avatar
1 vote
1 answer
253 views

Connect different machines with PoA

i want to connect two different machines in a ethereum private network! I did it before with a normal PoW-Consesus but with PoA created by puppeth i cant see some Peers when i try: admin.peers ...
user avatar
0 votes
1 answer
51 views

Problem peers in a cluster [SOLVED]

I have a cluster with 2 nodes and I would like to create a testnet by connecting them with geth. I am using the following command: Node1: geth --datadir node1 --port 30302 --rpc --rpcport 3003 --...
user avatar
1 vote
0 answers
82 views

Mainnet sync Broken

I am having a Mainnet on Azure VM which was syncing the network as expected, but mean while after adding Ropsten network syncing on the same VM simultaneously I'm facing problem with Mainnet sync ...
user avatar
1 vote
3 answers
219 views

Decentralized Access Control in permissioned Blockchain

For a business use case I am conceptualizing for my master's thesis, which is based on a Blockchain system, I need to understand impacts on decentralization/trustlessness. Many people argue that ...
user avatar
  • 333
1 vote
1 answer
73 views

Peering over a direct L2 link without IP addresses

As part of a big solution incorporating blockchain and data networking, I'd like to know how would 2 nodes establish a blockchain peering on their direct L2 Ethernet Link that has no IP addresses ...
user avatar
1 vote
0 answers
25 views

Techniques to count nodes [duplicate]

What are the different techniques to count nodes in ethereum? ethernodes.org has a count of nodes, how can we verify if that is true ? Are there any other techniques to do similar counting. Can you ...
user avatar