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
0
votes
1answer
23 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 ...
0
votes
1answer
20 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
24 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
12 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
38 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 --...
0
votes
0answers
280 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
90 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
46 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
63 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
39 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
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
63 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
240 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
46 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
42 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
138 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
309 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
643 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
72 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
75 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
376 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
265 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
348 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
127 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
61 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
351 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
265 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
165 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
184 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
121 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
67 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
788 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
325 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
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 ...
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
750 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
537 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 ...
4
votes
1answer
6k 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
2answers
71 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
72 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 ...
12
votes
3answers
4k 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
324 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
788 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 ...