{"id":2160,"date":"2018-10-06T02:28:49","date_gmt":"2018-10-06T02:28:49","guid":{"rendered":"http:\/\/www.talkcrypto.org\/blog\/?p=2160"},"modified":"2018-10-06T02:32:11","modified_gmt":"2018-10-06T02:32:11","slug":"how-long-does-it-take-to-do-geth-sync","status":"publish","type":"post","link":"https:\/\/www.talkcrypto.org\/blog\/2018\/10\/06\/how-long-does-it-take-to-do-geth-sync\/","title":{"rendered":"How long does it take to do geth sync?"},"content":{"rendered":"<p>Here are some latest stats on how long it takes to synchronise with the Ethereum blockchain. <a href=\"https:\/\/www.talkcrypto.org\/blog\/2018\/01\/23\/what-is-geth\/\" target=\"_blank\" rel=\"noopener\">Geth<\/a> can run in 3 modes. Fast, full or light.<\/p>\n<p>In light mode, geth gets only the current state. To verify elements, it needs to ask to full (archive) nodes for the corresponding tree leaves.<\/p>\n<h3>Light<\/h3>\n<pre>&gt; geth --syncmode=light<\/pre>\n<p>will take about 15-20 minutes and take about 500Mb of disk space. The starting block was about 300,000 blocks behind the current block.<\/p>\n<p><a href=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-06-at-11.53.10-am.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-2161 size-full\" src=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-06-at-11.53.10-am.png\" alt=\"\" width=\"411\" height=\"274\" srcset=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-06-at-11.53.10-am.png 411w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-06-at-11.53.10-am-300x200.png 300w\" sizes=\"(max-width: 411px) 100vw, 411px\" \/><\/a> <a href=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-06-at-12.14.24-pm.png\"><img decoding=\"async\" class=\"alignnone wp-image-2162 size-full\" src=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-06-at-12.14.24-pm.png\" alt=\"\" width=\"259\" height=\"159\" \/><\/a><\/p>\n<h3>Fast<\/h3>\n<p>In fast mode, which is the default so no flag is required, it can take a bit of time. It gets the block headers, the block bodies, it processes no transactions until\u00a0<code>current block - 64<\/code>(*). Then it gets a snapshot state and goes like a full synchronization<\/p>\n<pre>&gt; geth<\/pre>\n<p>For me it took 1 hr to download 60% of the blockchain but the remaining 40% took another 5 hrs. It currently takes ~120 Gb of HDD.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-02-at-11.26.44-am.png\"><img decoding=\"async\" class=\"alignnone wp-image-2163 size-medium\" src=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-02-at-11.26.44-am-278x300.png\" alt=\"\" width=\"278\" height=\"300\" srcset=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-02-at-11.26.44-am-278x300.png 278w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-02-at-11.26.44-am.png 758w\" sizes=\"(max-width: 278px) 100vw, 278px\" \/><\/a> <a href=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-02-at-11.27.15-am.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2164\" src=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-02-at-11.27.15-am-300x185.png\" alt=\"\" width=\"300\" height=\"185\" srcset=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-02-at-11.27.15-am-300x185.png 300w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-02-at-11.27.15-am.png 518w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h3>Full<\/h3>\n<p>Fully mode will take over 1Tb in storage and will take forever to sync. Currently sync&#8217;ing so TBA.<\/p>\n<p>&nbsp;<\/p>\n<p>The specs of my laptop is:<\/p>\n<p><a href=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-04-at-6.44.35-am.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2165\" src=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-04-at-6.44.35-am-300x160.png\" alt=\"\" width=\"300\" height=\"160\" srcset=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-04-at-6.44.35-am-300x160.png 300w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/Screen-Shot-2018-10-04-at-6.44.35-am.png 476w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The Internet connection was around 50Mb\/s (Wireless home fibre)<\/p>\n<p>&nbsp;<\/p>\n<p>Ref:<\/p>\n<p>https:\/\/ethereum.stackexchange.com\/questions\/11297\/what-is-geths-light-sync-and-why-is-it-so-fast<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are some latest stats on how long it takes<\/p>\n","protected":false},"author":1,"featured_media":2166,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2160","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ethereum"],"featured_image_urls":{"full":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/fastmode.jpg",300,185,false],"thumbnail":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/fastmode-150x150.jpg",150,150,true],"medium":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/fastmode-300x185.jpg",300,185,true],"medium_large":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/fastmode.jpg",300,185,false],"large":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/fastmode.jpg",300,185,false],"1536x1536":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/fastmode.jpg",300,185,false],"2048x2048":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/fastmode.jpg",300,185,false],"chromenews-featured":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/fastmode.jpg",300,185,false],"chromenews-large":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/fastmode.jpg",300,185,false],"chromenews-medium":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2018\/10\/fastmode.jpg",300,185,false]},"author_info":{"info":["seandotau"]},"category_info":"<a href=\"https:\/\/www.talkcrypto.org\/blog\/category\/ethereum\/\" rel=\"category tag\">Ethereum<\/a>","tag_info":"Ethereum","comment_count":"2","_links":{"self":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts\/2160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/comments?post=2160"}],"version-history":[{"count":3,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts\/2160\/revisions"}],"predecessor-version":[{"id":2169,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts\/2160\/revisions\/2169"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/media\/2166"}],"wp:attachment":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/media?parent=2160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/categories?post=2160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/tags?post=2160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}