Skip to main content
83 votes
Accepted

What is Geth's "light" sync, and why is it so fast?

I'll take my shot. Experts, please correct me. "Full" Sync: Gets the block headers, the block bodies, and validates every element from genesis block. Fast Sync: Gets the block headers, the block ...
Herman Junge's user avatar
  • 2,381
63 votes

How can I get a geth node to download the blockchain quickly?

Don't forget to use an SSD If you're able to, using an NVMe SSD is even better. If you have limited space on SSD see Can chaindata be split across two (or more) locations? That said, the Ethereum ...
59 votes

How to check my sync status on Geth 1.5.5, Raspberry Pi 3

Continuing to research, need to enter the geth node console to enter special commands. The following works: geth attach Sends user to the geth node console. eth.syncing Produces a result like ...
Arthur D. Howland's user avatar
51 votes

Help with very slow mist sync

I am using Windows 10, Mist Wallet 0.7.2 which includes geth v1.3.6, a non-SSD hard drive and ethernet connection to 16Mbs modem. I had incredibly slow syncing of the blockchain, even with 25 peers ...
JonoMac's user avatar
  • 611
49 votes

How to check my sync status on Geth 1.5.5, Raspberry Pi 3

After running your normal geth --fast command you can open a new window and run the "geth attach" command as this will attach you to the javascript interface $ geth attach Then you can use this ...
Christoff X's user avatar
41 votes

Help with very slow mist sync

Use --fast and don't forget --cache with Geth Everyone mentions --fast but you probably also need --cache=1024 (and --jitvm may also help). Without it, you are running with the default which is --...
eth's user avatar
  • 85.9k
41 votes

How long is the first sync supposed to last?

Do following steps to check the sync state: 1.) open a new geth instance and type in geth attach 2.) now type in eth.syncing This shows you the "currentBlock" and the "highestBlock".
Kevin R.'s user avatar
  • 511
36 votes

What is Geth's "fast" sync, and why is it faster?

Don't forget to use an SSD If you're able to, using an NVMe SSD is even better. If you have limited space on SSD see Can chaindata be split across two (or more) locations? That said, the Ethereum ...
eth's user avatar
  • 85.9k
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
33 votes
Accepted

Geth node starts to sync from the beginning after fast sync

Why Does Fast Sync Restart As stated in Péter Szilágyi's comment above, you will have to wait for --fast syncing to complete, otherwise you will have to restart the process again. The message you ...
BokkyPooBah's user avatar
  • 40.3k
26 votes

How can i tell if geth is done running?

The way I check is: Find out what the last block is. https://etherchain.org Start geth with console (https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options) When geth is running enter the ...
ServerGuy's user avatar
  • 361
22 votes
Accepted

What is the parity light pruning mode?

geth and parity have differents methods to save the ethereum blockchain in their internal format. I made many benchs because i find it so long just to use a Wallet. The pruning mode is how the block ...
Ellis's user avatar
  • 2,354
20 votes
Accepted

What is Parity's “warp” sync, and why is it faster than Geth "fast"?

It's difficult to give an answer without just re-hashing the explanation on the Parity wiki... The pertinent part is as follows: These snapshots can be used to quickly get a full copy of the state at ...
Richard Horrocks's user avatar
18 votes
Accepted

How much faster is it to sync with --jitvm?

geth 1.5 is way faster but there are problems to keep connections with peers. When there is a high latency, it removes agressively the peer connection. I use the patch 2630 from Péter Szilágyi in the ...
Ellis's user avatar
  • 2,354
16 votes
Accepted

How can I empty the blockchain?

To remove your blockchain with geth, run: geth removedb Then: Use --fast but you probably also need --cache=1024 (and --jitvm may also help). Without it, you are running with the default which is --...
Astad's user avatar
  • 478
13 votes

What is the parity light pruning mode?

With each block state (contracts storage and balances) is changing. By default (archive) we keep in database full state of every block. With different pruning algorithms we are ditching state data ...
todr's user avatar
  • 131
12 votes
Accepted

What is knownStates?

during fast sync, web3.eth.syncing downloads the state trie. knownStates is the number of trie nodes that the sync algo knows about pulledStates is the number it already downloaded there's no way to ...
Badr Bellaj's user avatar
  • 18.8k
11 votes
Accepted

how do you know your db is synced in geth?

From my experience #2 is the best way to check the status of a node. eth.syncing returns false even when the blocks are not synced. When geth is starting it's false, and often while not all blocks ...
tranqy's user avatar
  • 431
11 votes
Accepted

What's the proper way to wait for a transaction to be mined and get the results?

Use a filter in order to watch for changes. In this case, for example, you could: web3.eth.filter('latest', function(error, result){ if (!error) { thisJS.setState({contractFunds: web3....
Derek Tiffany's user avatar
10 votes

What is knownStates?

From the code: // SyncProgress gives progress indications when the node is synchronising with // the Ethereum network. type SyncProgress struct { StartingBlock uint64 // Block number where sync ...
Lee's user avatar
  • 8,558
10 votes
Accepted

How can I tell my progress and the number of peers I'm connected to when using geth to download blockchain?

You can use console in second terminal. geth attach and then in the console: > eth.syncing { currentBlock: 27832, highestBlock: 3520007, startingBlock: 26025 } > net.peerCount 9
NewTwoEth's user avatar
  • 260
10 votes

How long is the first sync supposed to last?

I think you should edit the question to ask, "How do I know when geth is done syncing?" The question you asked was vague, but I believe this is the answer you were after: Geth will continue running ...
Evan de la Cruz's user avatar
10 votes

How long is the first sync supposed to last?

Assuming you are using a Linux flavoured OS, you can check the sync status as well (run this as the user under which geth is running): $ geth --exec eth.syncing.currentBlock attach 3991639 If it's ...
tlex's user avatar
  • 146
9 votes

How can I empty the blockchain?

The default datadir is: Mac: ~/Library/Ethereum Linux: ~/.ethereum Windows: %APPDATA%/Ethereum Delete the chaindata subdirectory that you find. Run geth --fast --cache=1024 for a recommended way to ...
eth's user avatar
  • 85.9k
9 votes

How can I get a geth node to download the blockchain quickly?

To synchronize geth the fastest way, i recommand to use geth 1.4.6. Older versions are way slower. Spoiler: HDD synch is very slow. There are two modes for synchronization: geth --fast --cache 1024 ...
9 votes

Can I download the whole blockchain from somewhere?

You may download Mainnet Ethereum blockchain as of 2016-05-30, including 1,613,031 blocks (1.7GB) from http://bloopish.com/tools/ethereum/ at your own risk, saving 1 or 2 days of sync.
Juan Ignacio Pérez Sacristán's user avatar
9 votes
Accepted

Is there a quicker way than geth --fast to download the Ethereum blockchain?

This is a community wiki, with the hope that it can be updated by the community as developments take place. Here's latest from Ethereum Core developer Péter: karalabe [Ethereum] - Péter Szilágyi Hi, ...
9 votes
Accepted

Is there a dynamic pruning in geth --fast?

Simple answer no. --fast download a pruned version of the state tries, but it behaves like archive after. So if you want spare disk, remove your blockchain with geth removedb and do a --fast again.
Ellis's user avatar
  • 2,354
9 votes

What's the proper way to wait for a transaction to be mined and get the results?

I created a Gist that polls the node until the transaction has been mined: web3.eth.getTransactionReceiptMined = function (txnHash, interval) { var transactionReceiptAsync; interval = ...
Xavier Leprêtre B9lab's user avatar
9 votes

Syncing keeps behind the blockchain

Syncing the Ethereum blockchain with Geth in --fast mode has two phases running in parallel: block sync and state trie download. Both phases need to be done in order to have a full node and switch to ...
Greg Jeanmart's user avatar

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