wownero/src/serialization
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 Readd copyright starting date 2018-01-26 10:03:20 -05:00
binary_archive.h Correct spelling mistakes. 2018-03-05 17:00:40 +00:00
binary_utils.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
container.h factor STL container serialization 2017-12-22 19:47:12 +00:00
crypto.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
debug_archive.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
deque.h factor STL container serialization 2017-12-22 19:47:12 +00:00
json_archive.h json_archive: initialize inner_array_size in ctor 2018-11-15 16:33:51 +00:00
json_object.cpp Pruning 2019-01-22 20:30:51 +00:00
json_object.h Update ZMQ fee estimate and add ZMQ output distribution 2018-10-23 23:46:31 -04:00
json_utils.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
list.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
pair.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
serialization.h tx_pool: avoid parsing a whole tx if only the prefix is needed 2018-10-08 10:18:01 +00:00
set.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
string.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
unordered_set.h factor STL container serialization 2017-12-22 19:47:12 +00:00
variant.h Correct spelling mistakes. 2018-03-05 17:00:40 +00:00
vector.h Update 2018 copyright 2018-01-26 10:03:20 -05:00