summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Uhden Collado <149145202+daviduhden@users.noreply.github.com>2024-07-04 04:14:50 +0200
committerGitHub <noreply@github.com>2024-07-04 04:14:50 +0200
commit91e1b54674e68f40d95cc526522bb0657b8fa87a (patch)
treec48ccc8904c6872ba4ff989fb5257613f6d24fa0
parent38d1bc5055d22f131e34cf2a7e34c6a0311bb866 (diff)
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.
-rw-r--r--content/monerod.md3
1 files changed, 3 insertions, 0 deletions
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={{<hl>}}/var/lib/monero{{</hl>}}
log-file={{<hl>}}/var/log/monero/monero.log{{</hl>}}
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