From 17c46bd8eaca267c2bd7fe42be52bb77296039f4 Mon Sep 17 00:00:00 2001
From: David Uhden Collado <149145202+daviduhden@users.noreply.github.com>
Date: Sat, 15 Jun 2024 04:36:49 +0200
Subject: Update monerod.md
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Use different ports for the proxies to the hidden services in Tor and I2P. Otherwise it is impossible for the node to work and you will always get the error “Failed to bind IPv4 (set to required)”.
---
content/monerod.md | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
(limited to 'content/monerod.md')
diff --git a/content/monerod.md b/content/monerod.md
index 5e00645..b6bcca5 100644
--- a/content/monerod.md
+++ b/content/monerod.md
@@ -122,9 +122,9 @@ Edit `/etc/tor/torrc` and add the following:
HiddenServiceDir /var/lib/tor/monerod
# For wallets connecting over RPC:
-HiddenServicePort 18081 127.0.0.1:18081
+HiddenServicePort 18081 127.0.0.1:18181
# For other nodes:
-HiddenServicePort 18083 127.0.0.1:18083
+HiddenServicePort 18083 127.0.0.1:18183
```
Now restart Tor:
@@ -145,13 +145,13 @@ Edit `tunnels.conf` (Which may be located in `/home/i2p/.i2pd/` if you followed
[monerod]
type = http
host = 127.0.0.1
-port = 18083
+port = 18283
keys = monerod.dat
[monerod-rpc]
type = http
host = 127.0.0.1
-port = 18081
+port = 18281
keys = monerod-rpc.dat
```
@@ -171,13 +171,13 @@ printf "%s.b32.i2p
Then, in `/etc/monerod.conf`, add the following:
```sh
-# I2P config
-tx-proxy=i2p,127.0.0.1:4447
-anonymous-inbound={{}}your-i2p-address-here.b32.i2p{{}}:80,127.0.0.1:18083,16 # Maximum 16 simultaneous connections
-
# Tor config
tx-proxy=tor,127.0.0.1:9050,10
-anonymous-inbound={{}}your-tor-address-here.onion{{}}:18083,127.0.0.1:18083,16
+anonymous-inbound={{}}your-tor-address-here.onion{{}}:18083,127.0.0.1:18183,16
+
+# I2P config
+tx-proxy=i2p,127.0.0.1:4447
+anonymous-inbound={{}}your-i2p-address-here.b32.i2p{{}}:80,127.0.0.1:18283,16 # Maximum 16 simultaneous connections
```
## Running the Node
--
cgit v1.2.3
From 38d1bc5055d22f131e34cf2a7e34c6a0311bb866 Mon Sep 17 00:00:00 2001
From: David Uhden Collado <149145202+daviduhden@users.noreply.github.com>
Date: Tue, 2 Jul 2024 23:22:12 +0200
Subject: Update monerod.md
Add instructions for installation on other architectures.
---
content/monerod.md | 2 ++
1 file changed, 2 insertions(+)
(limited to 'content/monerod.md')
diff --git a/content/monerod.md b/content/monerod.md
index b6bcca5..b640622 100644
--- a/content/monerod.md
+++ b/content/monerod.md
@@ -31,6 +31,8 @@ tar -xvjf linux64
mv linux64/monero* /usr/bin/
```
+If the hardware you are using is not based on the amd64 architecture (like a Raspberry Pi), the monero project also [offers binaries](https://www.getmonero.org/downloads/) for other architectures on Linux, to download and install them simply change the last part of the link (linux64) and the archive name, e.g. for arm64 (linuxarm8). The fastest way to find out which one to use in Debian is with the `dpkg --print-architecture` command.
+
## Configuration
By default, Monero comes with no sample configuration files. Create one in `/etc/monerod.conf` using a text editor, and enter the following details:
--
cgit v1.2.3
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
From fcd0090ea844b12ff1af66a7a4076e65e02e46b7 Mon Sep 17 00:00:00 2001
From: David Uhden Collado <149145202+daviduhden@users.noreply.github.com>
Date: Sun, 7 Jul 2024 22:31:41 +0200
Subject: Update monerod.md
---
content/monerod.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'content/monerod.md')
diff --git a/content/monerod.md b/content/monerod.md
index 2d9baae..19afba0 100644
--- a/content/monerod.md
+++ b/content/monerod.md
@@ -144,7 +144,7 @@ cat /var/lib/tor/monerod/hostname
### I2P
-Edit `tunnels.conf` (Which may be located in `/home/i2p/.i2pd/` if you followed [this](/i2p) guide) and add the following tunnels:
+Edit `tunnels.conf` (Which may be located in `/etc/i2pd/` if you followed [this](/i2p) guide) and add the following tunnels:
```systemd
[monerod]
--
cgit v1.2.3