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
19 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
28 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
30 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
42 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
0answers
35 views

Private blockchain losing access to older blocks

So, my private blockchain became out of sync and one of the nodes reset to block 0 – it then synced up with the other nodes. The node that went to block 0 is the node that is providing the rpc port ...
0
votes
1answer
928 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
0answers
57 views

Geth not download certain block number

I'm running a testnet geth node in fastmode and I have a worker that will check the transaction data in the blocks. However, I noticed that geth jumped from block 4990417 to 4990429, skipping the ...
0
votes
1answer
48 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:...
0
votes
0answers
50 views

State verification during full sync

How does the state verification work when doing a full sync from scratch? Does the state get generated locally for each block using the transactions downloaded (in the transaction trie) and then ...
1
vote
1answer
127 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 ...
0
votes
1answer
28 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
35 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=...
0
votes
1answer
103 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
203 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 ...
1
vote
0answers
420 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
66 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
62 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
339 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
208 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
295 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
0answers
93 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)?...
4
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
40 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
287 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
230 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
156 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
169 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 ...
0
votes
0answers
102 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
64 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
905 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
711 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
278 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
918 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
1k 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 ...
2
votes
1answer
2k 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
908 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....
5
votes
1answer
602 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 ...
2
votes
0answers
475 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 ...
3
votes
1answer
4k 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 ...
0
votes
1answer
66 views

For production dApps, what kind of sync should be done on server node?

I plan to use web3 server side using NodeJs with geth. For production usage, should I do a full sync or fast sync is enough? Also, how much space do I need to store the blockchain data for each of ...
0
votes
1answer
70 views

I'm new to compiling solidity code, is there a way to make it easier/faster? I think I'm doing wrong

1.- I connect to Geth to download the blockchain. 2.- Geth starts downloading. 3.- Once the chain is downloaded I open Mist wallet. 4.- Mist Wallet opens and there I can compile my contracts ...
11
votes
3answers
3k 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 ...
1
vote
1answer
300 views

Does fast sync download all past event logs?

If I do a fast sync when connecting to Ethereum the first time, will all past Events (written into smart contracts) be downloaded along with the block headers?
1
vote
0answers
105 views

Block Sync Progress

There is no block number listed like others I've seen. At first thought it was processed but that number is impossible? Also running eth.syncing doesn't work since blockchain is not yet fully ...
2
votes
1answer
774 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 ...
1
vote
1answer
968 views

What is bloombits?

I'm syncing my node with geth and I used the light mode. >start geth --syncmode "light" Then a parameter type="bloombits" appeared. What is bloombits?
0
votes
2answers
520 views

When running geth to sync a full node, what is the meaning of cache and handles?

What does it means: cache=128 handles=1024 how to change those values?
0
votes
1answer
321 views

Why 'web3.eth.syncing' (Truffle console) returns 'false' when actually the testnet is running?

I run the ethereum testnet using the following command geth --testnet --syncmode "fast" --rpc --rpcapi db,eth,net,web3,personal --cache=1024 --rpcport 8545 --rpcaddr 127.0.0.1 --rpccorsdomain "*" --...
0
votes
1answer
164 views

Mandatory to do a full sync for token creation and contract deployment?

As the heading says, is it mandatory to do a full sync for token creation and contract deployment? I have downloaded the etherelum wallet and geth, and right now it is syncing as I write this post. ...