Questions tagged [peers]

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

38 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
299 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 ...
3
votes
0answers
113 views

What would cause nodes on a private blockchain to gradually lose connectivity?

I have a private blockchain with 6 nodes, and a total of three miners. When I initialize the blockchain everything looks great and the nodes find each other starting with the bootnodes. After about ...
2
votes
0answers
31 views

Direct connection to some peer

I have pub key of some peer (received it in block's header, it is need for some logic). I need make connection to it to send request. If peers know each other it is not a problem. I catch it like ...
2
votes
0answers
113 views

Networking - p2p connections through router

This isn't unique to Ethereum per se, but I'm curious how p2p clients (e.g. geth) allow peers to receive messages from the outside world with default router configurations. I have tried running the ...
2
votes
0answers
91 views

Private Network - Ethereum Peers not connecting to LXC Containers nodes

We have 4 Computers with LXC containers installed. We have 4 geth instances running on host PCs and 4 geth instances running on LXC containers. My issue is that the nodes on host PCs and LXC ...
2
votes
0answers
593 views

List of network peers in Parity

I'm exploring option to add parity peers, however my my peers are in a different networks. Should I still use internal IPs that are visible when starting a parity? I've loaded reserved peers and used ...
2
votes
0answers
330 views

mobile geth not connecting to peers

I want to have a mobile geth implementation on my android device and started with this code: https://github.com/ethereum/go-ethereum/wiki/Mobile-Clients:-Libraries-and-Inproc-Ethereum-Nodes . Then i ...
2
votes
0answers
361 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
0answers
340 views

Unable to get value of pending transactions on one peer on another peer

I have two nodes (A and B) running as peers on a private network . How can i check if there are pending transactions on one node (suppose Node A ) from node B. Node A has rpc enabled and rpcport is ...
1
vote
0answers
17 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 ...
1
vote
0answers
23 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. ...
1
vote
0answers
39 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
138 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 ...
1
vote
0answers
192 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
0answers
70 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
1answer
42 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
1answer
341 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
0answers
24 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 ...
1
vote
0answers
219 views

How to add Peers in Quorum Single Member Blockchain Network in Azure?

I'm using the QSMBN(Quorum Single Member Blockchain Network) provided by Azure, and I'm trying to connect one external node to the quorum network, but when I try to add peer displays this message "...
1
vote
1answer
205 views

web3.admin.addpeers return BigNumber Error

When I using ethconsole to deal with a private chain. I hope it can connects to another node which I get the node information. But the command "web3.admin.addPeer("enode://...@192.168.1.29:30304",...
1
vote
0answers
34 views

Do peers rotate?

Once you have 25 peers, do you keep those same 25 peers (assuming the machines stay up)? I'm having a problem (discussed other places) that would be more easily explained if part of the peer ...
1
vote
2answers
609 views

How to connect peers which are on different computers in geth on private network?

I am trying to setup a private network and trying to connect peers. Currently I'm trying it on my laptop and virtual machine(VM) runing on the same laptop (both of them are connected to internet). I ...
1
vote
0answers
298 views

Build secure private ethereum blockchain with geth!

I have read on the StackExchange how to build a private blockchain in LAN with private IPs and geth clients. As I understood to communicate in lan the geth peers need for P2P communication the form ...
1
vote
0answers
116 views

How to test forked block on local machine?

Read this article How can I reliably induce a blockchain fork for testing purposes?. Example from that thread is outdated, and need to be refreshed. First my step is create initial chaindata from ...
1
vote
0answers
179 views

I can't addpeer in a private chain, why?

There are 2 nodes(10.0.50.90, 10.0.50.91), and they can ping each other well. There are geth in every node and their genesis json file is same.Then I run geth in evey node. In 90's geth console: > ...
1
vote
0answers
28 views

Is there a way to see all incomming connections?

I am running geth and net.listening shows true, but admin.peers only show connections to other peers for block synchronization, is there a way to list all incoming connections, which are synchronizing ...
1
vote
0answers
187 views

How does Expanse handle peer discovery?

I am seeing a lot of posts that suggest that peer discovery isn't possible on private networks. Here is one: Automatic peer discovery in a private blockchain And another (less clear on this point): ...
0
votes
0answers
9 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/...
0
votes
0answers
11 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 ...
0
votes
1answer
37 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
13 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
15 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 ...
0
votes
1answer
41 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 ...
0
votes
0answers
21 views

how to increase peer count when inboud 30303 port has been forbidden by firewall?

to protect my geth node1, I need to let it behind a firewall which forbidden inboud of 30303 port. In the meanwhile, I start another node2 out of the firewall, and I add node2 to node1's peer list. ...
0
votes
0answers
84 views

Where can I get list of peers to add to my geth node

My geth is running with peerCount=3 I want to add more peers to the node. I know using admin.peers() I can add but,from where I can get the list of responding/ good peers? Help is appreciated. ...
0
votes
0answers
47 views

When to use the slow Ethereum network?

The Ethereum network works very slowly. I often am connected to 0 peers. So what are (GMT) hours when it works the best, for accomplishing a transaction? Also, which week days it work the best? ...
0
votes
1answer
33 views

What information is available if you set up a node?

I'm doing a project on blockchain technology where we are supposed to do some kind of measurement and evaluate the result. I've heard that you can set up a Ethereum node and get some kind of ...
0
votes
0answers
96 views

Bug? Config error? geth error: admin.addPeer is unsuccessful

I am trying to get a few nodes to talk to each other over a private network - two Parity and then add in one geth. Two of them talk just fine, but their enodes are in the chain spec file (Parity.) ...