diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-12-17 14:33:51 -0600 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-12-17 14:33:51 -0600 |
commit | e38f3dbfb287d85ebc24d4477acc7416341a508c (patch) | |
tree | 8711f7f4b70c805020f01da5af3e22a826aee200 /src/cryptonote_protocol/cryptonote_protocol_handler.h | |
parent | Merge pull request #7131 (diff) | |
parent | rpc: add a busy_syncing field to get_info (diff) | |
download | monero-e38f3dbfb287d85ebc24d4477acc7416341a508c.tar.xz |
Merge pull request #7157
a4cdcd9 rpc: add a busy_syncing field to get_info (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler.h')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.h b/src/cryptonote_protocol/cryptonote_protocol_handler.h index b416b86c8..0599c69f9 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.h +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.h @@ -116,6 +116,8 @@ namespace cryptonote std::string get_peers_overview() const; std::pair<uint32_t, uint32_t> get_next_needed_pruning_stripe() const; bool needs_new_sync_connections() const; + bool is_busy_syncing(); + private: //----------------- commands handlers ---------------------------------------------- int handle_notify_new_block(int command, NOTIFY_NEW_BLOCK::request& arg, cryptonote_connection_context& context); |