1
0
Fork 0
forked from lthn/blockchain

renamed field

This commit is contained in:
cryptozoidberg 2025-07-21 15:17:40 +04:00
parent 68871b93ec
commit 71cc7d1363
No known key found for this signature in database
GPG key ID: 2E10CC61CAC8F36D
2 changed files with 4 additions and 4 deletions

View file

@ -192,9 +192,9 @@ namespace nodetool
new_block_list.insert(ip);
}
if (config.ip_priority_list.size())
if (config.priority_peers_list.size())
{
bool r = parse_peerlist(config.ip_priority_list, new_priority_peers);
bool r = parse_peerlist(config.priority_peers_list, new_priority_peers);
CHECK_AND_ASSERT_MES(r, false, "Failed to parse priority peers");
}

View file

@ -297,14 +297,14 @@ namespace nodetool
std::optional<uint64_t> outgoing_connections_limit;
std::vector<std::string> ip_black_list;
std::optional<bool> use_only_priority_peers = false; //allow to make outgoing connections only to the peers listed in ip_priority_list
std::vector<std::string> ip_priority_list;
std::vector<std::string> priority_peers_list;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(incoming_connections_limit)
KV_SERIALIZE(outgoing_connections_limit)
KV_SERIALIZE(ip_black_list)
KV_SERIALIZE(use_only_priority_peers)
KV_SERIALIZE(ip_priority_list)
KV_SERIALIZE(priority_peers_list)
END_KV_SERIALIZE_MAP()
};