diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2023-08-30 14:38:47 -0700 |
---|---|---|
committer | Martin Zumsande <mzumsande@gmail.com> | 2023-10-03 14:36:04 -0400 |
commit | df69b22f2e3cc03764a582f29a16a36114f67e17 (patch) | |
tree | 1683190ffe1e5af73d57f8a73816e15ef931865c /src/net.h | |
parent | adc171edf45ec90857d990b8ec570f3c8c2242b7 (diff) |
doc: improve documentation around connection limit maximums
Co-authored-by: Martin Zumsande <mzumsande@gmail.com>
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1474,8 +1474,19 @@ private: std::unique_ptr<CSemaphore> semOutbound; std::unique_ptr<CSemaphore> semAddnode; + + /** + * Maximum number of automatic connections permitted, excluding manual + * connections but including inbounds. May be changed by the user and is + * potentially limited by the operating system (number of file descriptors). + */ int m_max_automatic_connections; + /* + * Maximum number of peers by connection type. Might vary from defaults + * based on -maxconnections init value. + */ + // How many full-relay (tx, block, addr) outbound peers we want int m_max_outbound_full_relay; @@ -1487,6 +1498,7 @@ private: int m_max_feeler{MAX_FEELER_CONNECTIONS}; int m_max_automatic_outbound; int m_max_inbound; + bool m_use_addrman_outgoing; CClientUIInterface* m_client_interface; NetEventsInterface* m_msgproc; |