Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: dishwara on April 20, 2011, 01:46:49 AM



Title: Update blocks in bitcoin client without running bitcoin.exe
Post by: dishwara on April 20, 2011, 01:46:49 AM
Hi,

I saw the database which holds the number of blocks is keep on growing. When i started it was 60+MB, Now its, 126 & 80 MB files.

I THINK (not sure), that only 2 files, blkindex.dat & blk0001.dat is used to store block information.
Using bitcoin client to download all the new blocks takes time & also network bandwidth.
The network bandwidth is precious & needed for other purposes, not to upload same file to every one.
Also re installation & new user installing makes user to wait some even 20+ hours to download block database.

I created a dropbox & i used a backup software to automatically back up the above 2 files & zip it, to reduce space & upload to my dropbox.
Users just need to download the zip file & extract it to the appdata\roaming\bitcoin in windows 7 & i dont know about other windows version.
Now they get all the blocks instantly & it wont use bitcoin bandwidth.

I will auto backup & zip & upload every 10 hours for now.

My dropbox folder is
http://dl.dropbox.com/u/17444737/bitDB20110420_0643am.zip

For trying you can use portable bitcoin client instead of messing with your main bitcoin client. Portable & main have no file connection for you to loose any data/wallet/bitcoins....

Portable edition by bbulker & it works fine.
http://bitcointalk.org/index.php?topic=4868.msg71216#msg71216

please try & send feedback.

It seems dropbox won't allow to make a folder public. only the default folder "public" can be shared with anyone & it don't support folders, only files.
Also, i have to manually give the link to download.
If some other software do best please tell.


If you find useful, you can always donate.



Title: Re: Update blocks in bitcoin client without running bitcoin.exe
Post by: Matt Corallo on April 20, 2011, 11:19:24 AM
tar.gz versions have also been available at http://bitcoin.bluematt.me/bitcoin-nightly/blockchain-nightly/ (http://bitcoin.bluematt.me/bitcoin-nightly/blockchain-nightly/).


Title: Re: Update blocks in bitcoin client without running bitcoin.exe
Post by: dishwara on April 20, 2011, 02:46:56 PM
tar.gz versions have also been available at http://bitcoin.bluematt.me/bitcoin-nightly/blockchain-nightly/ (http://bitcoin.bluematt.me/bitcoin-nightly/blockchain-nightly/).

You are right. This post is actually not needed. I thought database is not available offline, so created this method.
Now, understand it is not needed.