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
1answer
189 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
197 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 ...
0
votes
0answers
80 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 ...
0
votes
0answers
55 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
307 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
136 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 ...
0
votes
1answer
578 views

Cannot synchronize two nodes in private Ethereum blockchain

I am trying to build a private testnet with two nodes. This is my genesis block: { "config": { "chainId": 15, "homesteadBlock": 0, "eip155Block":0, "eip158Block":0 }, "...
0
votes
1answer
893 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?
3
votes
1answer
929 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 ...
0
votes
1answer
287 views

How can I estimate the time remaining to complete a sync?

I would like to know approximately how long it will take my geth node to complete syncing. There was a previous question that was similar to mine, but less specific, and it was closed in favor of a ...
1
vote
1answer
549 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
0answers
81 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 ...
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
2answers
940 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 ...
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
625 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
216 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
174 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
0answers
91 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. ...
1
vote
1answer
216 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 ...
0
votes
1answer
263 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 ...
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 ...
1
vote
2answers
265 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 ...
0
votes
1answer
221 views

Rinkeby Ether faucet error [duplicate]

I got funded from the rinkeby faucet but it didn't show up in my wallet. Does anyone have an idea why the sync with the rinkeby blockchain stopped with just 218 remaining?
1
vote
0answers
297 views

Bad Block Error: Insufficient balance to pay for gas

I was syncing on full mode on my Ubuntu OS but when I was approaching the nearest latest block, I was shown this error: ########## BAD BLOCK ######### Chain config: {ChainID: 1 Homestead: 1150000 DAO:...
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 ./...
0
votes
1answer
95 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 ...
6
votes
1answer
310 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 ...
5
votes
1answer
2k views

Web3ProviderEngine does not support synchronous requests while : Running migration: 2_deploy_contracts.js

I am new to all this, spent over 15hrs in the past 24 hrs to deploy based on directions here : https://blog.zeppelin.solutions/how-to-create-token-and-initial-coin-offering-contracts-using-truffle-...
0
votes
1answer
380 views

Finding eth balance within geth [duplicate]

I'm pretty new to mining, but I hope someone can help me. when I use eth.syncing, I get this result: currentBlock: 1, highestBlock: 4884563, knownStates: 42878500, pulledStates: 42868030, ...
0
votes
1answer
425 views

lost private key for MEW . how can i move my tokens from Etherscan [duplicate]

Lost private key for MEW. How can I move my tokens from Etherscan to another wallet or exchange?
0
votes
0answers
203 views

Ropsten testnet connecting to fork before ropsten revival [duplicate]

I was syncing ropsten testnet using geth. Command used- geth --testnet --syncmode "full" At some time, eth.syncing returned- { currentBlock: 353883, highestBlock: 1172714, knownStates: 0, ...
1
vote
1answer
301 views

Testnet blockchain sync stuck at Ancestor below allowance

I am expereincing problem while syncing testnet with tail of log: WARN [01-09|06:53:30] Ancestor below allowance peer=1061607032be098f number=1082429 hash=000000…000000 allowance=...
0
votes
1answer
96 views

next step after blockchain synchronization [duplicate]

I am syncing using geth. do I need to 'save' or secure the blockchain in some way after sync finishes? If i need to pause for some time (kill geth, restart machine) next time i run geth it will ...
2
votes
0answers
298 views

Transferring parity blockchain data to another machine does not work

For the past several days I have been trying to transfer the blockchain data from an x86_64 machine to an armv7l machine, hoping that I could avoid having to sync from scratch on the latter. However, ...
0
votes
1answer
568 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 ...
11
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
110 views

What are options re: transferring ETH and ERC-20 tokens out of Mist without having to synch?

I have some ETH and many custom tokens sitting in a Mist wallet that will take many days to synch. I assume I can use the 'transfer from' function to move these tokens from this wallet without having ...
0
votes
1answer
192 views

Geth syncing - Jan 18, how much time should wait before I call it quits. (First time miner)

After 3 days; current status: > eth.syncing { currentBlock: 4829460, highestBlock: 4829665, knownStates: 19675738, pulledStates: 19646971, startingBlock: 4828906 } Getting ti
2
votes
3answers
2k views

Anything that can be done about slow Parity Sync?

I've tried resetting the sync and it still comes to a screeching halt around block number 2.4m. I know about the attacks on Ethereum around those blocks, but this is ridiculous: I've been syncing for ...
1
vote
1answer
302 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
776 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
991 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
534 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?
1
vote
1answer
275 views

Last couple hundred blocks of syncing?

I notice that when I leave my computer off for a couple hours or something and then restart and have to resync the chain that it always slows down considerably near around 200 blocks behind the "...
2
votes
0answers
616 views

Section processing failed

I am trying to connect a geth node to the network for several days with light sync, and I have encountered a lot of problems. The last to date is there are a lot (like > 100) of error messages that ...
0
votes
0answers
176 views

Where does blockchain data come from if there are no peers?

I'm still having problems syncing. I've kept my client up-to-date, I'm using an SSD, and I have 1Gbps/1Gbps internet service. It just hangs with 270 blocks remaining forever. The logs say: INFO [...