Bitcoin Forum
May 03, 2024, 06:08:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: New Proposal to reduce space requirements for full nodes  (Read 1733 times)
BigG (OP)
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?
1714759707
Hero Member
*
Offline Offline

Posts: 1714759707

View Profile Personal Message (Offline)

Ignore
1714759707
Reply with quote  #2

1714759707
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714759707
Hero Member
*
Offline Offline

Posts: 1714759707

View Profile Personal Message (Offline)

Ignore
1714759707
Reply with quote  #2

1714759707
Report to moderator
1714759707
Hero Member
*
Offline Offline

Posts: 1714759707

View Profile Personal Message (Offline)

Ignore
1714759707
Reply with quote  #2

1714759707
Report to moderator
jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1093


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: 3668
Merit: 1345

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: 1093


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
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
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).
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4615



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: 2618
Merit: 1252


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!