aboutsummaryrefslogtreecommitdiff
path: root/doc/reduce-memory.md
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2021-04-16 18:36:56 +0200
committerJon Atack <jon@atack.com>2021-04-17 20:17:59 +0200
commit926827065ffa56b75e9261f63d49b924d4bced0f (patch)
treead3070fc6bef8e151d3259758e48a3dea1046d16 /doc/reduce-memory.md
parent585cbe22575306c05b156ea90faa9caa1add4c87 (diff)
downloadbitcoin-926827065ffa56b75e9261f63d49b924d4bced0f.tar.xz
doc: update reduce-memory.md peer connections info
Diffstat (limited to 'doc/reduce-memory.md')
-rw-r--r--doc/reduce-memory.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/reduce-memory.md b/doc/reduce-memory.md
index 6e7a578ecc..296b172bde 100644
--- a/doc/reduce-memory.md
+++ b/doc/reduce-memory.md
@@ -24,9 +24,13 @@ The size of some in-memory caches can be reduced. As caches trade off memory usa
## Number of peers
-- `-maxconnections=<n>` - the maximum number of connections, this defaults to 125. Each active connection takes up some
- memory. This option applies only if incoming connections are enabled, otherwise the number of connections will never
- be more than 10. Of the 10 outbound peers, there can be 8 full-relay connections and 2 block-relay-only ones.
+- `-maxconnections=<n>` - the maximum number of connections, which defaults to 125. Each active connection takes up some
+ memory. This option applies only if inbound connections are enabled; otherwise, the number of connections will not
+ be more than 11. Of the 11 outbound peers, there can be 8 full-relay connections, 2 block-relay-only ones,
+ and occasionally 1 short-lived feeler or extra outbound block-relay-only connection.
+
+- These limits do not apply to connections added manually with the `-addnode` configuration option or
+ the `addnode` RPC, which have a separate limit of 8 connections.
## Thread configuration