ethereum downloading chain structure

Clone this wiki locally /ethereum/mist/wiki You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window._ Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top up vote 5 down vote favorite When installing wallet + mist v0.8.3 you see something like this: What is meant by "chain structure"?Is the "222 of 4446" just a download progress indicator or does each single part have a meaning?mist blockchain synchronization up vote 1 down vote I found the relevant code, including: Downloading chain structure __displayState__ of __displayKnownStates__ This seems to imply that "chain structure" refers to the changes in state of the Ethereum Virtual Machine, with, if I understand correctly, many changes in state per block.Browse other questions tagged mist blockchain synchronization or ask your own question.
_ Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top up vote down vote favorite 3 Bitcoin used to offer sharing/downloading a bootstrap.dat which contains the whole blockchain.Are there alternatives to getting it trickling through the peer-to-peer network?bitcoin zelf makenCan I just download it somewhere?bitcoin domain parkingWouldn't this be ideal for distribution via torrent?bitcoin haendlerIf so, how do I import it into the Ethereum client?bitcoin to rmbMy client would still be validating this data (can it?), and it is all signed and proof-of-worked, so there is no real security problem here, is there?bitcoin mining with cisco
blockchain synchronization bitcoin up vote down vote Answer If you want to download the blockchain data from an external source that is up to you, but that does come with risks of the data being corrupted or sabotaged in a way to compromise your machine or Ethereum wallets.So the "security issue" is that you are trusting an un-trusted, non-Ethereum network source when you download the file.c4 bitcoin certificationAs long as you trust the source or want to take that risk your Ethereum client will still validate the data you downloaded as correct for the Ethereum network you connect to (mainnet, testnet [Morden], etc.).That all being said, I do not know of any third party sites that offer the Ethereum blockchain as a download.If you were to create such a site, it is possible to export and import the Ethereum blockchain data using the commands below Details Using geth: geth export geth import Using eth (C++) eth --import eth --export Myfile --format binary --from 45 --to latest (Formats supported: hex (newlines separating), binary or JSON --from and --to also support blockhashes) Source up vote 6 down vote /tools/ethereum/ at your own risk, saving 1 or 2 days of sync.
up vote 2 down vote You can download a very recent version (2017-03-07) also from here: http://mudra.cloud/ethereum/blockchain.html Your Answer Sign up or log in Sign up using Google Sign up using Email and Password Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service.Browse other questions tagged blockchain synchronization bitcoin or ask your own question.This is an archived post.You won't be able to vote or comment.If you are running a geth node, try re-fast-syncing from scratch to clear out most of the junk created by pre-fork SUICIDE spam.The reduction in DB size will substantially improve block processing times.Also, use --cache 1024 or higher.(self.ethereum)submitted by Just some guy_ Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top up vote down vote favorite 7 I'm running a geth node on slow hardware.
At the current rate of progress it could be several days before I can download all the blockchain.Is there a way to get it to synchronise more quickly?go-ethereum synchronization up vote down vote Don't forget --cache Everyone mentions --fast but you probably also need --cache=1024 (and --jitvm may also help).Without it, you are running with the default which is --cache=16.A 50% speed increase is possible just by increasing the cache.If you are starting from the beginning, use: geth --fast --cache=1024 --jitvm If you already have some of the blockchain, use: geth --cache=1024 --jitvm Depending on your RAM, you can also try with higher values, like --cache=2048.Source If you are using the geth client, there are some things you can do to speed up the time it takes to download the Ethereum blockchain.If you choose to use the --fast flag to perform an Ethereum fast sync, you will not retain past transaction data.Note You cannot use this flag after performing all or part of a normal sync operation, meaning you should not have any portion of the Ethereum blockchain downloaded before using this command.
See this Ethereum Stack.Exchange answer for more information.Below are some flags to use when you want to sync your client more quickly.--fast This flag enables fast syncing through state downloads rather than downloading the full block data.This will also reduce the size of your blockchain dramatically.NOTE: --fast can only be run if you are syncing your blockchain from scratch and only the first time you download the blockchain for security reasons.See this Reddit post for more information.--cache=1024 Megabytes of memory allocated to internal caching (min 16MB / database forced).Default is 16MB, so increasing this to 256, 512, 1024 (1GB), or 2048 (2GB) depending on how much RAM your computer has should make a difference.--jitvm This flag enables the JIT VM.up vote down vote The --fast command line option will sync more quickly.You have to use it from scratch though, you can't use it if the blockchain has been downloaded already.
If you have a node which is already synced then you can use the Javascript interface and the exportChain and importChain commands to sync your node.up vote 7 down vote There are 2 ways using geth, that i am aware of 1. sync with the --fast you can start with geth --fast which Enables fast syncing through state downloads 2. use import command in geth to do this, you need an already synced blockchain from geth and it has to be exported with geth export filename, which can be imported to geth import filename up vote 6 down vote To synchronize geth the fastest way, i recommand to use geth 1.4.6.Older versions are way slower.Spoiler: HDD synch is very slow.There are two modes for synchronization: geth --fast --cache 1024 --jitvm: this method is very fast on powerful computer (25min on my system i7 quad core 16Go, SSD and Gbit/s bandwidth).It uses 4.5GB on disk geth --cache 1024 --jitvm: this method is slower (3h on my system i7 quad core 16Go, SSD and Gbit/s bandwidth).
It uses 21GB on disk Tip 1: If you have already a geth synchronized on a computer, you could backup the chaindata directory and copy it for another computer.I check on OS X, Linux and Windows (all in 64bits version).Tip 2: The export/import method works.The import duration is very long because it checks all transactions.Tip 3: If you have enough RAM and no SSD, use your RAM as ramdisk and select your ramdisk with the --datadir option.You need 4.2GB for a fast synch.When the synch is completed, copy the directory chaindata on its original place: ~/.ethereum on linux ~/Library/Ethereum on os x %APPDATA%\Ethereum on Windows I have made many benchmarks on different versions for this question: How much faster is it to sync with --jitvm?Note 1: if you use a HDD, it seems that the synchronization is slower.The fast method was 4h on my system.Note 2: RAMDiskCreator on OS X is a freeware to create a RAM Disk.jitvm and cache options have a minor impact on my bench up vote 5 down vote 3. sync on a fast machine and copy chaindata directory to your slow machine The chaindata is portable across architectures.