Bitcoin Forum
June 22, 2024, 03:09:16 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: why is it important to save the whole blockchain  (Read 585 times)
schnuber (OP)
Member
**
Offline Offline

Activity: 96
Merit: 18


View Profile
April 19, 2013, 07:11:58 PM
 #1

Hello
This is probably a dumbass question but I need some clarification.

To verify a transaction it is sufficient to get it confirmed by 6 blocks. So if six confirmations are normaly enough to confirm a block, why do we have to save the whole blockchain. Could we not just save let's say the last 1000 blocks of the blockchain and dismiss all that was before? Because the last 1000  blocks would be sure enough to prove the integrity of the blockchain.

Thank you
caveden
Legendary
*
Offline Offline

Activity: 1106
Merit: 1004



View Profile
April 19, 2013, 07:13:43 PM
 #2

How do you know if an address has the money it needs to perform a transaction?

Plus, for the integrity of the chain, you must have at least all the headers. That's the only way to know which chain is longer.
Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
April 19, 2013, 07:15:25 PM
 #3

Because the blockchain contain all the transactions happened, it is needed to know how many bitcoins an address has. If you keep only the last 1000 blocks, then this info would disappear

It is true that not EVERY transaction is required, probably in the future the chain will be pruned to contain only the current situation of the addresses and not every transaction

schnuber (OP)
Member
**
Offline Offline

Activity: 96
Merit: 18


View Profile
April 19, 2013, 07:37:07 PM
 #4

Ok I got it.
Thank you very much guys
bitcoingenerat0r
Newbie
*
Offline Offline

Activity: 46
Merit: 0



View Profile
April 19, 2013, 08:24:03 PM
 #5

Try web based clients (blockchain.info) or the Electrum which store the blockchain in the cloud. Multiple server for the redundancy.
truy
Member
**
Offline Offline

Activity: 81
Merit: 10


View Profile
April 19, 2013, 09:05:49 PM
 #6

Saving the whole blockchain multiple times (decentral) increases robustness too


cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
April 19, 2013, 09:10:31 PM
 #7

If you're worried about the time it takes bitcoinQT to catch up, as the person above said there are other computer based wallets that don't require you to wait as long to get the blockchain -- multibit is another that wasn't mentioned.

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
April 19, 2013, 09:10:52 PM
 #8

Oh -- also you can torrent the blockchain to get started faster.

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
madamamialin
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
April 19, 2013, 09:16:52 PM
 #9

I'm a newb here so please don't flame me.
I'm not sure if there's a date of creation recorded for an address.
If so, we could check if the sender and receiver address is new (in the more recent blockchain)
Then there's no need to have all the previous blockchain

However, when we try to send to old address, we will face a problem...
Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
April 19, 2013, 09:19:47 PM
 #10

The chain only contain transactions.

Simply, the chain could only contain the last movements of the bitcoins. If i send bitcoins to address A and then to address B there is no need to keep in the chain the first transaction, it could be pruned and thus reduce the chain size  Wink Maybe one day it will be done.

cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
April 25, 2013, 12:06:24 AM
 #11

I'm a newb here so please don't flame me.
I'm not sure if there's a date of creation recorded for an address.
If so, we could check if the sender and receiver address is new (in the more recent blockchain)
Then there's no need to have all the previous blockchain

However, when we try to send to old address, we will face a problem...

If you created both addresses then you could record when they were created and that would be fine.  But there's no public record.  Addresses aren't actually created either, you just pick a random one to use.

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
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!