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
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 ...
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",...
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 ...
0
votes
2answers
324 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
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 ...
0
votes
1answer
300 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
395 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
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 ...
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 ...
1
vote
1answer
138 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 ...
1
vote
2answers
610 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 ...
0
votes
1answer
147 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
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
1answer
1k 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
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
2answers
148 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 ...
6
votes
1answer
1k 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 ...
2
votes
3answers
686 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
100 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
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 ...
6
votes
1answer
423 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
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.) ...
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
3answers
343 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 ...
3
votes
2answers
2k views

How do I connect two peers on different machines in a private network?

Just to preface this, I'm a little new to networking and Ethereum in general, but after looking through some tutorials, I decided that I would like to create a private network/blockchain for my own ...
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): ...
2
votes
1answer
1k views

How is Parity's “warp” sync related to Geth's “fast” sync?

A follow-up to this question. Geth's fast sync is one-shot. i.e. once we have synced some of the blockchain, we cannot use fast sync anymore. Is this the case for Parity? I ran it with warp, then ...
4
votes
1answer
4k views

How do nodes find peers without bootnodes?

I know once a peer is added, it also communicates its own peers. But how is the first peer added? Do the nodes (Geth & Parity) have built-in bootnodes? Or is there a scanning method of some kind? ...
6
votes
2answers
2k views

What's limiting my peer count?

I see on ethstats that some node are connected to 100, or even 500+ peers. I figured I'd try to increase my peer counts, e.g., in the hope of getting blocks and transactions broadcasted more widely ...
3
votes
1answer
933 views

“Active” vs. “Connected” Peers?

I was reading this thread: What do the 3 different peer numbers represent in Parity? And I realized that I don't understand the difference between active and connected regarding peers. I have a ...
7
votes
1answer
2k views

Understanding transaction broadcast better

I'm trying to understand better how the Ethereum protocol works, and in particular, how transactions are broadcasted across peers. I created a test transaction with very little gas price to test ...
2
votes
2answers
230 views

Is there a way to export/import peers?

Every time I stop and re-start Geth, I wait for it to discover peers. Can I instead export my list of currently connected peers and use them as bootnodes in my next start? I know this list will act as ...
4
votes
1answer
781 views

Cant get peers on rinkeby

After following the instructions on rinkeby for joining the network, I cannot seem to get more than a single peer that also wont get me up to date. Eventually my node kicks that peer off, and then I ...
3
votes
1answer
2k views

What do the 3 different peer numbers represent in Parity?

My peer numbers in Parity are quite consistently at 0/25/25. What does each one of those numbers represent?
16
votes
3answers
25k views

How to set up a Private network and connect peers in geth?

I am trying to setup a private network and trying to connect peers. Currently I'm trying it on my laptop and desktop (both of them are connected to different internet). I run the below command in ...
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
3answers
643 views

Private Network Handshaking With External Pools

I am trying to run a private network and I'm doing this by providing a bootnode for all my nodes. Every now and then I notice on my nodes that I will receive peers from outside the network. Upon ...
2
votes
1answer
138 views

Sharing enodeURLs on a private blockchain

Given a private network in which each computer knows at least one IP address where there is a geth, parity or pyEth node/peer, what is a good way of sharing enode IDs? As far as I know, there is no ...
3
votes
1answer
398 views

How do I pass enode URI's to --reserved-peers?

So I know I have to type in terminal: parity -j --reserved-peers But I do not know what to type after --reserved-peers, The actual peers I want to add are listed here. But I do not know if I am ...
1
vote
1answer
152 views

how blockchain-cloud companies like Storj prevent changing files by farmers? [closed]

How does companies like Storj handle the possible situation of farmers who can change the files that they store? Say I upload to the blockchain cloud network the file "cat.jpg". Now a contract added ...
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 ...
3
votes
1answer
1k views

How can I find ETC nodes (to pass their enode URI to --reserved-peers) because the classic chain no longer syncs through tor?

I was syncing the ETC chain on parity through tor. Everything worked fine. I got to block 3,000,001. Everything stopped, I realized there was a hardfork. I updated the software (ETH worked fine), but ...
6
votes
1answer
253 views

What are the challenges in creating a peer2peer coin flipping contract in ethereum?

I wish to make a contract that will allow two (eventually possibly more) people to gamble on essentially flipping a coin using ethereum. One person will not be "gambling against the contract" but ...
4
votes
1answer
1k views

Parity and Geth node as peers

I'm running an ethereum (with geth) and a parity instance on 2 nodes, using similar genesis files for both. I've also specified the geth node's enode ID as bootnode for parity. Yet the 2 nodes are ...
14
votes
3answers
5k views

What's the difference between node and peer?

I'm confused between the two objects. As I know, peer is the object or node. But when we create an Ethereum network, at each node, I have to add a peer. So it means there is a difference between ...
3
votes
1answer
458 views

ipfs {ls||cat||get} <hash> halts, while gateway.ipfs shows the file right away

Please note that I am sorry if this question is based on ipfs, where I am using integrated to Ethereum but in a very basic manner. In this following example: a client stores a ipfs hash value inside ...
5
votes
1answer
396 views

Where can I find the DHT in my system?

Information about peers is stored in a Kademlia-like Distributed Hash Table in my node. Where is it stored? I know that admin.peers command gives me a list of nodes but I want to see the actual ...
0
votes
1answer
648 views

How to add a node on different system as a peer in your private blockchain network?

I have created 2 nodes on different systems. I created accounts and was able to transfer ethers across accounts in the same node. Now i want to connect the 2 nodes on different system. I have used ...