wownero/src/daemon
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 blocks: use auto-generated .c files instead of 'LD -r -b binary' 2018-10-22 01:12:00 +03:00
command_line_args.h mlog: --max-log-files to set the max number of rotated log files 2018-06-13 12:44:27 +09:00
command_parser_executor.cpp Pruning 2019-01-22 20:30:51 +00:00
command_parser_executor.h Pruning 2019-01-22 20:30:51 +00:00
command_server.cpp Pruning 2019-01-22 20:30:51 +00:00
command_server.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
core.h remove some unused code 2018-11-23 15:37:36 +00:00
daemon.cpp Merge pull request #4923 2018-12-12 12:00:37 +02:00
daemon.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
executor.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
executor.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
main.cpp daemon: print monero version at startup when calling a detached daemon 2018-11-30 17:55:16 +00:00
p2p.h Fix typos in various files 2018-03-15 18:25:38 +02:00
protocol.h Merge pull request #3181 2018-02-16 14:19:54 +01:00
rpc.h Don't cache nettype in core_rpc_server use m_core 2018-11-16 15:32:05 +11:00
rpc_command_executor.cpp Pruning 2019-01-22 20:30:51 +00:00
rpc_command_executor.h Pruning 2019-01-22 20:30:51 +00:00