Questions tagged [fast-sync]

Questions related to Geth's --fast feature which enables fast syncing through state downloads rather than downloading the full block data.

Filter by
Sorted by
Tagged with
103
votes
4answers
100k views

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

One of the answers to this question suggested using Geth's --fast flag to help quickly synchronise the block data. How does the flag work, and how does using it speed up the synchronisation? Are we ...
54
votes
1answer
56k views

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

This question is in a similar vein to the past questions about geth --fast and parity --warp. There was a recent question where the OP wanted to do as little syncing as possible, and one of the ...
25
votes
1answer
31k views

Geth node starts to sync from the beginning after fast sync

I have synced using the --fast command. Now how should I proceed? I tried stopping it, and then running geth --rpc but it says: Last Header #1311471 Last Block #0 Fast Block #1310224 What should I ...
23
votes
4answers
16k views

How can I empty the blockchain?

I am trying to do a fast sync using geth --fast but I am getting this message: blockchain not empty, fast sync disabled How can I empty the blockchain to allow for fast sync?
23
votes
1answer
10k views

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

A follow-up of one of the classic questions on this site: One of the answers to this question suggested using Geth's --fast flag to help quickly synchronise the block data. Now, parity comes with ...
21
votes
2answers
7k views

Why is my ether balance 0 in geth, even though the sync is nearly complete?

My geth --fast sync is nearly complete, and the balance shows correctly on Etherscan. I was running geth on linux and haven't synced in a while, so I deleted the chaindata and updated the wallet and ...
17
votes
2answers
10k views

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

geth help has: VIRTUAL MACHINE OPTIONS: --jitvm Enable the JIT VM The impact of --jitvm has been unanswered and I'm looking for answers to these 3 specifically: How much faster is geth --fast -...
16
votes
2answers
11k views

What is the parity light pruning mode?

Parity offers four different pruning methods: archive, basic, fast and light: --pruning METHOD Configure pruning of the state/storage trie. METHOD may be one of ...
13
votes
3answers
8k views

Geth disk and memory performance analysis

A week ago I started a synchronization of a geth node with these parameters: --fast --cache=1024 --rpc --rpcaddr "0.0.0.0" --ws --wsaddr "0.0.0.0" --wsorigins="*" The result that I have obtained is ...
8
votes
1answer
3k views

Is there a dynamic pruning in geth --fast?

Once i've downloaded the blockchain with geth --fast , is there a dynamic pruning on the up-comings blocks, or will I archive all the blocks from where I stand?
8
votes
1answer
2k views

How do I tell whether the Mist/Wallet is "fast" or "full" syncing?

I'm currently installing Mist/Ethereum Wallet from the pre-built binaries. Having the run the ./Ethereum-wallet executable, it's now part-way through syncing the blockchain. It seems to be taking ...
8
votes
1answer
836 views

Will I be able to get past contract events through rpc if I use geth --fast?

Or in other words, will geth --fast download the events logs?
8
votes
0answers
3k views

Why is Geth's "fast" sync now the default, whereas before it wasn't?

As of version 1.6.0, the default method used by Geth for syncing the chaindata is "fast": The default sync mode is --syncmode=fast, for full sync please use --syncmode=full. Previously, the ...
7
votes
1answer
3k views

geth rewinds chain on every startup

I'm using geth to connect to the rinkeby network with fast sync. However, every time I restart geth I receive the following output: Maximum peer count ETH=25 LES=0 total=25 ...
7
votes
3answers
8k views

Can I safely interrupt and restart fast sync in geth?

I am new to Ethereum and trying to get set up a new node with geth (using 1.6.5-stable). I am running geth --fast --cache=1024 and so far have been syncing for around 3 days (Win 7, 6GB RAM). I see ...
6
votes
1answer
4k views

geth 1.8.15 flag provided but not defined: --fast

Geth version I have: Version: 1.8.15-unstable Architecture: amd64 Protocol Versions: [63 62] Network Id: 1 Go Version: go1.11 Operating System: linux GOPATH= GOROOT=/usr/local/go go version: $ which ...
6
votes
1answer
2k views

Full node sync only preserve the last 128 history states

While researching on the different sync modes and their behaviors, I learned that geth full sync will replay all transactions from the genesis and preserve all history states, while fast sync will ...
6
votes
2answers
525 views

Is geth --fast really one time thing?

In the original github issue for geth --fast feature karalabe writes: After a node managed to successfully sync with the network, fast sync is forever disabled. Is there a way to circumvent ...
5
votes
1answer
10k views

Optimal sync mode for running an ethereum node that can process transactions

I need to run a local ethereum node, I've downloaded mist wallet but I've had some issues. I have to redownload the whole blockchain again, and I noticed that the problems I had could be related to ...
5
votes
2answers
700 views

Blockchain sync ongoing, apparently reached top block, what is happening?

I've installed Ethereum Wallet on a Windows 10 machine and I am now syncing the blockchain with geth --fast --cache 1024. It seems to have downloaded practically all blocks, as eth.syncing returns { ...
4
votes
2answers
2k views

geth mainnet fast sync appears stuck at around 100 blocks from highestBlock

I started syncing a geth node to the mainnet in fast sync mode 7 days ago. The status is still around 74 blocks behind the highestBlock, e.g. if I run the following: eth.syncing.highestBlock - eth....
4
votes
2answers
5k views

Status of Ethereum Sync using Geth for Beginners

I am new to ethereum and right now getting the ethereum blockchain using geth with syncmode=fast and cache=5120 It's been quite some time the sync being running (about 24 hours) and still the process ...
4
votes
1answer
431 views

When sync'ing with geth, what is the meaning of the value of "processed"?

I had thought that the value of the "processed" during a sync was the block number, but the number goes far beyond the latest block. What is the meaning of this number?
4
votes
1answer
487 views

Can the Merkel trie state entry download period of a fast sync extend between geth runs, and how many trie state entries currently exist?

When initial synchronization (i.e., from block 1) is performed with --fast, both blocks and chainstates are downloaded separately. In my current ongoing download (and apparently others) full ...
4
votes
2answers
4k views

geth --fast sync extremely slow when run under systemd

I have dedicated an intel atom laptop with 2GB of memory and a 300+GB SSD as my ethereum node. I am running geth as systemd daemon. Now it's been running 3+ days day and night, with the command: ...
4
votes
2answers
717 views

Fast syncing never stop

I have run geth --fast --cache=1024 for a week and I think I am almost complete: etherscan.io shows: LAST BLOCK 4005552 and my eth.syncing shows: { currentBlock: 4005449, highestBlock: 4005553, ...
3
votes
1answer
3k views

Do we have a full archive node after a geth fast sync?

I have read the comments in PR for the fast sync and I am a little bit confused that Péter Szilágyi is stating that after a fast sync the user will have a full archive node with all historical states. ...
3
votes
2answers
497 views

Why does geth Sync get very slow around 4 million blocks

I am fast syncing geth, and at block 4080496 it started to sync very slow. Those 4 million blocks took about 45 minutes to sync. In the last 4.5 hours I have got to 4081691, about 1200 in 4.5 hours. ...
3
votes
1answer
1k views

How do I manually configure the geth fast sync pivot block?

WARNING - Running Ethereum Wallet 0.8.7 without manually starting geth 1.5.2 will end up clobbering your blockchain data! UPDATE Nov 22 2016 - New geth 1.5.2 binaries will be downloaded by Ethereum ...
3
votes
1answer
1k views

BAD BLOCK and "invalid difficulty" error when syncing ropsten testnet in geth

I had been connecting to the ropsten testnet for the past couple months in geth with no issues, and able to quickly sync to the latest block. Now when I connect to ropsten as follows (as I've always ...
3
votes
2answers
238 views

Can I reboot my router while geth fast syncing?

dumb question from noob here. I have started to sync with command geth --fast --cache=1024 for more than 3 days now, and I am still not finished syncing yet (still around 1 million again). Somehow I ...
3
votes
1answer
793 views

Can I reduce the space chaindata takes up?

So the size of my chaindata folder has snowballed to close to 80GB. Is there a way to reduce it or is the only way to delete it and resync geth with --syncmode fast? Thanks!
2
votes
1answer
459 views

Ethereum chain data size (GETH w fast sync)

Etherscan provides this statistics, about the chain data size with fast synchronization. I cannot understand if it refers only to the blockchain size (i.e. block headers + block bodies, i.e. ...
2
votes
1answer
680 views

Why did the Fast sync stop at 2.4 million blocks when updating my Geth?

My goal is to be able to access my Mist Wallet on my iMac (which I installed 8 months ago, and bought some Ether on then). I deleted my Blockchain and ran Geth through the Terminal, with this: ./geth -...
2
votes
1answer
28 views

Can I resume fast sync in GoEthereum?

I have synced whole geth into computer in --fast mode. However, it had to be stopped at one point today. Using the already downloaded data, can I pass the download phase and resume from where it is ...
2
votes
1answer
1k views

Why my geth fast node suddenly stopped running?

Fatal: Error starting protocol stack: gap (#3) in the chain between ancients and leveldb when I run geth node for ropsten by : geth --testnet --syncmode "fast" --cache=512 --rpc --ws --shh console ...
2
votes
1answer
816 views

Geth Light Sync functionality

If I use the light version of geth sync, can I make a token & deploy contracts using that? The light client "gets only the current state", from that point onwards or everytime I query the ...
2
votes
0answers
18 views

Re-Sync with same enodeId

Is there any benefit or detriment to keeping the same endodeId by maintaining the keystore when performing a fresh sync on an otherwise already in sync node? By maintaining the endodeId does it ...
2
votes
0answers
75 views

when syncing state trie of an Ethereum node, why not start from a recent block to reduce syncing time

as explained in this issue: https://github.com/ethereum/go-ethereum/issues/16218#issuecomment-371454280 when we are syncing an eth node, firstly it downloads the blocks, then the states, the first ...
2
votes
0answers
1k views

Total number of state entries

I am syncing my ethereum blockchain using the default syncmode. I want to know how many total state entries are there because currently the highest block is 6544578 and the number of pulled states i.e....
2
votes
0answers
1k views

eth.getBalance() return 0 though fully synced [duplicate]

So I stopped geth, deleted all files from ~/Library/Ethereum/geth/chaindata, and restarted geth with --fast --rpc and waited for like 24h, and have like 53GB of ldb files now. I used to run eth....
2
votes
0answers
683 views

fast syncing has completed, yet eth.blockNumber still returns 0

I've ran a fast sync via geth --syncmode "fast" --cache 1024 After running for about 12 hours (didn't think fast sync should take that long!) "eth.syncing" finally returns false which I'm led ...
2
votes
1answer
253 views

event logs with geth fast sync

If I use --fast syncing, will the contract execution Event logs be available? I wish to setup a private node to make RPC request.
2
votes
0answers
155 views

Database deletion aborted

I'm using the command line to delete the existing chaindata so I can fast sync: geth removedb But I am returned with: Database deletion aborted Database doesn't exist, skipping So then I run: ...
2
votes
0answers
484 views

Syncing block chain

I was syncing the blockchain using something like geth --fast --cache=2000 -jitvm. It reached about block #3819000, and then it did something odd. It stopped saying "Imported x reciepts" or "...
2
votes
0answers
84 views

Which recent Parity release can be used to synch a node for use with Mist 0.8.8

I am finding Geth exceptionally slow to synch. I found Parity to be much faster. However recent Parity releases make it very complex just to use the Parity client to synchronise and then open Mist. ...
2
votes
1answer
2k views

Ethereum Wallet 0.8.9 - How to Run "--fast" Option?

I use Ethereum Wallet 0.8.9 on OS X. Synching is very slow. I found, there is a "--fast" option to run geth on the command-line. But I can not find "geth" anywhere, although the Wallet states it is ...
1
vote
1answer
206 views

Geth not updating blocks after restart

Previously my geth node was working totally fine but due to some reason I had to restart the node. so I followed this commands: sudo kill -INT <GETH_PID>. Then restarted it with the folowing ...
1
vote
3answers
1k views

Number of state entries needed before geth node is synced up with Ropsten

I am currently syncing a Geth node with the Ropsten network. Currently the download in the terminal show a neverending stream of Imported new state entries. I understand that I have to wait for all of ...
1
vote
2answers
2k views

geth fast sync is not really fast on Mac

I'm on MacOS Seirra with Geth 1.6.0-stable. Last few days, tried doing fast sync using the following command. $geth --syncmode fast --cache 4096 Every time, the sync process hangs with no active ...