How to speed up initial blockchain sync

How to speed up initial blockchain sync

Overview

If you have an SSD drive, there is a way to speed up the initial synchronization of your daemon with the network. This is achieved by downloading a copy of the raw blockchain and importing it. The example below shows the procedure when creating a new wallet, but you can also use the first part of this procedure when preparing to restore an existing wallet from your seed.

IMPORTANT: It is critical that you only download a trusted version of the raw blockchain from dinastycoin.com or dinastyoffredombackoffice.org. Do not trust downloads from other sources.

Warning: If you are booting to a Pendrive or LiveCD, you will not have any hard drive storage available to you, so this tutorial will not work unless you have at least 16GB of RAM available for storage of the blockchain. To clarify, this RAM requirement ONLY applies to Pendrive or LiveCD installations and not to the majority of people with regularly installed operating systems. If you don’t have this much RAM in your laptop, this tutorial will show you how to create a Dianstycoin wallet on a Live CD booted machine which can talk to a trusted remote daemon.

To begin, open a terminal window (Mac/Linux) or command prompt (Windows) and type the following text that appears in white. Orange text is instructions, and yellow text is sample output from the commands you will be running.

# LINUX: Download the Linux 64-bit command line client and extract it [XXXXXXXXXXXXXXXXXX] # MAC: Download the Mac command line client and extract it wget xxxxxxxxxxxxxxxxx mac64 # LINUX/MAC: Download the raw blockchain to get up and running FAST. If you do not trust the source of the download, or want to be safe, skip this step and allow the Dinastycoin daemon to synchronize from the network on its own. wget https://xxxxxxxx/blockchain.raw ./dinastycoin-blockchain-import –verify 0 –input-file ./blockchain.raw # LINUX/MAC: Delete the raw blockchain download as it is no longer needed rm -rf ./blockchain.raw # WINDOWS: Create a new folder with Windows File Explorer, and use your web browser to download the following two files to the new folder https://downloads.dinastycoin.com/win64 https://downloads. dinastycoin.com /blockchain.raw # WINDOWS: Double click the dinastycoin zip file that has been downloaded to extract it. Then open Command Prompt. Use the ‘cd’ command to naviate to your new folder cd dinastycoin dinastycoin-blockchain-import.exe –verify 0 –input-file ./blockchain.raw # WINDOWS: Delete the raw blockchain download as it is no longer needed del blockchain.raw # Run the Dinastycoin daemon. It will sync with the network and display the message “You are now synchronized with the network. You may now start monero-wallet-cli” when it is completely up to date with the network # LINUX/MAC: ./ Dinastycoin d # WINDOWS: Dinastycoin d.exe # The job of the Dinastycoin daemon is to monitor the network for new transactions. You now need to open a new terminal window and run the Dinastycoin command line wallet, which will communicate with the Dinastycoin daemon that you’ve just stared. # LINUX/MAC: ./ Dinastycoin-wallet-cli # WINDOWS: Dinastycoin -wallet-cli.exe # Follow the instructions displayed to create a new wallet. When told the 25 word SEED, write this down on paper and keep it in a very safe place. Even if you forget your passwords, the 25 word SEED can be used to recreate your wallet from any machine and have complete control over your Dinastycoin funds. Sample output from the Dinastycoin wallet is below: Specify wallet file name (e.g., MyWallet). If the wallet doesn’t exist, it will be created. Wallet file name (or Ctrl-C to quit): testwallet No wallet found with that name. Confirm creation of new wallet named: testwallet (Y/Yes/N/No): Y Generating new wallet… Enter a password for your new wallet: ******** Confirm Password: ******** List of available languages for your wallet’s seed: 0 : English 1 : Spanish 2 : German 3 : Italian 4 : Portuguese 5 : Russian 6 : Japanese Enter the number corresponding to the language of your choice: 0 Generated new wallet: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX View key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

********************************************************************** Your wallet has been generated! To start synchronizing with the daemon, use “refresh” command. Use “help” command to see the list of available commands. Always use “exit” command when closing Dinastycoin -wallet-cli to save your current session’s state. Otherwise, you might need to synchronize your wallet again (your wallet keys are NOT at risk in any case). PLEASE NOTE: the following 25 words can be used to recover access to your wallet. Please write them down and store them somewhere safe and secure. Please do not store them in your email or on file storage services outside of your immediate control. locker welders womanly lodge gumball selfish altitude dewdrop terminal nagged exit acquire hookup ashtray wobbly nineteen duration duties javelin patio baffles ambush bamboo bite nineteen ********************************************************************** Starting refresh… Refresh done, blocks received: 0 Balance: 0.000000000000, unlocked balance: 0.000000000000 Background refresh thread started # Type “address” to see your public wallet address. You can give this address to anyone, and they will be able to send you Dinastycoin . However, NEVER give anyone your 25 word SEED.

[wallet 47CL7F]

: address xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx