From 91e1b54674e68f40d95cc526522bb0657b8fa87a Mon Sep 17 00:00:00 2001
From: David Uhden Collado <149145202+daviduhden@users.noreply.github.com>
Date: Thu, 4 Jul 2024 04:14:50 +0200
Subject: Update monerod.md
The "db-sync-mode" option set to "fast" (as it is by default) can corrupt the blockchain database in case of a power outage or other type of system crash, so it is always better to use the "safe" option, especially if you use your own hardware to host the node.
---
content/monerod.md | 3 +++
1 file changed, 3 insertions(+)
(limited to 'content/monerod.md')
diff --git a/content/monerod.md b/content/monerod.md
index b640622..2d9baae 100644
--- a/content/monerod.md
+++ b/content/monerod.md
@@ -47,6 +47,9 @@ data-dir={{}}/var/lib/monero{{}}
log-file={{}}/var/log/monero/monero.log{{}}
log-level=0
+# Slow but reliable db writes
+db-sync-mode=safe
+
# 1048576 kB/s == 1GB/s; a raise from default 2048 kB/s; contribute more to p2p network
limit-rate-up=1048576
limit-rate-down=1048576
--
cgit v1.2.3