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
1
vote
0answers
12 views

Why does ethereum chaindata sometimes sync while syncing?

I am doing a fresh geth 1.9.18-stable sync, which I believe is fast by default. I am keeping an eye on the size of the .ethereum/geth/chaindata/ directory and have noticed that it does not increase ...
1
vote
2answers
27 views

Is Ethereum fast sync feasible to get logs

I want to get the logs of an contract address by filtering the even with transfer Event. I cant use Infura for its restrictions and limits. So i want to sync my own ethereum node for myself. Since my ...
0
votes
1answer
87 views

Fast sync ain't fast enough

I'm running geth with --syncmode=fast --cache=4096 --maxpeers=50 My laptop runs like crazy, but it's never able to reach the top of the chain (blocks are at the moment been created ~ once every 14 ...
1
vote
1answer
18 views

Save stack traces while syncing

I have been working on a project, where I would like to trace all transactions from a block and for this reason I have been using a fast-syncing node. It works well, the only issue is that querying ...
0
votes
0answers
10 views

What's the point of keeping historical transactions?

I understand there are a few different sync modes. Archival nodes keep everything and they take ~2TB if not more. geth --fast downloads all historical transactions (besides transaction headers), but ...
0
votes
0answers
19 views

Syncing rinkeby testnet still imports new states entries

Hi I am syncing (fast) rinkeby testnet on SSD and as the img shows I'm on the 55777179'th state! is there a way to know how many states should I download to get the full sync ? and what about the ...
0
votes
1answer
42 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
0answers
25 views

Can chain states be processed faster or in parallel? (geth full node syncing)

I am trying to understand more about chain states. Basically Geth is capable of downloading blocks pretty fast now, but getting "known" and "pulled" states takes much longer and seems to be ...
0
votes
1answer
24 views

Different block information for the same block number at different times

On web3.eth.subscribe('newBlockHeaders') I get notification and trying to get last block via saved block number earlier. It was happen with 9559839 block number on mainnet. First, I was get data with ...
1
vote
1answer
45 views

Just synced a node, but want to use docker instead, can I moved synced db into container?

I just synced a node using geth fastsync and it took several days. But I just decided I want to use this computer's resources differently and run my ethereum environment from a docker container I ...
1
vote
1answer
39 views

Running geth - ssh doesn't work

The Ethereum light node is synced by geth, but when we tried to sync it we lost ssh connection. We assumed that while it is syncing it is impossible to connect via ssh to computer. If anyone has any ...
0
votes
1answer
111 views

Why geth switch to full node when starting

I start my geth with --syncmode "fast" but I get this warning: WARN [01-21|14:47:59.148] Switch sync mode from fast sync to full sync And my geth will start with full sync mode with this warning. ...
2
votes
0answers
13 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 ...
1
vote
1answer
58 views

Can I start mining before my node is fully synced?

I'm trying to mine some Ether on Ropsten, using a Geth node configured as follows: --verbosity=3 --networkid=3 --testnet --mine --fast --cache=8192 --datadir=./data --etherbase=0xMyAccountAddress --...
1
vote
0answers
485 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 ...
1
vote
0answers
149 views

syncing is never finish on geth fast

I have run geth --fast --cache=4000 for 8 days and I think I am almost complete: eth.syncing { currentBlock: 8123223, highestBlock: 8123315, knownStates: 309587058, pulledStates: ...
0
votes
0answers
30 views

Geth returning balance 0 [duplicate]

I started my geth using fast sync first and then normal sync once it was almost synced. 'currentBlock' is not increasing since hour and 'highestBlock' keep on increasing. geth --testnet --rpc --cache=...
2
votes
0answers
54 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 ...
1
vote
1answer
70 views

Ethereum fast sync and wallet balance?

I'm planning to run a Ethereum server for getting wallet balances at a specific time, which type of node should i run, fast sync will work ? or should i go for archive node ?
0
votes
1answer
1k views

Help with Syncing Geth: 1.8.23

I am not sure if I'm alone in this but it seems that the latest Geth client is very slow. I tried posting the issue on Geth's github page but it got closed almost immediately and no one is replying ...
0
votes
1answer
69 views

Geth syncing fast Ropsten too long delays between importing new segments

i have a problem with my Geth Ropsten node. Time between importing new segments of chain is too long. For example logs from my docker container below geth-testnet_1_6d184080c9e1 | INFO [02-11|13:30:...
1
vote
1answer
355 views

What are the benefits of ethereum 'archive' sync mode and who should use it?

We have set up a private Ethereum node for our blockchain application connected to the mainnet. The node runs on a server with 2TB SSD, 4 CPU and 6GB memory. It's been syncing for about a week and is ...
1
vote
1answer
77 views

Drawbacks Query Logs of Parity Node in Fast Mode

We need to query all the past transfer events of a contract to identify all historic token holder addresses. Am I right that for this we need a full node and can't use fast mode? I've read that fast ...
1
vote
1answer
48 views

Getting the last synced block is 0

I am trying to get last synced block but it always 0. So I have run geth --syncmode fast -cache 4096 --rpc Here is a logs INFO [12-19|09:47:50.058] Imported new state entries count=...
1
vote
1answer
158 views

Known states for testnet on fast sync mode Nov - 2018

Whats the current knownStates for testnet on fast sync mode Nov - 2018 Is there an online service which provides the current states of the ethereum testnet. It been several days and --testnet fast ...
1
vote
1answer
350 views

Current Storage requirements

Very new to this. following teething problems and multiple restarts I'm running a fast sync with max cache. I'm starting to down load the block chain in fast syncmode, whats the current storage ...
2
votes
0answers
802 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....
1
vote
0answers
76 views

Ethereum geth node sync problem

I have to ethereum geth node runing as testnet syncmode=full on aws both running on same hardware and bandwidth why one is syncing very slow and other one is syncing fast? and if I will stop the ...
0
votes
1answer
83 views

Retrieving transaction hash in all blocks after fast sync

I have set up an ethereum node using fast syncmode. I want to retrieve all the transaction hashes and the recipient between a range of blocks, let's say 0 - 13000. Will I be able to retrieve the ...
1
vote
1answer
382 views

What is the GB size and time to sync for geth in september 2018

How long does it take? What is the Size?
3
votes
2answers
313 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. ...
2
votes
1answer
381 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. ...
1
vote
1answer
136 views

Official data about synchronization time

Are there in the literature or from the Ethereum community/foundation any official benchmark about geth (or any other client, e.g. parity) initial synchronization time (with both fast and normal sync)?...
5
votes
1answer
2k 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: $ ...
1
vote
0answers
69 views

can erc20 token transaction work on Fast Sync-ed node ? OR it need Full node to transact any token?

I need help regarding couple doubts. Which sync method is good for me. My client is asking me to make an Exchange website. Also ERC20 tokens will get transacted in this exchange. Do I need a full ...
1
vote
0answers
381 views

Is it possible to download the Ethereum state trie and state database on their own?

I want to download a more or less recent version of the Ethereum state trie and state database, i.e. some version from within the last 1000 or so blocks. I know that I could set up a full node and let ...
1
vote
2answers
283 views

Why does the mainnet download take a long time? How can I improve this? [duplicate]

We have been working on integrating a ETH node to our e-wallet to enable ether transactions. We completely build the platform by connecting to a private Ethereum network. Now everything is ready to ...
1
vote
1answer
174 views

slow syncing Ethereum blockchain

I used VM in Azure(1TB SSD, 16GB RAM,Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz). Install geth.exe Run geth --fast --datadir F:\Ethereum in cmd blockchain still downloading it's almost more than 5 ...
1
vote
0answers
194 views

Parity: with 'warp' sync enabled by default, is there still any advantage in using fast pruning?

From Parity Ethereum Documentation: Warp Sync is an extension to the Ethereum Wire protocol, which involves sending snapshots over the network to get the full state at a given block extremely ...
1
vote
0answers
142 views

How to make geth keep states for the last 10000 blocks instead of 128

If I understand it correctly, geth preserves states for the last 128 blocks and prunes states for all other blocks. I would like to keep states for a bigger number of last blocks, say 10000 blocks. Is ...
0
votes
1answer
71 views

How do I deploy a contract when my blockchain isn't syncing?

I would like to deploy a smart contract using truffle but I got problems while syncing the etherum blockchain. There are always blocks left and the syncing process is never finished. I don't want to ...
0
votes
1answer
1k views

Do you have to download all 'Imported new state entries' before syncing with the highest block?

I'm new to Geth... I'm performing a fast sync using the following command: geth --syncmode "fast" --cache 4096 I had been downloading block data until about 1000 blocks from the highestBlock. Then ...
1
vote
1answer
846 views

Parity sync time April 2018 - many days normal?

I am trying to set up an Ethereum node. I have tried with both geth and Parity and they both seem to be taking several days. I am on a high-end system with fiber internet, so I am wondering if this is ...
0
votes
1answer
353 views

How do i know if my sync is in fast mode? [duplicate]

I entered "geth" command from my powerShell comandline. There was no ChainData directory. I am running Windows 10 64 bit. I downloaded Geth v1.8.3 for windows 64 bit The machine has 250 GB SSD. The ...
3
votes
1answer
1k 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 ...
1
vote
3answers
2k views

Geth not syncing

Apparently my installation of Geth breaks after some day of working, and log is not clear to me: WARN [03-16|12:50:49] Synchronisation failed, retrying err="state node 266e74…51868f failed ...
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. ...
1
vote
1answer
2k views

Very slow Ethereum sync

I was around block 2.5 million on a "full" sync and I think it would've taken months to fully sync. At times the blockchain grew faster than my computer was syncing. I moved that directory over to a ...
1
vote
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....
6
votes
1answer
912 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 ...