Questions tagged [node-discovery]

The tag has no usage guidance.

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
2answers
1k views

Geth: bootnode tool and --nodiscover

In Geth, if I use the --nodiscover option, my node won't be discovered by default from other nodes. Conversely, with bootnode tool implemented in geth, first I have to generate a key, then I have to ...
3
votes
0answers
40 views

How to get node info by 30303 port?

I need to create something like ethernodes.org or etherscan.io/nodetracker. First of all, I tried to implement Discovery Protocol by own, but after couple of minutes I realized that specs are too hard ...
3
votes
0answers
171 views

Is it necessary to have the UDP port open for an Ethereum private net?

An Ethereum node requires both TCP (listener) and UDP (discovery) port (usually 30303) open and reachable by other nodes. My question: is it possible to run a private network with my node only ...
3
votes
0answers
115 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 ...
3
votes
1answer
1k 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 ...
2
votes
0answers
101 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 ...
1
vote
0answers
8 views

Is it possible to determine an Ethereum enode ID if you know the nodes IP/Port?

I have the IP/Port of a public node that I would like my node to peer with, but I don't know the enode ID. Is it possible to connect using just the IP/Port or discover the enode ID using this ...
1
vote
0answers
51 views

RPC command to list current nodes

I am using Parity and I want to see a list of the IP addresses of every node my node is talking to. I am sure I have done this before but I can't remember how. Please share the curl/RPC command to ...
1
vote
0answers
137 views

Node connection timeout function?

I am trying multiple avenues to find out why my nodes in a private blockchain are losing connectivity over the course of about 18 hours. So this question is: Is there a part of the discovery ...
1
vote
0answers
30 views

Do nodes lose connectivity if no network activity is happening?

I have a private blockchain that seems to work great, but over 18 hours, the nodes stop talking to each other, no matter how many I start with. So they go from 25/25 connections to 0. Something I ...
1
vote
0answers
36 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
0answers
124 views

Debugging failed peer discovery?

I have a small private dev network. There are three (Parity) nodes. One of them shows two peers. The other two each show one peer. One of the nodes showing only one peer is listed in the genesis ...
1
vote
0answers
325 views

Why nodes are not discovering each other in my private network?

I have created a private network with my own Genesis file. My private network has totally 4 systems(1 bootnode and other 3 are nodes). I am running the bootnode in v4 using these two commands. ...
1
vote
0answers
193 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
1answer
21 views

Private Blockchain Node Migration

I had a private ethereum blockchain with 1 node running in production. I accidentally ran a geth init genesis.json --datadir . command in my main node. Did this command overwrite the data directory ...