Bitcoin Forum
November 11, 2024, 04:56:41 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Update blocks in bitcoin client without running bitcoin.exe  (Read 2656 times)
dishwara (OP)
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
April 20, 2011, 01:46:49 AM
Last edit: April 20, 2011, 02:11:08 AM by dishwara
 #1

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.

Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 755
Merit: 515


View Profile
April 20, 2011, 11:19:24 AM
 #2

tar.gz versions have also been available at http://bitcoin.bluematt.me/bitcoin-nightly/blockchain-nightly/.

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
dishwara (OP)
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
April 20, 2011, 02:46:56 PM
 #3

tar.gz versions have also been available at 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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!