Bitcoin Forum
August 20, 2017, 09:23:24 PM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: History of all transactions necessary?  (Read 483 times)
onelineproof
Jr. Member
*
Offline Offline

Activity: 51


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

Posts: 1503264204

View Profile Personal Message (Offline)

Ignore
1503264204
Reply with quote  #2

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

Activity: 784


COSS: CRYPTO-ONE-STOP-SOLUTION ICO 8 Aug


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!

            ░░  ░░░     ░░░▒▒░░░░
          ░▓▓▓░░▓▓▓▒░░░░    ░░▒░░░░
      ░▒▓▓░▒▓▓░░▓▓▓▒░▓▓▓▓▒     ░░▓▒░
     ░░░▒▒      ░░░ ░▒▓▓▓░░░▒▓▒  ░░▒░░
    ░▓▓░  ░░░░░       ░░ ░▒▓▓▓▓▓ ░▓▓▒░ 
    ░░░ ░░░░░░░          ░░▓▓▓▓▓ ░▒▒░░ 
   ░▒▓░  ░░░░░░            ░░░░░ ▒▓▓▒░
    ░▒▒░   ░░                   ▒░░░░
     ░░░ ░░░░░░              ░░▓▓▓▒░
        ░░░░░░░           ░▒▒▒░░▒░░
          ░░░░      ░░░░ ░▒▓▓▓▓░
          ░░░░░░  ░░▓▓▓▓▒░░▒▓▒░░
           ░░░░░  ░▒▓▓▓▓▓░
            ░░░░░░  ░▒▓▒░░  ░░░
             ░░░░░░░      ░░░
               ░░░░░░░░░░░░░
                   ░░  ░░
  COSS.IO
Crypto One Stop Solution
..
▞⧯▚
▞⧯▚

▞⧯▚
▞⧯▚

▞⧯▚
▞⧯▚

▞⧯▚
▞⧯▚
▞⧯▚
..⧉ Multi-Wallet  ⧉ Exchange   ⧉ Merchant Platform
       COSS Token - An ERC20 based Token - revenue generating cryptocurrency     
..
▞⧯▚
▞⧯▚

▞⧯▚
▞⧯▚

▞⧯▚
▞⧯▚

▞⧯▚
▞⧯▚
▞⧯▚
..  ICO Details  
Whitepaper         ANN
..
▞⧯▚
▞⧯▚

▞⧯▚
▞⧯▚

▞⧯▚
▞⧯▚

▞⧯▚
▞⧯▚
▞⧯▚
onelineproof
Jr. Member
*
Offline Offline

Activity: 51


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!