Bitcoin Forum
May 07, 2024, 11:25:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Movement of Block Database  (Read 1204 times)
zellfaze (OP)
Full Member
***
Offline Offline

Activity: 141
Merit: 101


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
1715124357
Hero Member
*
Offline Offline

Posts: 1715124357

View Profile Personal Message (Offline)

Ignore
1715124357
Reply with quote  #2

1715124357
Report to moderator
1715124357
Hero Member
*
Offline Offline

Posts: 1715124357

View Profile Personal Message (Offline)

Ignore
1715124357
Reply with quote  #2

1715124357
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 755
Merit: 515


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 Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12974


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:  

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