Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [peers]

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

3
votes
1answer
24 views

What has changed with admin.getPeer?

admin.getPeer in the past returned something like this: admin.addPeer("enode://...
0
votes
1answer
37 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
32 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
19 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?
1
vote
0answers
34 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
20 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
76 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 ...
0
votes
2answers
34 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 ...
0
votes
0answers
56 views

Refresh Peers from `static-nodes.json` Without Restarting geth

When running geth on a private Ethereum network, is it possible to edit the list of enodes in static-nodes.json and make geth pickup any new enodes in the new version of static-nodes.json without ...
1
vote
1answer
113 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 ...
0
votes
1answer
20 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
86 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
18 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 ...
0
votes
0answers
65 views

How many peers can an Ethereum node have?

Is there any maximum limit on the number of peers an Ethereum node can have? Does this vary for private and public networks? In case of Bitcoin, is there a limit?
1
vote
2answers
109 views

How does ethereum bypass the NAT

I wonder, since Ethereum is based on a decentralized p2p network, how does it get through the NAT Firewall? There is no server Ethereum can connect on, so there has to be a way for nodes to accept ...
2
votes
3answers
136 views

Is there a way to make geth only allow connections from specified nodes?

I'm setting up a private network with 10 geth nodes for my organization's own use, however I don't want outside nodes to accidentally (or intentionally) connect to our geth nodes. The nodes are hosted ...
0
votes
0answers
36 views

Peer node is not able to access the deployed token contract on local private chain!

I have created two nodes (Node A and Node B) using same genesis block on two separate systems on same local network. I'am able to add Node B as a peer of Node A by its enode url and can mine from both ...
1
vote
0answers
112 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 "...
2
votes
0answers
26 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 ...
0
votes
1answer
18 views

What if I close a wallet program in midst of a transaction?

Suppose I start a transaction in my wallet program (such as Mist or MetaMask). Also suppose the transaction is delayed (for example because of being connected to zero peers) and I exit from the ...
0
votes
0answers
35 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
29 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
17 views

BIP 39 Key Identify Peer nodes

Is it possible to use BIP39 key (generated through mnemonics) to identify peer nodes in libp2p?
0
votes
0answers
57 views

Peering with boot node shows random IP addresses

I am setting up my private network on AWS where all nodes are on public network. bootnode --genkey=bootnode.key bootnode --nodekey=bootnode.key INFO [03-21|22:43:51] UDP listener up ...
0
votes
1answer
101 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",...
0
votes
0answers
71 views

How many peers to confirm transaction in Ethereum testnet?

When I do my transaction in Rinkeby Ethereum testnet, waiting for 12 peers to confirm my transaction. I wonder why and how 12 peers confirm my transaction.
2
votes
0answers
65 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 ...
0
votes
1answer
97 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 ...
2
votes
0answers
65 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 ...
0
votes
1answer
154 views

Why is the value of “net.peerCount” keep changing, though, I've ONLY 2 nodes in my Local Private Ethereum Network?

I'm currently setting up Local Private Ethereum Network using Puppeth. And followed the steps provided in tutorial: Provisioning a Local Private Ethereum Network with Puppeth . As per the above ...
1
vote
3answers
219 views

How to architect scalable ethereum blockchain network?

I have set up the private ethereum block by doing the following steps. 1- Initialised same genesis.json on 2 systems. 2- Started geth console by using same network id. 3- Added these two systems (...
1
vote
0answers
30 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 ...
2
votes
0answers
95 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 ...
1
vote
1answer
77 views

What is the best or recommended method for updating geth to include all my custom blockchain parameters?

I have a blockchain based on Ethereum, I will call it my testnet for now and I have a few nodes running and mining. All seems well so far, I am currently starting geth with several parameters If I ...
0
votes
1answer
341 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
240 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 ...
0
votes
1answer
103 views

Does ethereum or blockchain blocks in general use any specific format to store data on local instant?

For example if I store a text file locally it will have .txt extension similarly .jpg in case of images or .mp4 in case of video, so what it would be in case of block record. Can files be located on ...
2
votes
0answers
404 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 ...
1
vote
1answer
844 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
0answers
254 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
2answers
126 views

Full Synchronisation with Geth Repeated Tree Node Error

I am doing a university project on the functionality of the EVM. I need to use debug.traceTransaction() function which requires a fully synchronized node. I have tried to sync Geth on a university VM ...
5
votes
1answer
876 views

Only a few peers

Is it normal to be connected only with a few peers (1 to 4, more often 1 than 4)? I think with such a low number of peers, there are security issues. If it is not, is there any way to increase this ...
0
votes
0answers
195 views

Geth - already created contracts and peers are lost from the node

This is my first deployed blockchain implementation and while, initial deployment is successful, I am facing uncertainity in the environment. I have two nodes running on two seperate AWS instances ...
2
votes
3answers
572 views

How can Ethereum be used to help a Peer to peer car rental company [closed]

I'm a university student and I had an idea for a Peer to peer car rental service. I have been doing some research into blockchain and I found Ethereum. My knowledge is extremely limited (keep in mind ...
1
vote
2answers
67 views

Unable to connect two private nodes on different systems

I am using the same logic for adding peers but admin.peers is just showing [] on GETH console. I have already make sure that I am connecting via same --networkid. The command I am using is admin....
1
vote
0answers
92 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 ...
5
votes
1answer
261 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 ...
0
votes
0answers
86 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.) ...
1
vote
0answers
115 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
3answers
190 views

If a contract is deployed in one node will it be available to all the peers?

Let's say peer A makes a contract and deployed it to the private network.Peer B joins the network.Will it be available to peer B ?How the deployed contract will get reflected to peer B.It will be ...