Several questions related to syncing my node.
Windows 11 with 16 GB ram and HDD with 707 GB free. Bitcoin Core 25.0.
Configuration file:
# Listen for incoming connections on non-default port.
port=8335 # because rp-node-1 uses 8333
# Add a node IP address to connect to and attempt to keep the connection open. This option can be set multiple times.
addnode=192.168.1.119:8333 # rp-node-1
# Accept incoming connections from peers.
listen=1
# Accept command line and JSON-RPC commands.
server=1
# Initial block download optimizations
dbcache=2000
blocksonly=1
1. I see this in the Bitcoin Core debug.log every 5 minutes:
2024-07-21T09:25:40Z UPnP: ExternalIPAddress = 98.---.---.---
2024-07-21T09:25:40Z AddLocal(98.---.---.---:8335,3)
2024-07-21T09:25:40Z AddPortMapping(8335, 8335, 192.168.1.100) failed with code 501 (Action Failed)
2024-07-21T09:25:40Z UPNP_DeletePortMapping() returned: 714
I set the port to 8335 because I have another node on the local net using 8333. The router is forwarding both 8333 and 8335. Do these messages indicate a problem?
2. Syncing is slow (I receive a block every 30 seconds or so). This node uses a HDD, so maybe that is a factor. There are 5 outbound connections and 1 inbound (the other node has addnode=192.168.1.100:8335).
3. I assume that syncing locally would be faster than over the internet. The peer's ping is 0 ms. Is there a way to prioritize the local peer? Currently, there is hardly any data going between the two nodes (received is only 3kB).