106 votes
Accepted

What happens when a transaction nonce is too high?

Summary Transactions with too low a nonce get immediately rejected. Transactions with too high a nonce get placed in the transaction pool queue. If transactions with nonces that fill the gap between ...
BokkyPooBah's user avatar
  • 40.3k
67 votes
Accepted

Which TCP and UDP ports are required to run an Ethereum client?

Ethereum clients use a listener (TCP) port and a discovery (UDP) port, both on 30303 by default. If you need to run JSON-RPC, you'll also need TCP port 8545. Note that JSON-RPC port should not be ...
linagee's user avatar
  • 6,138
35 votes

Why is my node synchronization stuck/extremely slow at block 2,306,843?

Update Mar 5 2017 The state cleaning was announced by Vitalik Buterin in the tweet State clearing 100% complete dated 23:07 Nov 29 2016. This time corresponds to block 2,718,436. The Clearing ...
BokkyPooBah's user avatar
  • 40.3k
27 votes
Accepted

How do Ethereum mining nodes maintain a time consistent with the network?

Ethereum nodes (regardless of mining) need to have an accurate time, otherwise they will not be able to connect to peers and to the network (https://github.com/ethereum/go-ethereum/wiki/Connecting-to-...
eth's user avatar
  • 85.7k
22 votes

What is an Enode ID in Ethereum?

An enode is a way to describe an Ethereum node in the form of a URI. The hexadecimal node ID is encoded in the username portion of the URL, separated from the host by an @ sign. The hostname can only ...
Hudson Jameson's user avatar
19 votes
Accepted

How to ask the metamask user to switch its network?

Here is an example how to make your website to ask the users so they can add and switch to the Matic network: window.ethereum.request({ method: "wallet_addEthereumChain", params: [{ ...
Miroslav Nedelchev's user avatar
14 votes
Accepted

What is an Enode ID in Ethereum?

Expanding on Hudson Jameson's answer: "The hexadecimal node ID is encoded in the username portion of the URL" The username portion is a 512-bit public key that is used to verify communication came ...
linagee's user avatar
  • 6,138
14 votes
Accepted

How fast should be an internet connection to mine ETH?

How fast should be an internet connection to mine ETH? I'm currently on a ~ 10 Mbits/s download and 1 Mbits/s upload line and it is fast enough to mine the Ethereum blockchain while performing my ...
BokkyPooBah's user avatar
  • 40.3k
13 votes
Accepted

At any given time, how many nodes is my node connected to? As the number of nodes in the network increases, will communication between them be faster?

You can see the connected peers by typing admin.peers in the Geth console. The maximum number of peers is set using the -maxpeers n flag in Geth. There is a discovery process based on Kademlia for ...
JackWinters's user avatar
  • 3,413
12 votes
Accepted

How to prevent being blacklisted for running an ethereum client?

You can tell parity to avoid scanning private IPs by simply running: parity --allow-ips public You can even fine-tune parity to do less aggressive peering: parity --allow-ips public --no-discovery -...
q9f's user avatar
  • 32.9k
9 votes

How do Ethereum mining nodes maintain a time consistent with the network?

Here's the code I've found so far that deals with syncing time. It uses pool.ntp.org:123 as the time syncing source. From Go Ethereum - p2p/discover/ntp.go, lines 48-65: func checkClockDrift() { ...
BokkyPooBah's user avatar
  • 40.3k
8 votes

How many nodes are there on the Ethereum network?

There are two tools which track running ether nodes available: The etherchain node scanner. The ethernodes scanner.
q9f's user avatar
  • 32.9k
8 votes
Accepted

Is there a point to hide Ethereum nodes with TOR?

If you want to conceal your node's network address as the source of your transaction, and thereby preventing others to associate your network address with your Ethereum address, then you might want to ...
Alexey Akhunov's user avatar
8 votes
Accepted

Peer discovery not working on private network

Each of the geth instances will need to discover at least one other instance with a connection to the rest of your private network. You could nominate one (or more) of your geth instances as a ...
BokkyPooBah's user avatar
  • 40.3k
8 votes

Why is my node synchronization stuck/extremely slow at block 2,306,843?

On a practical note, just remove your blockchain and synchronize again. The blockchain bloat has been removed already. Stop your node and/or close your Ethereum wallet. Remove the chaindata. for ...
q9f's user avatar
  • 32.9k
7 votes

How fast should be an internet connection to mine ETH?

Mining itself doesn't use that much bandwidth, however syncing the block chain does. For syncing the blockchain using the --fast option it used about 12Gb(Initial sync) and about 100 mb the past 2 ...
Jeth's user avatar
  • 312
7 votes
Accepted

How to connect NodeJS to the Ethereum network?

Ethereum offers a Web3 JavaScript Ðapp API To make your Ðapp work on Ethereum, you can use the web3 object provided by the web3.js library. Under the hood it communicates to a local node through ...
niksmac's user avatar
  • 9,673
7 votes

Losing connection between nodes on private network

Summary I would have expected that the bootnodes parameters would allow node 2 and node 3 to find node 1, node 2 and node 3 and then for all the nodes to retain their peer connections. From Henrique ...
BokkyPooBah's user avatar
  • 40.3k
7 votes
Accepted

Ethereum fork of OpenBazaar

Keep an eye on Safemarket.io: it is already deployed live on the Frontier network. See getting started and releases. Open source at https://github.com/safemarket Subreddit at https://reddit.com/r/...
eth's user avatar
  • 85.7k
7 votes
Accepted

Is it possible to prevent nodes from mining on a private blockchain?

What you are searching for is a permissioned blockchain. Default node clients like geth, eth or pyehtereum does not implement this kind of functionality, so you need something more complex that ...
Giuseppe Bertone's user avatar
7 votes

How to prevent being blacklisted for running an ethereum client?

I had a similar problem like you. Hetzner noticed that the abuse warning was triggered because the host tried to send tpc/udp packets to private network addresses (RFC1918). In order to avoid getting ...
ivicaa's user avatar
  • 7,519
7 votes
Accepted

Node's IP exposed

yes your node will be exposed to the public you could check it in https://www.ethernodes.org/network/1/nodes you will find your public IP. hackers indeed could target your machine (Dos) and scan its ...
Badr Bellaj's user avatar
  • 18.8k
6 votes

How many nodes are there on the Ethereum network?

Update. As of this morning (July 31, 2017), there were 21,349 nodes, according to Ethernodes. The Etherchain Node scanner which 5chdn listed as the other nodes tracker in his Feb. 2016 answer (https://...
Tesa's user avatar
  • 2,269
6 votes

network port udp:30303 could not be mapped: no UPnP or NAT-PMP router discovered

On some rare setups UPnP lookup fails in a strange way that blocks up Geth. It was already fixed on develop and will hopefully land soon. Until that point if you experience this you might disable NAT ...
Péter Szilágyi's user avatar
6 votes
Accepted

Are there any alternative programmable networks to Ethereum?

Rootstock would be the main example, check out their site for more info http://www.rootstock.io/ They use bitcoin instead of using their own coin, but they are not as far along with the smart ...
atomiccat2002's user avatar
6 votes

How do Ethereum mining nodes maintain a time consistent with the network?

TL;DR: Blocks must be within reasonable Unix time or they will be rejected. The yellow paper states: timestamp: A scalar value equal to the reasonable output of Unix’s time() at this block’s ...
Roland Kofler's user avatar
6 votes

How does Ethereum client select which peers to synchronise with?

Only a partial answer for the first couple of sub-questions... How many nodes do we connect to? The maximum number is set to 25 by default, but can be configured using the --maxpeers flag on the ...
Richard Horrocks's user avatar
6 votes
Accepted

How to get my enode URL to use/show external IP

There are a couple of issues here, that I hadn't outlined when I posted the question. The first is that you may have other nodes running in your LAN that you may or may not be aware of - the ...
T9b's user avatar
  • 1,185
6 votes
Accepted

I'll never reach final block updating with geth, it's too slow

Try increasing the cache of geth using option --cache <cache size in MB>. This is especially important if you are no longer in fast sync mode (and your screen shot shows that you are not). ...
gisdev_p's user avatar
  • 1,801
6 votes
Accepted

Ethereum network messaging

I wrote this on the gitter.im channel, so here it is again anyway. Caveat is I have not looked at recent geth code for this, so there may be subtle discrepancies with actuality. A key paragraph is ...
Sentinel's user avatar
  • 1,238

Only top scored, non community-wiki answers of a minimum length are eligible