5

According to this web https://web.getmonero.org/2019/02/01/pruning.html

  1. Why only 2/3 of the blockchain data can be pruned? 1/3 of the blockchain cannot be pruned. This pruning is not as efficient as bitcoin because in bitcoin the UTXO set is just 4GB vs full node size of 250GB approx.

  2. ".Monero pruned nodes will only prune 7/8 of the pruneable transaction data. A random 1/8 of the data is maintained. This 1/8 will be used to sync with other nodes. Pruned nodes will also hold and share the most recent blocks". How do I relate 7/8 (87.5%) pruneable transactions to 2/3 (66.6%) pruneable blockchain? These numbers do not match. (at least if it stated 80% pruneable transaction and 75% pruneable blockchain I can still accept.) Or the protocol is just too complex for some calculation to be done.

  3. Which component of the transaction is actually pruned? Is it the decoy's signature? The whole intermediary transaction. It's not clear in the website. I hope I don't have to look into the source code to find the answer.

1
  • You relate the fractions through multiplication. 7/8 of 2/3 = 7/12, or approx. 58% is the amount of a full blockchain that you would expect to be pruned.
    – NReilingh
    Commented Apr 20, 2021 at 8:25

1 Answer 1

9

Why only 2/3 of the blockchain data can be pruned?

Think about it like this: If you pruned 100% you would have nothing, your node, and wallet connected to your node, wouldn't be able to do anything. So how much do we actually need to keep to still be usable? Well, once we've verified every transaction, we no longer need the signatures, so they can be discarded. However, we still need the rest of the tx data.

Now to be usable to others...

How do I relate 7/8 (87.5%) pruneable transactions to 2/3 (66.6%) pruneable blockchain?

With pruned nodes, we still want them to be useful to others also, so they can sync and crucially verify every transaction. This is where the 7/8 comes into play. Of a full blockchain, we will only prune 7/8 of it, leaving a random 1/8 unpruned, so others can still fully verify that 1/8. When a new node comes along, it will sync and verify parts of the blockchain from many different nodes.

So, 7/8 will be a candidate for pruning and of this 7/8, ~2/3 can be discarded.

Or to put another way, 1/8 will be left untouched, of the remainder, ~2/3 can be thrown away after we have verified.

The 2/3 number in the linked article is speaking approximately* as to how much will be discarded from a full blockchain - bottom line is this, 1/8 will be kept unpruned (untouched), the rest can be pruned, which means discarding parts of data we no longer need (e.g. the signatures), post verifying.

*approximately because transaction size and volume are not uniform.

Which component of the transaction is actually pruned?

Signatures.

This pruning is not as efficient as bitcoin

Comparing is pointless. The requirements of the blockchains are fundamentally different.

1
  • 3
    TQ for the answer and comment. "Comparing is pointless. The requirements of the blockchains are fundamentally different".
    – Cisco Mmu
    Commented Jun 25, 2020 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.