Bitcoin Forum
December 08, 2016, 10:10:28 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: History of all transactions necessary?  (Read 456 times)
onelineproof
Jr. Member
*
Offline Offline

Activity: 50


View Profile WWW
November 27, 2011, 11:14:41 PM
 #1

Hi,

I've been moderately using bitcoin since June, but haven't looked deeply into the technical details. Maybe someone can help me answer this question. It's my understanding that the history of all bitcoin transactions that ever took place is stored in the network. But is all this information necessary? Isn't it sufficient to store only the information that specifies who has how much at the current moment rather than how much they had at other points in history?

Thanks

Pirate Linux developer: https://piratelinux.org
Cwallet developer: https://github.com/piratelinux/cwallet
Donate: 1proofgtqF9JJ26ZCYatkvWfpJE8bDYxa
1481235028
Hero Member
*
Offline Offline

Posts: 1481235028

View Profile Personal Message (Offline)

Ignore
1481235028
Reply with quote  #2

1481235028
Report to moderator
1481235028
Hero Member
*
Offline Offline

Posts: 1481235028

View Profile Personal Message (Offline)

Ignore
1481235028
Reply with quote  #2

1481235028
Report to moderator
1481235028
Hero Member
*
Offline Offline

Posts: 1481235028

View Profile Personal Message (Offline)

Ignore
1481235028
Reply with quote  #2

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

Posts: 1481235028

View Profile Personal Message (Offline)

Ignore
1481235028
Reply with quote  #2

1481235028
Report to moderator
wareen
Millionaire
Hero Member
*****
Offline Offline

Activity: 742

bitcoin-austria.at


View Profile
November 27, 2011, 11:27:03 PM
 #2

In theory a current balance of every address would be sufficient but to prove that the balance of every address is correct, you have to keep the whole transaction history of how each of these balances came to be.

Once a client has checked that all transactions are valid it could prune the history of all totally spent addresses. This is an optimization that may be done in a future version of the client.

Other more aggressive ways of pruning go even further towards something similar to your thinking but they don't seem to be high on the priority list. See this thread for a recent proposal.

Keep in mind, that once a client has thrown away parts of his copy of the blockchain, it cannot provide the pruned parts to other (new) clients anymore. This leads to a trust issue if done on a large scale. It has to be made sure that at least some nodes keep the whole history of the blockchain in order to have the same level of trustworthiness.

But yes, there surely is some room for improvements!
onelineproof
Jr. Member
*
Offline Offline

Activity: 50


View Profile WWW
November 28, 2011, 03:59:49 AM
 #3

Thanks for that.

I feel like most nodes can just store a hash (like md5sum) of the old blocks in the chain. Some nodes can store the full history, but as long as the hashes match up then we can confirm others. I'm sure I'm somehow simplifying this too much...

Pirate Linux developer: https://piratelinux.org
Cwallet developer: https://github.com/piratelinux/cwallet
Donate: 1proofgtqF9JJ26ZCYatkvWfpJE8bDYxa
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!