Bitcoin Forum
May 04, 2024, 03:00:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Bitcoin As An Eternity Service  (Read 5435 times)
Enochian (OP)
Full Member
***
Offline Offline

Activity: 327
Merit: 124



View Profile
May 14, 2011, 10:07:29 AM
 #21

What's more to receive the file, now everyone who wants it has to download and process the entire block chain, a process that already takes forever just for financial data.

They only have to process the block chain from the point where people started including files in it, at block 123571, if you count my encoded bitcoin.jpg as the first such instance.

The reason processing the block chain takes forever is the signature verifications on the transactions.  Skimming blocks of depth greater than or equal to 123571 to decode files would be blindingly fast.

Even generating arrays of all the inputs and outputs in the entire block chain, and checking that the unspent outputs total 50 times the number of blocks only takes a few seconds, if you employ flat files.

Reading 150 meg on a modern PC is a very fast operation.

The current bitcoin client gets bogged down on three things.  Verifying signatures on transactions.  Slogging through random access database files.  And gratuitous beating on the IRC channel.



1714791621
Hero Member
*
Offline Offline

Posts: 1714791621

View Profile Personal Message (Offline)

Ignore
1714791621
Reply with quote  #2

1714791621
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714791621
Hero Member
*
Offline Offline

Posts: 1714791621

View Profile Personal Message (Offline)

Ignore
1714791621
Reply with quote  #2

1714791621
Report to moderator
1714791621
Hero Member
*
Offline Offline

Posts: 1714791621

View Profile Personal Message (Offline)

Ignore
1714791621
Reply with quote  #2

1714791621
Report to moderator
1714791621
Hero Member
*
Offline Offline

Posts: 1714791621

View Profile Personal Message (Offline)

Ignore
1714791621
Reply with quote  #2

1714791621
Report to moderator
Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526
Merit: 1129


View Profile
May 14, 2011, 10:32:04 AM
 #22

You're right, sorry. I was thinking far out (years) but then it's true you'd still only need to download the section of chain where the file is stored. One more bit of metadata you need to exchange out of band though.

Here is the logo transaction:

http://blockexplorer.com/rawtx/9173744691ac25f3cd94f35d4fc0e0a2b9d1ab17b4fe562acc07660552f95518

You can decode parts by looking at the hex sequence after OP_HASH160 and then decoding using Python:

>>> "3737362063726333323d61376163383434390d0a".decode("hex")
'776 crc32=a7ac8449\r\n'

Pages: « 1 [2]  All
  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!