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
0
votes
0answers
16 views

Check Health of Ethereum Peer

I'm adding custom peers to my Ethereum GETH node: admin.addPeer('enode://...
0
votes
0answers
23 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,...
0
votes
0answers
14 views

Any way I can see what information a specific peer is sending (or exchanging ) to my node in geth?

I'm trying to run some demo script at devp2p protocol in ethereumjs (https://github.com/ethereumjs/ethereumjs-devp2p/blob/master/examples/peer-communication.ts), but this example is running in ...
0
votes
0answers
17 views

How to add ethereum node to already existing blockchain without knowing genesis file?

Target : i want to add new node to already running blockchain. Correct, if i am wrong for adding node to network. two node's should have same genesis block. if genesis block have different values then ...
0
votes
0answers
53 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 ...
0
votes
0answers
12 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 ...
1
vote
0answers
18 views

Ethereum peer to peer load balancer

Is there any existing TCP load balancer product that is enode aware?
0
votes
0answers
19 views

Transactions from connected peer on private geth network seldom get mined

I have two clients running on a private network, one mining and one not mining. When I send transactions from the mining node, they get mined right away. But when I send transactions from the non-...
2
votes
1answer
46 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 ...
0
votes
0answers
18 views

What is good peer etiquette for being a light node?

I just started dabbling in running my own light node and it seems like the biggest challenge is finding peers. rfikki on GitHub posts these peer lists (https://gist.github.com/rfikki/...
1
vote
0answers
49 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 ...
0
votes
1answer
182 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 ...
2
votes
1answer
564 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 ...
0
votes
0answers
15 views

Whats prevents malicious node to spam the network with invalid transactions or invalid blocks?

Every peer of the malicious node will validate the transactions and or the block to confirm it is invalid. They won`t propagate it to the network but it still consumes bandwith and computing power. So ...
1
vote
1answer
630 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 ...
0
votes
0answers
24 views

Will there be support for admin.removePeer()?

Newest geth version has an admin.removePeer('') function, which I use in my IoT application. How easy is it to fork off web3.py and create a w3.admin.removePeer function? Can someone point me in the ...
0
votes
0answers
31 views

Ethereum Peer Removal

Current Geth version supports a removePeer function, which is great. I am working on a IoT application proof of concept using a local ethereum network, and I need to dynamically add and remove peers ...
3
votes
1answer
53 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 ...
0
votes
1answer
103 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 ...
0
votes
1answer
105 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 ...
1
vote
0answers
24 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. ...
0
votes
1answer
59 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 ...
1
vote
1answer
289 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) ...
1
vote
0answers
47 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 ...
1
vote
0answers
153 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 ...
0
votes
2answers
34 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 ...
1
vote
2answers
112 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 ...
1
vote
0answers
269 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"...
1
vote
1answer
268 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 ...
1
vote
0answers
179 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 ...
1
vote
1answer
86 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
1answer
206 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 ...
0
votes
1answer
36 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 --...
1
vote
0answers
76 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 ...
1
vote
2answers
183 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 ...
1
vote
1answer
51 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 ...
1
vote
0answers
22 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 ...
0
votes
1answer
149 views

Configuring geth so that it can only connect to my private local blockchain?

Basically I would like to know how to configure geth so that it can only connect to my private ethereum blockchain that is hosted on another machine? Many thanks in advance!
3
votes
1answer
84 views

What has changed with admin.getPeer?

admin.getPeer in the past returned something like this: admin.addPeer("enode://...
2
votes
1answer
1k views

admin.addPeer returns true while admin.peers is blank[]

I have initialized genesis file in my system, this is my genesis.json file- { "alloc": { "790a2dc4ea3aa44eb27cbb430cf4e1cff989706790": {"balance": "9999999999999999999999999999999999"} }, ...
1
vote
1answer
171 views

Does each node dynamically connects to its connected nodes' peers?

I want to give example from private Ethereum network which has 5 nodes, but we can generalize it for much larger network that has thousands of nodes. On the figure double arrows represents connected ...
1
vote
1answer
54 views

Can a new node join the chain without bootnodes

I added a brand new node into the private network, without bootnodes. Over time this node DIDN'T seem to add any peers to talk with. Is that normal and expected?
5
votes
1answer
342 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
63 views

Can someone explain in short how the peering system works?

Can someone explain in short how the peering system works: How peers are initially found in a new installation? How peers are added and removed? If/how peers are subject to quality controls?
1
vote
1answer
431 views

Locally submitted transactions to the light node gets lost if the node is restarted

What happens to the transactions submitted to light node in the following scenarios? 1) Light node does not have a network connection with its peers.I could find that the transactions are submitted ...
1
vote
2answers
64 views

How do other nodes handle the accounts of a deleted node?

In Ethereum Blockchain, the accounts created on one node stay with it and are not replicated into other nodes. If that node is deleted and hence is not a part of that network, then what happen to the ...
2
votes
1answer
1k views

Where to place static-nodes.json for geth

I am setting up a private Ethereum network using puppeth whic creates the sealer nodes on various servers. To aid peer discovery, it has been suggested that we include a list of enodes in the file ...
1
vote
1answer
79 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 ...
0
votes
1answer
354 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 ...
1
vote
0answers
26 views

What use case do peers have on test net?

Hi I am new to Ethereum (and Blockchain) and am trying to set up testnet using Geth to learn about about the intricacies of Blockchain. So this might be a trivial question: A lot of tutorials out ...