User Tools

Site Tools


daemon:bootstrapping_the_blockchain



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
daemon:bootstrapping_the_blockchain [2017/07/05 18:19]
Fornax created
daemon:bootstrapping_the_blockchain [2019/09/01 02:43] (current)
aerrejon Adding SiaStats consensus download link
Line 5: Line 5:
 ===== 1. Getting the database ===== ===== 1. Getting the database =====
  
-Community member S-anasol made a website for downloading automatically generated database snapshots, which is available from https://consensus.siahub.info/. Go ahead and download the file.+There are currently three public consensus database downloads available:
  
 +  * Siahub.info: https://consensus.siahub.info/ (Courtesy of Sanasol)
 +  * SiaSetup.info: https://siasetup.info/consensus (Courtesy of RBZL)
 +  * SiaStats.info: https://siastats.info/consensus (Courtesy of hakkane)
 +
 +Select either link above and download the consensus database provided there.
 ===== 2. Installing the database ===== ===== 2. Installing the database =====
  
-While the consensus.db file is downloading you need to shut down any running instance of Sia (either siad or Sia-UI). You can close Sia-UI by right clicking the Sia icon in the system tray and choosing "Quit Sia". If you're running the daemon you need to issue a ''siac stop'' command and wait for the shutdown to finish.+While the consensus.db file is downloading you need to shut down any running instance of Sia (either siad or Sia-UI). You can close Sia-UI by right clicking the Sia icon in the system tray and choosing "Quit Sia". On Linux simply closing the Sia-UI window is enough. If you're running the daemon you need to issue a ''siac stop'' command and wait for the shutdown to finish.
  
 When the consensus.db file has finished downloading you need to navigate to your Sia consensus data directory. For users of the commandline client this is in the same place as the ''siad'' executable. If you're using Sia-UI it can be found in an operating system-specific location: When the consensus.db file has finished downloading you need to navigate to your Sia consensus data directory. For users of the commandline client this is in the same place as the ''siad'' executable. If you're using Sia-UI it can be found in an operating system-specific location:
  
 ^ Operating system  ^ Consensus data directory                                   ^ ^ Operating system  ^ Consensus data directory                                   ^
-GNU/Linux based   | ''$HOME/.config/Sia-UI/sia/consensus''                     |+| Linux based       | ''$HOME/.config/Sia-UI/sia/consensus''                     |
 | Microsoft Windows | ''%APPDATA%\Sia-UI\sia\consensus''                      | | Microsoft Windows | ''%APPDATA%\Sia-UI\sia\consensus''                      |
 | Mac OS X          | ''$HOME/Library/Application Support/Sia-UI/sia/consensus'' | | Mac OS X          | ''$HOME/Library/Application Support/Sia-UI/sia/consensus'' |
Line 22: Line 27:
 ===== 3. Initializing the new database ===== ===== 3. Initializing the new database =====
  
-Now it's time to start Sia again. Sia will automatically detect the new database and start scanning it for transactions that might be related to your wallet. This process is very intensive on the storage medium. It may take several hours on an old hard disk driveor around one hour on a solid state drive.+Now it's time to start Sia again. Sia will automatically detect the new database and start scanning it for transactions that might be related to your wallet. Sia also has to build data related to other modules (such as renting and hosting, even if you don't use them) from the new consensus data. This process is very intensive on the storage medium. If you just downloaded Sia and have never opened it or fully synched before, this process can take several hours, even with a solid state drive - it may take longer on a traditional hard drive. 
 + 
 +If you are using the Sia-UI, you'll see a message that loading may take a while after upgrading. If you're using the Sia daemon (siad) via command line, you may see the output hang for a long time. As long as you don't see an error message, Sia is working properly to process the new consensus database and you simply need to wait for it to finish.
  
-If you are starting siad from the terminal you'll see that it hangs on ''(2/6) Loading consensus...''. If you're using the UI it will tell you that upgrading to a newer version will take a while, along with a ling to the release notes. This is totally normal, just go work on something else and let Sia do its thing. When it's finished you'll have a fully operational and synchronized Sia clientcongratulations!+Go work on something else and let Sia do its thing. When it's finishedyou'll have a fully operational and synchronized Sia client congratulations!
daemon/bootstrapping_the_blockchain.1499278745.txt.gz · Last modified: 2017/07/05 18:19 by Fornax