Bitcoin Forum
December 10, 2016, 03:14:30 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Movement of Block Database  (Read 944 times)
zellfaze
Full Member
***
Offline Offline

Activity: 142


Security Enthusiast


View Profile WWW
April 05, 2011, 02:24:36 PM
 #1

If I were to move the files:
  • blkxxxx.dat
  • blkindex.dat

That would move the block database I believe.  Is this true?  Could I further use this ability to give new bitcoin users a copy of the block database so that they don't have to wait so long to download it from the other peers?

I haven't delved into the source code of bitcoin yet, and honestly, as I do not know C++ I'm not sure how much of it would make sense to me, but from the documentation I have read on the Wiki I think that this could work.

Sorry about he poor wording, I am tired today.

A+, CCENT, CCNA
Security Enthusiast
PHP Coder

Not that I expect anyone to, but should you like my post, please donate:
Donate: 1BRbfqii6Sm9tEUE8A16H7QeDmYFjyBZ7V
1481339670
Hero Member
*
Offline Offline

Posts: 1481339670

View Profile Personal Message (Offline)

Ignore
1481339670
Reply with quote  #2

1481339670
Report to moderator
1481339670
Hero Member
*
Offline Offline

Posts: 1481339670

View Profile Personal Message (Offline)

Ignore
1481339670
Reply with quote  #2

1481339670
Report to moderator
1481339670
Hero Member
*
Offline Offline

Posts: 1481339670

View Profile Personal Message (Offline)

Ignore
1481339670
Reply with quote  #2

1481339670
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 751


View Profile
April 05, 2011, 04:18:58 PM
 #2

Yes, the block database is included in blk*.  If you want an up-to-date copy, check the link in my sig Smiley.

Bitcoin Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2506


View Profile
April 05, 2011, 06:08:53 PM
 #3

It will work, but the recipient will not check the validity of blocks transferred in this way. This verification is one of the main reasons why the block chain "download" takes so long. The actual data transfer is fast.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!