From 644ded8a7feca18ca180dddfb05dcb36a4d4c915 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Mon, 5 Jun 2023 12:47:09 -0500 Subject: [PATCH] GH-1072 Comment sync_ members --- plugins/net_plugin/net_plugin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/net_plugin/net_plugin.cpp b/plugins/net_plugin/net_plugin.cpp index 45acf767f0..2f6d02deb0 100644 --- a/plugins/net_plugin/net_plugin.cpp +++ b/plugins/net_plugin/net_plugin.cpp @@ -212,10 +212,10 @@ namespace eosio { alignas(hardware_destructive_interference_size) std::mutex sync_mtx; - uint32_t sync_known_lib_num{0}; - uint32_t sync_last_requested_num{0}; - uint32_t sync_next_expected_num{0}; - connection_ptr sync_source; + uint32_t sync_known_lib_num{0}; // highest known lib num from currently connected peers + uint32_t sync_last_requested_num{0}; // end block number of the last requested range, inclusive + uint32_t sync_next_expected_num{0}; // the next block number we need from peer + connection_ptr sync_source; // connection we are currently syncing from const uint32_t sync_req_span{0}; const uint32_t sync_peer_limit{0};