Bitcoin Forum
September 27, 2018, 11:16:25 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: New Proposal to reduce space requirements for full nodes  (Read 1649 times)
BigG
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
August 24, 2015, 03:34:52 PM
 #1

We cannot expect thousands of full nodes to store any transaction ever occurred. It has to be sufficient to only save the transaction origins not older than two years.

There are around 371k Blocks so far. Let's compress the first 200k to only wallet balances in one file. When we reach 400k, the next 100k blocks are compressed and then deleted.
So we create every 100k a new master-block out of it and still have the transaction origins of at least 100k Blocks or almost two years.

Would that less dynamical “pruning” compared to my first proposal work? Any security issues I miss again?
1538090185
Hero Member
*
Offline Offline

Posts: 1538090185

View Profile Personal Message (Offline)

Ignore
1538090185
Reply with quote  #2

1538090185
Report to moderator
Make a difference with your Ether.
Donate Ether for the greater good.
SPRING.WETRUST.IO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1538090185
Hero Member
*
Offline Offline

Posts: 1538090185

View Profile Personal Message (Offline)

Ignore
1538090185
Reply with quote  #2

1538090185
Report to moderator
1538090185
Hero Member
*
Offline Offline

Posts: 1538090185

View Profile Personal Message (Offline)

Ignore
1538090185
Reply with quote  #2

1538090185
Report to moderator
jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1010


View Profile
August 27, 2015, 08:48:11 AM
 #2

Please read section 7 of Sathoshi's paper: https://bitcoin.org/bitcoin.pdf. Bitcoin Core 0.11.0 supports pruning already.

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
goatpig
Legendary
*
Offline Offline

Activity: 1988
Merit: 1096

Armory Developer


View Profile
August 27, 2015, 10:16:24 AM
 #3

I am aware of that. But today you cannot spend coins which are in the pruned blocks. That should be solved.

Why not? My understanding of pruned blocks is that they keep all UTXOs with the necessary intermediary hashes to compute the merkle root. What pruned blocks get rid of is transaction history, unspent coins scripts are still all there.

jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1010


View Profile
August 27, 2015, 12:33:12 PM
 #4

I am aware of that. But today you cannot spend coins which are in the pruned blocks. That should be solved.

This is just the problem of the 0.11 implementation. Not a protocol issue. They will fix it in future version

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
gmaxwell
Moderator
Legendary
*
qt
Offline Offline

Activity: 2520
Merit: 1514



View Profile
August 29, 2015, 07:50:55 PM
 #5

This is just the problem of the 0.11 implementation. Not a protocol issue. They will fix it in future version
Not even a problem-- the wallet support was just untested so it was disabled to avoid delaying the feature. It more or less worked from the very first patch (as 0.8 radically change the design of the software to accomidate that-- we've been working towards it for a long time).

Bitcoin will not be compromised
DannyHamilton
Legendary
*
Offline Offline

Activity: 2198
Merit: 1373



View Profile
November 22, 2015, 10:00:55 PM
 #6

Would it be possible to create a hash out of the first 100k Blocks and declare that as a new Genesis-Block containing all the relevant wallet-balances?

Even if this was possible, and even if you could get someone to implement it for you...

Why bother?

The total size of the first 100,000 blocks is only about 10 megabytes.

You'd be shrinking a 47.5 gigabyte blockchain all the way down to 47.49 gigabytes.  That certainly doesn't seem worth it.

mezzomix
Legendary
*
Offline Offline

Activity: 2184
Merit: 1101


View Profile
November 23, 2015, 10:30:21 AM
 #7

It is worth to think about "forgetting transactions origins" after a few years.

This problem is already solved with the pruning implementation.

Then the blocksize does not matter anymore.

The problem with pruning is that you can't bootstrap a pruned node without downloading the complete blockchain. You do not need to store the blockchain but you need to download it once to create a current UTXO database.
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!