Skip to main content

Questions tagged [synchronization]

Syntonization is the process where your node / client (geth, Ethereum Wallet, etc) receives the most up to date data from the Ethereum blockchain.

Filter by
Sorted by
Tagged with
0 votes
0 answers
173 views

Latency between block production and data reception

I am trying to measure the latency between the block production (eg block.timestamp) and the data reception (eg Date.now()); I tried with different nodes (Infura, Amazon Managed Blockchain and my very ...
Charles's user avatar
1 vote
1 answer
108 views

Mining causes nodes to stop syncing on Besu

I am trying to test my private network by running multiple nodes at one time. I am using a config file that lists the boot node as well as the same genesis file. The boot node is on a linux server, ...
pdmoerman's user avatar
  • 131
0 votes
0 answers
685 views

Best way to get balances of multitude of addresses

I have a list/array/map of addresses. I want to keep track of their balances on the front end. Currently, the front end is calling the balanceOf() function for each address and updating based on the ...
Sky's user avatar
  • 2,332
0 votes
1 answer
252 views

Can GETH run quickly and be always up-to-date with an AWS c5 instance?

I've noticed that most people who are using AWS to run their ethereum node are using the i3 (or i3en) instance type for its high I/O performance with the attached SSD. For my particular use case, I ...
galpo's user avatar
  • 145
0 votes
1 answer
110 views

Private network desync

This is a similar to question to this one I have just setup 2 private nodes on AWS EC2 via geth, which are connected to each other, and have 1 "Hello World" smart contract already mined. ...
ArnMagnusson's user avatar
1 vote
1 answer
211 views

Does data in memory variables get added to the blockchain? How does consensus work for memory?

If a function call involves a memory variable, does the data in memory get added to the blockchain history? If no, how come others can validate the transaction? Is the data only deleted after a block ...
Jonas Metzger's user avatar
2 votes
1 answer
307 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 ...
Emrah's user avatar
  • 1,664
2 votes
0 answers
859 views

Synchronisation failed, dropping peer peer=... err="retrieved hash chain is invalid: block in the future" in private geth ethereum network

Geth Version: 1.10.7-stable-12f0ff40 Operating system: Windows 10 Home I have created a Private Ethereum Blockchain with 2 nodes in seperated command prompts: geth --http --http.port "8085" -...
Tomatenmark's user avatar
1 vote
1 answer
166 views

State trie pruning and synching, how does that work?

how does state trie prunning works during syncing? or does pruning only happens on the nodes that is not the state root? since if state root are deleted then there will be errors in the blocks and it ...
curiousJorgeXX's user avatar
0 votes
0 answers
13 views

eth.getBalance returning 0 due to syncing problem in rinkeby [duplicate]

when I am running eth.syncing it is returning false and when I am running eth.getBlock("latest") it is returning number: 8290864, with some other data. Which is less than Block Height ...
satya-p91's user avatar
  • 123
1 vote
1 answer
150 views

eth.syncing is falling behind

I lost internet connection for about 5 minutes and my full node was disconnected. At first it was about 500 blocks behind and looked like it was catching up. Now every time I check: eth.syncing....
John's user avatar
  • 123
0 votes
1 answer
411 views

txpool.content return empty object

I opened a full node successfully (I succeed getting data from e.g eth_getTransactionByHash). I'm trying to get all pending transactions, but I get: > txpool.content { pending: {}, queued: {} } ...
Tomer Barak's user avatar
3 votes
0 answers
1k views

Local full node is one block behind mainnet after sync is completed

I just created a local Binance Smart Chain full node on my PC with the following specs: OS: Linux running on Windows Subsystem for Linux Storage: 1TB SSD (Samsung 980 Pro) CPU: AMD Ryzen 7 5800x Ram: ...
John's user avatar
  • 123
1 vote
0 answers
12 views

High Block Validation

Suppose node A is running on height 2000. Node B sends to node A block with height 2002. Node A is not able to validate the block without having a block with height 2001. How does node A behave in ...
Кирилл Волков's user avatar
1 vote
0 answers
58 views

Highest known block in the peer network - permissioned ethereum network

We are starting to define the best metrics to monitor a permissioned Besu network. One important point to monitor is the block height of a node and from other nodes in order to discover if the node is ...
Suzana Maranhão Moreno's user avatar
1 vote
1 answer
891 views

What should be done first: extract snapshot or create genesis?

bsc documentation describes a method of accelerating creation of a full-node using a snapshot. However, it is not clear in which order these commands should be executed and if it makes any difference: ...
Gajus's user avatar
  • 713
5 votes
2 answers
1k views

Ensuring correct block order with subscribe on "newHeads"

I have an issue with processing new blocks through a WebSocket connection on a local node. Sometimes I receive multiple events with the same blockNumber but different blockHashes. I understood from ...
dvdblk's user avatar
  • 103
5 votes
1 answer
865 views

geth: does --gcmode=archive require --syncmode=full?

I can't seem to find a straight answer to this question since snap is relatively new. I'm currently running geth 1.10.3 with --syncmode snap and --gcmode archive, but i'm beginning to think that ...
The Unique Paul Smith's user avatar
2 votes
0 answers
85 views

Ropsten light node block number ~1000 greater than it should be

I'm running geth on Ropsten, using geth --ropsten --syncmode "light" --http.addr localhost --http.port 8545 --rpc My most recent block number is 10266786 (and increasing), whereas etherscan....
nnsk's user avatar
  • 101
2 votes
1 answer
91 views

Does verification of a world state require downloading the whole ethereum blockchain?

Lets say I'm a new node on the Ethereum network, I download a world state of 500 blocks ago and I download the blockchain from that point to present (500 blocks). Can I verify that the world state I'...
Vinzentz's user avatar
0 votes
0 answers
88 views

Geth syncing, how to keep on par with the network in syncronized blocks

I am trying to get data from the last block via my own local node. I do this by calling the RPC API on my node. the issue I have is that the node is not fully synchronized and is never fully ...
Kaki Master Of Time's user avatar
0 votes
0 answers
22 views

computer configuration for connecting eth 50 or more nodes

I'd like to rent a server to run eth client ,but I am not sure what the computer configuration should be?In my local pc ,I can only connect less than 10 nodes and failed in sync.If I want to connect ...
DaJin Wei's user avatar
6 votes
1 answer
926 views

I can no longer access old blocks via RPC in full syncmode?

I have a private network based on geth v1.9.25. I upgraded from v1.8.27. Recently, I saw that I'm unable to access the previous blocks at all. Like, e.g. eth.getBlockByNumber(1) gives me null, even ...
ygh's user avatar
  • 205
0 votes
2 answers
248 views

Ethereum network Sync up with Matic network

We are able to deploy our ERC20 token into Matic Network and it is working fine. But we have few questions here to understand how Matic works with Ethereum Mainnet Once the contract is deployed in ...
iappmaker's user avatar
  • 813
1 vote
1 answer
46 views

Ethereum Bucket Synchronisation

The normal operation of Ethereum and other blockchains is to Store new transactions in a mempool, Distribute the bucket, and then mine contents into a block picked from the bucket based on priority of ...
Cyberience's user avatar
0 votes
1 answer
50 views

Unable to synchronize with Ropsten testnet with Geth 1.9.25

For the past two days I've been trying to synchronize with Ropsten testnet using the following command in Geth 1.9.25: ./geth --ropsten --rpc --rpcaddr="0.0.0.0" --rpcapi="eth, web3, ...
tsuki's user avatar
  • 103
0 votes
1 answer
26 views

Synchronization Fraud Protection

Suppose I want to synchronize my chain. I download the blocks and state from a Node. What if this node is malicious? It can give me an alternative chain that I won't be able to distinguish from the ...
Кирилл Волков's user avatar
2 votes
1 answer
257 views

How many new nodes join the Ethereum Network per month? How many leave?

I'm researching the cost of serving old blocks to new nodes that need to synchronize and download the whole blockchain. I can indirectly estimate the bandwidth consumed to serve old blocks, if I know ...
SDL's user avatar
  • 121
2 votes
2 answers
3k views

How can I download the entire Ethereum blockchain?

Is there a way to "get" the whole ethereum blockchain in order to process it locally? For example a link for direct download or via a developer API? Thanks in advance!
user avatar
0 votes
0 answers
57 views

geth.exe checksum is differant than what is writen on the website but the installers checksum is correct. is this an issue?

I started syncing geth with this command he command: geth --rpc --etherbase <pulbic wallet adrress> --syncmode=fast --cache=2048 and about 25 hours later, the syncing stopped and this error ...
Sheeeev66's user avatar
3 votes
2 answers
321 views

Open Ethereum Syncing

How do I know if openethereum syncing is done and what should I do next? This is what my current state looks like
GuzikovShow's user avatar
2 votes
0 answers
145 views

How to convert geth arhive to full node without loosing intermediate state

We have a geth node that runs with --gcmode "archive". However, the recent growth of disk space is unsustainable and we want to change this to a full node. If I stop the node and just re-run ...
Dilum Bandara's user avatar
2 votes
2 answers
1k views

Ethereum Wallet - Hangs at startup + 403 ws error

I have installed the Ethereum Wallet, Ethereum-Wallet-win64-0-11-1 (zip file), as described in the book. When I start up Ethereum Wallet (testnet Ropsten, syncmode “light”) the wallet seems to load ...
user64371's user avatar
1 vote
1 answer
51 views

What is the criteria to resync chain using proof of stake?

In PoW, nodes always resync their own chain to the longest chain in the network in order to respect the work the miners have done. In PoS, as I understand in its simplest form, the miner with the ...
Hang Chen's user avatar
  • 111
0 votes
2 answers
544 views

solidity equivalent for new thread

I want to create a contract, which has a deposit function. But I also want, in the constructor, to start a "thread" that polls an external data source (via oraclize/chainlink or similar) at ...
NimChimpsky's user avatar
2 votes
1 answer
468 views

Can I stop geth when it is halfway done and restart it without loosing all the first half of data?

I have started geth (fresh install) using this command: geth --datadir "my/path" I'm halfway done with sync and would like to restart my PC. Will I loose all the data accumulated so far or ...
MadeInDreams's user avatar
  • 1,575
1 vote
0 answers
35 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 ...
spraff's user avatar
  • 645
2 votes
1 answer
747 views

What is the best way to store data/information while writing smartcontract?

Smart contracts are immutable. Unless we're 100% sure that our smart-contract is fully functional without any exception we never want to push that in the main net. That's why we have public test net. ...
NinjaMAN's user avatar
  • 419
1 vote
2 answers
1k 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 ...
mzaidi's user avatar
  • 1,012
2 votes
2 answers
1k views

Syncing geth 1.9.15 took too long on HDD raid-0

I've been running full node on a server with this config: Centos 7 11 Tb hdd raid-0 32 Gb ram and I'm using geth 1.9.15-stable-0f77f34b I'm trying to be archive node but syncing took over 1 months ...
Nima's user avatar
  • 23
2 votes
0 answers
325 views

is "newBlockHeaders" in web3 emits a legit block?

I'm using web3.eth.subscribe('newBlockHeaders') to track transaction I sent to the blockchain. My question is that is the block emitted from "newBlockHeaders" legit or in other words, the block has ...
bbnn's user avatar
  • 236
0 votes
0 answers
741 views

geth full node taking forever to sync

For three days I've been trying to sync a full node. Syncing the last two days has taken about six hours a day. At this rate I won't be able to sync it. It's behind "age=3y8mo5d". This is the ...
Philip Rego's user avatar
0 votes
1 answer
41 views

Fast synch mode slowed down after 200Gb

It took 2 days to get to 200gb on geth fast synch mode. But now im moving with approx 5gb a day with a decent internet speed around 100mb/s in Lan. I disconnected and now running on 25mb/s with wifi....
SES's user avatar
  • 1
1 vote
0 answers
168 views

Geth server syncs itself very slow on SSD storage

This is the second time I've lunched a Geth server with full mode on a server with the resources below: 4Core CPU 16GB RAM 400GB SSD But server keeps staying arount half of highestBlock and its ...
Mohammad Saberi's user avatar
1 vote
1 answer
492 views

Is it possible to initiate Geth server from a specific block instead of genesis block?

I tried setting up Geth servers in full node different times, and all of them are always behind half of total max block. So, they cannot be synced easily even after weeks. I would like to know can I ...
Mohammad Saberi's user avatar
1 vote
0 answers
341 views

Geth stops working after being fully synced

I have a Geth server in full mode. It was synced fully and I was using it normally for weeks. Today, I wanted to check the synchronization status, so I used geth attach command to enter to the Geth ...
Mohammad Saberi's user avatar
1 vote
3 answers
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 ...
Dalbino's user avatar
  • 46
0 votes
0 answers
88 views

How to duplicate a Geth server?

I have a Geth server which is fully synced, but the second server I have lunched cannot being synced after 2 weeks! I don't know why is this happening, but I decided to test another way. I setup a new ...
Mohammad Saberi's user avatar
3 votes
1 answer
4k views

Can we improve the performance of Geth server by setting maxpeers to 0?

I've lunched a Geth server in full node. I think the performance of machine for syncing is not acceptable and needs much more time to be synced fully. I would like to know if I set maxpeers to a low ...
Mohammad Saberi's user avatar
2 votes
2 answers
768 views

Why knownStates and pulledStates are always 0 on my full node?

It's the second time that I run a Geth in full node. The first one got synced fully, but the second one did not sync after a week. Both servers have the same configuration and infrastructure. Using ...
Mohammad Saberi's user avatar

1
2
3 4 5
12