Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: glub0x on February 15, 2013, 09:43:57 AM



Title: downloading blockchain before importing wallet.dat in satoshi client?
Post by: glub0x on February 15, 2013, 09:43:57 AM
Hello, it's all in the question, i got an encrypted wallet.dat file. I know if i just put it in the satoshi client, i'll have to wait for him to download the all blockchain... So my wallet.dat will be exposed (time to dl the 5gb ...).
I'd just like to check it's integrity so basically download the blockchain and THEN put the wallet.dat to only expose it for a few second.
Also i would love to do it on my ubuntu livecd but i'm not sure if this is even possible.
any idea?


Title: Re: downloading blockchain before importing wallet.dat in satoshi client?
Post by: DannyHamilton on February 15, 2013, 10:28:29 AM
Hello, it's all in the question, i got an encrypted wallet.dat file. I know if i just put it in the satoshi client, i'll have to wait for him to download the all blockchain... So my wallet.dat will be exposed (time to dl the 5gb ...).
I'd just like to check it's integrity so basically download the blockchain and THEN put the wallet.dat to only expose it for a few second.
Also i would love to do it on my ubuntu livecd but i'm not sure if this is even possible.
any idea?

You probably have several options (more than one way to skin a cat).  The first that comes to mind is:

  • Set up a brand new empty wallet on an online computer and wait for it to acquire the full blockchain.
  • Copy the blockchain files onto removable media
  • Boot an offline computer from your liveCD
  • Install Bitcoin-Qt on the offline computer
  • Copy the blockchain files from the removable media onto the offline computer
  • Copy your wallet.dat from the removable media onto the offline computer
  • Run "Bitcoin-Qt -rescan" from a command line to force Bitcoin-Qt to rescan the blockchain using the keys/addresses from the wallet