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
7
votes
2answers
389 views

How can I maximize the probability that my ETH nodes stay synchronized with mainnet for as long as possible?

I run three full ETH nodes, one on my local, home network, and two in the cloud. All three make use of geth. My "local" node, is always in sync with mainnet, i.e. always showing the same last block ...
0
votes
1answer
101 views

Why is that the 'blocks count' is always in multiples of 192?

I'm running light node client for rinkeby using command: geth --rinkeby --syncmode=light --rpc --rpcapi personal,db,net,eth,web3 The terminal runs continuously and I don't quit it when I close the ...
0
votes
1answer
66 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 ...
1
vote
1answer
67 views

What happens when transaction is sent from smart contract?

If during smart contract execution it decides to send a transaction, then transaction would be created, validated and broadcasted to the network from all the nodes executing this smart contract. ...
0
votes
1answer
1k views

Geth not synchronizing - Firewall issue?

I am trying to sync an ethereum node on my computer, which is connected to a university network. However it seems that geth is not finding any peers, same thing with mist. It looks to me like the ...
5
votes
2answers
3k views

How to fix “address already in use” error when attempting to launch geth console?

I'm downloading the chain and I've processed more than 2 million blocks so far. I'm trying to attach to the geth console to view the syncing status, but I've tried typing geth console in another ...
1
vote
2answers
109 views

Trouble getting started with Ethereum Blockchain

I'm trying to get started with Ethereum. So I tried the Ethereum wallet, but it took way too long, and after it finished I couldn't even mine on the test network. So instead, I tried to use GETH, and ...
2
votes
3answers
3k views

Node on private blockchain with custom genesis file not mining nor synced

I am running two nodes over a private blockchain with a custom genesis file that uses the new "config" recommended here. However, aside from the random handshakes with external nodes I am trying to ...
1
vote
1answer
744 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
0answers
314 views

Can not sync to ropsten

I have trouble syncing to Ropsten. I have just upgraded geth version to 1.8.7, then i run the command to remove the old chain: geth --testnet removedb. Then the command: geth --testnet --syncmode "...
0
votes
1answer
195 views

How to add an enode with Ubuntu and Parity UI?

I have a problem of parity syncing and some one suggest me to use an enode as follows : enode://...
0
votes
1answer
756 views

How to synchronise Ganache-CLI accounts with Ganache-UI?

When I launch ganache-cli for Port 7545, it will create 10 accounts by default. ganache-cli -p 7545 However, when I then open the Ganache-Desktop-App, it will show different accounts and the ...
0
votes
1answer
578 views

Can I mine without synchronizing the blockchain by using a mining pool?

Since I'm not able to complete the blockchain synchronization, can I just mine using a pool? And if it's possible, how do I retrieve the coins? P.S. I made an offline wallet with a Rpi, given that I ...
0
votes
1answer
204 views

Web3 empty response when geth not synced

I am running my own geth node and doing some test transactions. When making a transaction trough web3 I get an response of transaction information. But sometimes it happens that my node is not fully ...
25
votes
2answers
44k views

Why is my node synchronization stuck/extremely slow at block 2,306,843?

Using macOS 10.12.1 with Ethereum Wallet 0.8.7, nodes are connected but Sync doesn't even start. Stuck at block 2,306,843. What can I do? Please keep in mind, I am neither a coder nor a tech geek.
0
votes
0answers
81 views

Runtime out of memory on RPi with ethereum node

I have a private network of ethereum with 2 miners on my PC and a node on RPi, after syncing it says: Fatal: runtime: out of memory The sd card is 16Gb and it should have plenty of free space, is RAM ...
3
votes
3answers
1k views

How to sync pyethapp (python ethereum client) with the mainnet?

I just installed pyethapp. However, I'm unable to sync the blockchain. Here is what I get when I run the client: 0 ✓ user@host ~ $ pyethapp run Failed to import scrypt. This is not a fatal error but ...
0
votes
0answers
56 views

Gap in the block chain synchronization when interrupted

I was synchronizing the block chain with geth --fast --cache=1024. Then I got the message synchronization failed and I pressed CTRL+C because I had for some reasons to shutdown the VM [I am running ...
1
vote
0answers
312 views

Peer node is not syncing all blocks

I'm running a private network with two nodes (geth 1.8.3-stable on macOS 10.13.3). Node 1 mined 422 blocks: Node 1: > eth.blockNumber 422 Node 2 is a peer of Node 1 but Node 2 only has the ...
0
votes
2answers
138 views

Is web3.js slow? Should I use it?

I wanted to run web3.js in the browsers of my users. The tasks range from extracting token name and token symbol from token address to deploying contracts. But for example Ethereum Wallet starts ...
2
votes
1answer
258 views

Merkle tree child hashing process

Each non leaf node of a Merkle tree is just the hash of the concatenation of it's children. Does this literally mean stick the 2 hashes together or is there a more intricate process involved? i.e. ...
1
vote
1answer
1k 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
1answer
931 views

How to force geth to sync? [duplicate]

Geth is refusing to sync the last 100 blocks on the ropsten testnet, is there a way to force geth to continue syncing from the console?
1
vote
1answer
572 views

Fatal: Error starting protocol stack: missing block number for head header hash

I didn't check on the running Geth instance and when I executed a function that logs everything in the Blockchain, I had an error that the port I was listening to wasn't responding. I figured out that ...
1
vote
3answers
3k views

Geth is stuck syncing

I'm trying to mine using Geth. Right now, it's syncing and showing: { currentBlock: 3999975, highestBlock: 4000109, knownStates: 16329, pulledStates: 1739, startingBlock: 3999975 } The ...
6
votes
1answer
318 views

Newly mined 'blocks are not synchronized' and imported automatically by it's peer [Error: “Discarded bad propagated block”]. How to rectify?

Step 1: I'm running "Local Private Ethereum Network". And have two local nodes. Node2 is attached to Node1. I started mining in Node1 and it was successful. INFO [01-11|18:37:01] Successfully sealed ...
1
vote
0answers
82 views

How do two nodes discover each other by a third node in a private blockchain?

I'm using geth in three different containers. Note: start a container means start geth and start mining. Each container has its ports exposed. A: -p 30303:30303 -p 8545:8545; B: -p 30304:30303 -p ...
46
votes
1answer
44k 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 ...
1
vote
2answers
967 views

How do I download an entire array using web3?

I have figured out how to download public data from contracts. This is done by calling contract = web3.eth.contract(abi).at(address) and then calling the function of the data. If I have a string ...
8
votes
2answers
3k views

What does mean “Failed to retrieve current release”?

When I start with geth with light syncmode, I get the following error message: ERROR[date] Failed to retrieve current release err="can't fetch trie key ...
1
vote
0answers
49 views

How to approach implementing a new sync mode in Geth? [closed]

Has anyone ever tried implementing your own sync mode in Geth? What's the recommended flow of code change in order to implement your own sync mode?
5
votes
1answer
646 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 ...
1
vote
1answer
217 views

How external functions call works in Solidity? Synced or Asynced?

function redeem(uint256 _token) public { // transfering the token from tokenholder to owner token tokenBalance = token(tokenAddress); tokenBalance.transferToOwner(owner, _token); // ...
1
vote
0answers
175 views

Why does geth use so much bandwidth in light mode?

So I am running latest geth 1.8 (same thing happens with geth 1.7) and I have noticed that I am always downloading at about 2 megabytes / sec and uploading 120 kilobytes / sec. This is caused by geth ...
1
vote
1answer
220 views

Testnet Blockchain Sync

I used geth for windows and ran it as a desktop app. Not sure if I am connected to public blockchain or testnet. How do I check which network is getting synced. ? (I want to download ropsten testnet ...
1
vote
1answer
399 views

Geth syncing gets close to latest block and then stops

I have a new node that gets close to the latest block and then stops syncing. Each time I stop and then restart geth, it will sync back up to about 75 to 100 blocks away from the latest block and ...
1
vote
0answers
92 views

geth only syncing s few blocks at a time

I am running geth with syncmode = full (because I need the full state tree of old blocks) and even though it was syncing over 200-300 blocks at a time a while ago, it is now only syncing a few blocks. ...
0
votes
1answer
280 views

eth.getBalance(eth.coinbase) = 0, node/client not fully synced yet

I just started to get my fingertips wet with Ethereum and Dapps. After receiving some ether on Ropsten to test with: https://ropsten.etherscan.io/address/0x05c86fc0ec0b80715f1cbc2fa96e86ba18e2eb90 I ...
4
votes
1answer
325 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 ...
1
vote
2answers
271 views

Geth some questions. Need help for begginer!

I learned about GETH a few days ago. I need Geth to create wallets of etherum and make transactions with these wallets (I use geth instead of third-party api to create some programs related to eth). I ...
3
votes
1answer
2k views

How can I create a list of peers from my syncing geth node to manually paste into my non-syncing geth node using the admin.addPeer() command?

I have an Ethereum node that is not syncing to the Ethereum network. It is possible that there are some issues with the bootnodes - refer to geth does not sync out of the box . How can I easily ...
3
votes
2answers
9k views

Ethereum Blockchain Size

I synchnorized Ethereum blockchain in my AWS Ubuntu 16.04 server with 110GB Hard Disk. The command I used is geth --syncmode=fast --cache=1024 According to bitinfocharts, the total size of Ethereum ...
17
votes
3answers
16k views

How can i tell if geth is done running?

Well i am new trying to mine and i did the "C:>geth --rpc" and its still going how will i know when its done? i did all the steps leading to this but my pc just keeps running the INFO [05-18|23:32:...
1
vote
1answer
554 views

Geth syncing for 24 hours, still not done [duplicate]

I downloaded Geth 1.6.6 and ran it to sync the blockchain. It's been 24 hours, the chaindata folder is 12.4gb and it's still going. When should I expect it to be done? Is this normal (the website that ...
5
votes
3answers
5k 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 ...
10
votes
1answer
5k views

How do I find out how big the chain structure is for a particular block?

I'm downloading the blockchain from scratch, and it's been stuck at 2442432 for a couple of hours now. The chain structure keeps on downloading though. Is there a way to find out how much of that is ...
1
vote
1answer
45 views

Can `rm` be an alternative to `parity db kill`

In my configuration, I have specified base-path as follows: [parity] chain = "chain-spec.json" base_path = "./parityData" Can I remove chain data by removing database files in parity? rm -rf ./...
12
votes
3answers
18k views

how do you know your db is synced in geth?

In order to answer this question there is a need to get the timestamp of when the database is synced with geth. I can think of two ways of doing that : find the 1st occurrence of 1 block in the geth ...
0
votes
1answer
97 views

Calling web3 in front end layer or back end layer?

I'm building a Dapp using NodeJS and Express with ejs files. I wonder should I call web3 API in the Backend JS file or front end EJS/HTML files? Some thoughts I have is: calling web3 api in backend ...
0
votes
1answer
71 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 ...