Check for updates in status and version commands

This commit is contained in:
SChernykh
2023-10-08 20:59:14 +02:00
parent 4e55f53fb4
commit 7a65e1feb5
4 changed files with 22 additions and 7 deletions

View File

@@ -177,6 +177,8 @@ public:
const PoolBlock* find_block(const hash& id) const;
void check_for_updates(bool forced = false) const;
private:
const char* get_log_category() const override;
@@ -198,7 +200,6 @@ private:
void download_missing_blocks();
void check_host();
void check_block_template();
void check_for_updates() const;
void update_peer_connections();
void update_peer_list();
void send_peer_list_request(P2PClient* client, uint64_t cur_time);