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
1
vote
0answers
217 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
1answer
62 views

Can Raiden Network transfers occur offline?

Since Raiden is off-chain, could I theoretically set up some channels among a group of local parties and conduct transactions offline via NFC, bluetooth, wifidirect, etc.? Since it's off chain and ...
1
vote
1answer
156 views

How my node is sync with highest block number of block-chain in which block number transaction have done of some ether? [closed]

I am new to Ethereum block-chain.One question in my mind. I connect geth node to test network with "--fast and --cache=2048" parameters.So my node is sync is after 8 hours.And I successfully deploy ...
1
vote
3answers
1k views

Alternative of geth Ethereum Node

I am new to Ethereum block-chain.I am trying to syncing ethereum node in testnet(Rinkeby).I am using HDD for syncing geth ethereum node.I know it very slow to syncing. So,Is it any alternative of ...
3
votes
3answers
3k views

How to find the sync status of your geth node via RPC?

NOTE: this question has been marked as a duplicate of another question which is trying to get the status using CONSOLE. We are trying to get the status using the RPC API, which is different. In ...
2
votes
1answer
211 views

How to increase stored block states from 128 to 10 000 in Geth?

AFAIK Geth preserves states for the last 128 blocks by default. I would like to keep states for, say 10000 blocks (not turning myself into archive node). Is it possible?
2
votes
2answers
216 views

What geth sync mode to use for a blockchain-explorer-like analysis

I want to do analysis of the ethereum blockchain in a manner similar to what blockchain explorer sites do to answer a few more general questions. I will need info on all addresses and transaction ...
1
vote
0answers
28 views

Should I wait for sync to be 'finished' in 'syncmode=light' before I could check account balance OR transact using the account? [duplicate]

NOTE: I'm aware of another question, but, it's related to 'fast' syncmode, and mine is of 'light' syncmode. I'm running light node client for rinkeby using command: geth --rinkeby --rpc --rpcapi ...
0
votes
0answers
145 views

Getting Errors while syncing of blocks (Ropsten network)

Today the block sync with Ropsten network on my machine is giving me following error :- ERROR[06-05|06:59:12] ########## BAD BLOCK ######### Chain config: {ChainID: 3 Homestead: 0 DAO: <nil> ...
7
votes
2answers
434 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
114 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
74 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
92 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. ...
3
votes
2answers
887 views

How metamask works

I want to understand how MetaMask works. When a user connects to the main network using MetaMask, there are a few possibilities I can think of: MetaMask creates a dedicated full node (seems ...
0
votes
2answers
202 views

How block are validated in a private blockchain

I have running a private blockchain with 4 nodes, and when i'm creating my Dapp, i have specified for the web3 address only one node ( Ip; port, RCP) So, my question is , how the others nodes ...
0
votes
0answers
406 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
2k 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 ...
0
votes
1answer
1k 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 ...
1
vote
1answer
891 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
244 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
276 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
96 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
74 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
372 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
387 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 ...
1
vote
2answers
1k 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
3k 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?
7
votes
1answer
3k 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
3k 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
773 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
818 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
100 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
3k 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 ...
2
votes
2answers
3k 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
54 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?
6
votes
1answer
2k 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
1answer
421 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); // ...
2
votes
0answers
244 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
128 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
247 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
480 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 ...
5
votes
1answer
11k 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
443 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
294 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
433 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
50 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
261 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
86 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
474 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
3k 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-...

1 2 3
4
5
11