aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/p2p_protocol_defs.h
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2018-01-20 17:36:19 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2018-01-29 07:06:08 +1100
commitb927c0fc7a4c69aad207a97cb977fe7f11a58c11 (patch)
tree9c6d4c6ae988e23dd30eb5dedf497bede4829d9e /src/p2p/p2p_protocol_defs.h
parentMerge pull request #3198 (diff)
downloadmonero-b927c0fc7a4c69aad207a97cb977fe7f11a58c11.tar.xz
Rename connections_count to max_out_connection_count
This is needed so that a max_in_connection_count can be added.
Diffstat (limited to 'src/p2p/p2p_protocol_defs.h')
-rw-r--r--src/p2p/p2p_protocol_defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/p2p/p2p_protocol_defs.h b/src/p2p/p2p_protocol_defs.h
index 348a8b978..3fa71713d 100644
--- a/src/p2p/p2p_protocol_defs.h
+++ b/src/p2p/p2p_protocol_defs.h
@@ -131,13 +131,13 @@ namespace nodetool
struct network_config
{
BEGIN_KV_SERIALIZE_MAP()
- KV_SERIALIZE(connections_count)
+ KV_SERIALIZE(max_out_connection_count)
KV_SERIALIZE(handshake_interval)
KV_SERIALIZE(packet_max_size)
KV_SERIALIZE(config_id)
END_KV_SERIALIZE_MAP()
- uint32_t connections_count;
+ uint32_t max_out_connection_count;
uint32_t connection_timeout;
uint32_t ping_connection_timeout;
uint32_t handshake_interval;