Download, verify, and store the whole blockchain
monerod --fast-block-sync=0
Sync up most of the way by using embedded, known block hashes.
monerod
As you can see, fast block sync is on by default.
Prune blockchain
monerod --prune-blockchain --sync-pruned-blocks
Again, fast-block-sync is on by default in this case too.
Flag | Reduces | Explanation |
---|---|---|
--fast-block-sync (default 1) | CPU usage | Sync up most of the way by using embedded, known block hashes. |
--prune-blockchain | Storage usage | Some unnecessary data won't be stored on your computer, reducing the local blockchain database size by ~66% |
--sync-pruned-blocks | Bandwidth | Allow syncing from nodes with only pruned blocks (only when --prune-blockchain is on) |
All estimates are calculated on 2024 february. I ran tests in docker on a 3 vCore, 4GB RAM, 200 Mbit/s port, SSD VPS. At this date, the uncompressed Monero block chain is size was 180GB. You can get the current number by running this command:
x=$(curl -sd '{"jsonrpc":"2.0","id":"0","method":"get_info"}' http://node.moneroworld.com:18089/json_rpc | grep 'database_size' | sed -r 's/.*: ([0-9]*)\,.*/\1/g'); y=$((x/1024/1024/1024)); echo -e "\tCurrent uncompressed Monero block chain is: "$y"GB"
- Full sync: monerod estimates a 15 days. I'll update this when I get more precise info, I started the sync around 2024-02-25 13:00 UTC
- Fast sync takes around 4 days to complete
- Pruned sync should be just a bit faster than fast sync when
--sync-pruned-blocks
is on. Don't expect big performance improvements.
Please comment your tests so we can see a better average.
What is the current size of the pruned database?