Bitcoin Forum
December 14, 2024, 01:26:47 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can the BTC developers just cut the blockchain in half to save memory space?  (Read 554 times)
Capitalism Prevails (OP)
Full Member
***
Offline Offline

Activity: 137
Merit: 100



View Profile
June 21, 2013, 04:58:22 AM
 #1

Or would that mess up the network?  Isn't the full block chain needed to show proof of work for each BTC?

BTC:  1KX3MSyeHoubjvRMvkc4DXBXvEx9fr9cvV                              Strength In Numbers
LTC:  LaGawfU1ZJu33Lj6CX6NJ5WXWsfjPbLLLW                          In Cryptography We Trust
NMC:  N5EUwGbCNF1AYmZqNu9J7aYJVKxqbJoJG8          Cut Off One Node, Two More Will Take Its Place
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
June 21, 2013, 05:12:59 AM
 #2

Or would that mess up the network?  Isn't the full block chain needed to show proof of work for each BTC?

No you can't just cut the blockchain in half.

Full nodes need a full and complete copy of the blockchain back to genesis block.
Slightly less security is a full node with pruned copy of the blockchain.
SPV (lite clients) don't need a full or even pruned copy of the blockchain.

So there are options going forward but someone, somewhere (and preferably a couple hundred "archive" nodes) need a full complete copy of the blockchain.

Capitalism Prevails (OP)
Full Member
***
Offline Offline

Activity: 137
Merit: 100



View Profile
June 22, 2013, 05:42:50 PM
 #3

Don't light clients sacrifice a little decentralization of the network in order for them to operate?

BTC:  1KX3MSyeHoubjvRMvkc4DXBXvEx9fr9cvV                              Strength In Numbers
LTC:  LaGawfU1ZJu33Lj6CX6NJ5WXWsfjPbLLLW                          In Cryptography We Trust
NMC:  N5EUwGbCNF1AYmZqNu9J7aYJVKxqbJoJG8          Cut Off One Node, Two More Will Take Its Place
wolverine.ks
Sr. Member
****
Offline Offline

Activity: 375
Merit: 250



View Profile
June 22, 2013, 05:53:29 PM
 #4

why couldnt there be a btc clone with a genesis block identical to the some other block half way up the current chain? or the most recent block for that matter?

wouldnt that essentially be what OP was saying?
Capitalism Prevails (OP)
Full Member
***
Offline Offline

Activity: 137
Merit: 100



View Profile
June 22, 2013, 06:13:46 PM
 #5

Well it just seems to me that would be a short term fix if Bitcoin really takes off.

BTC:  1KX3MSyeHoubjvRMvkc4DXBXvEx9fr9cvV                              Strength In Numbers
LTC:  LaGawfU1ZJu33Lj6CX6NJ5WXWsfjPbLLLW                          In Cryptography We Trust
NMC:  N5EUwGbCNF1AYmZqNu9J7aYJVKxqbJoJG8          Cut Off One Node, Two More Will Take Its Place
OnkelPaul
Legendary
*
Offline Offline

Activity: 1039
Merit: 1005



View Profile
June 22, 2013, 06:20:46 PM
 #6

why couldnt there be a btc clone with a genesis block identical to the some other block half way up the current chain?

Because to check whether some transaction is valid the nodes need to look at the blocks with the transactions whose outputs are inputs of the new transaction.
Every unspent output needs to be visible. IIUC, it would be theoretically possible to "prune" the blockchain and remove all transactions whose outputs have been spent.
However, to do such a thing would require messing with the blockchain a lot, including finding a way to represent the prevblock hash which forms the link between each block and the one it builds upon.
Fot BTC, just forget it. A new cryptocurrency could have a different blockchain format which would enable the network to drop old data. I think the ripple ledger format is designed to do that, however I've not looked closer to see whether that is currently possible or just a future option.

Onkel Paul

Capitalism Prevails (OP)
Full Member
***
Offline Offline

Activity: 137
Merit: 100



View Profile
June 22, 2013, 06:25:09 PM
 #7

why couldnt there be a btc clone with a genesis block identical to the some other block half way up the current chain?

Because to check whether some transaction is valid the nodes need to look at the blocks with the transactions whose outputs are inputs of the new transaction.
Every unspent output needs to be visible. IIUC, it would be theoretically possible to "prune" the blockchain and remove all transactions whose outputs have been spent.
However, to do such a thing would require messing with the blockchain a lot, including finding a way to represent the prevblock hash which forms the link between each block and the one it builds upon.
Fot BTC, just forget it. A new cryptocurrency could have a different blockchain format which would enable the network to drop old data. I think the ripple ledger format is designed to do that, however I've not looked closer to see whether that is currently possible or just a future option.

Onkel Paul

So you think its impossible for the BTC developers to upgrade their code so the ledger could be pruned?

BTC:  1KX3MSyeHoubjvRMvkc4DXBXvEx9fr9cvV                              Strength In Numbers
LTC:  LaGawfU1ZJu33Lj6CX6NJ5WXWsfjPbLLLW                          In Cryptography We Trust
NMC:  N5EUwGbCNF1AYmZqNu9J7aYJVKxqbJoJG8          Cut Off One Node, Two More Will Take Its Place
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!