101 bool init(const
boost::program_options::variables_map& vm);
138 virtual bool request_validators_list_to_all();
144 size_t get_synchronizing_connections_count();
145 bool on_connection_synchronized();
148 bool kick_idle_peers();
149 bool check_standby_peers();
150 bool update_sync_search();
159 std::atomic<uint32_t> m_syncronized_connections_count;
160 std::atomic<bool> m_synchronized;
161 std::atomic<bool> m_stopping;
162 std::atomic<bool> m_no_sync;
163 boost::mutex m_sync_lock;
168 std::atomic<unsigned int> m_max_out_peers;
171 uint64_t m_sync_spans_downloaded, m_sync_old_spans_downloaded, m_sync_bad_spans_downloaded;
172 uint64_t m_sync_download_chain_size, m_sync_download_objects_size;
173 size_t m_block_download_max_size;
175 boost::mutex m_buffer_mutex;
177 boost::circular_buffer<size_t> m_avg_buffer = boost::circular_buffer<size_t>(10);
179 template<
class t_parameter>