monero/src/cryptonote_basic
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
..
account_boost_serialization.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
account.cpp device/trezor: trezor support added 2018-11-02 21:36:39 +01:00
account.h device/trezor: trezor support added 2018-11-02 21:36:39 +01:00
blobdatatype.h Pruning 2019-01-22 20:30:51 +00:00
CMakeLists.txt Add support for apple and arm building 2018-09-10 22:05:36 +02:00
connection_context.h Pruning 2019-01-22 20:30:51 +00:00
cryptonote_basic_impl.cpp Merge pull request #4894 2018-12-04 17:33:19 +02:00
cryptonote_basic_impl.h a few minor (but easy) performance tweaks 2018-11-23 15:36:48 +00:00
cryptonote_basic.h Pruning 2019-01-22 20:30:51 +00:00
cryptonote_boost_serialization.h Bulletproof aggregated verification and tests 2018-09-11 13:37:37 +00:00
cryptonote_format_utils.cpp Pruning 2019-01-22 20:30:51 +00:00
cryptonote_format_utils.h Pruning 2019-01-22 20:30:51 +00:00
cryptonote_stat_info.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
difficulty.cpp move int-util.h to epee 2018-12-04 15:14:29 +00:00
difficulty.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
hardfork.cpp blockchain: fix wrong hf version when popping multiple blocks 2019-01-01 18:28:01 +00:00
hardfork.h blockchain: fix wrong hf version when popping multiple blocks 2019-01-01 18:28:01 +00:00
miner.cpp Merge pull request #4869 2018-12-04 17:12:47 +02:00
miner.h Removed a lot of unnecessary includes 2018-11-15 17:29:34 +01:00
subaddress_index.h Readd copyright starting date 2018-01-26 10:03:20 -05:00
tx_extra.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
verification_context.h Update 2018 copyright 2018-01-26 10:03:20 -05:00