monero/src/p2p
moneromooo-monero b750fb27b0
Pruning
The blockchain prunes seven eighths of prunable tx data.
This saves about two thirds of the blockchain size, while
keeping the node useful as a sync source for an eighth
of the blockchain.

No other data is currently pruned.

There are three ways to prune a blockchain:

- run monerod with --prune-blockchain
- run "prune_blockchain" in the monerod console
- run the monero-blockchain-prune utility

The first two will prune in place. Due to how LMDB works, this
will not reduce the blockchain size on disk. Instead, it will
mark parts of the file as free, so that future data will use
that free space, causing the file to not grow until free space
grows scarce.

The third way will create a second database, a pruned copy of
the original one. Since this is a new file, this one will be
smaller than the original one.

Once the database is pruned, it will stay pruned as it syncs.
That is, there is no need to use --prune-blockchain again, etc.
2019-01-22 20:30:51 +00:00
..
CMakeLists.txt remove epee from link lines where it's redundant 2018-06-28 16:45:22 +01:00
net_node.cpp Expose limit-rate defaults from command line help 2018-10-31 14:47:20 -07:00
net_node.h Pruning 2019-01-22 20:30:51 +00:00
net_node.inl Pruning 2019-01-22 20:30:51 +00:00
net_node_common.h Pruning 2019-01-22 20:30:51 +00:00
net_peerlist.h Pruning 2019-01-22 20:30:51 +00:00
net_peerlist_boost_serialization.h Pruning 2019-01-22 20:30:51 +00:00
p2p_protocol_defs.h Pruning 2019-01-22 20:30:51 +00:00
stdafx.h Update 2018 copyright 2018-01-26 10:03:20 -05:00