daemon: always use bootstrap daemon (if set) in '--no-sync' mode

This commit is contained in:
xiphon 2019-10-28 21:52:19 +00:00
parent 4c9fd8d86d
commit 2e2bf8a207
2 changed files with 6 additions and 3 deletions

View file

@ -112,6 +112,7 @@ namespace cryptonote
void stop();
void on_connection_close(cryptonote_connection_context &context);
void set_max_out_peers(unsigned int max) { m_max_out_peers = max; }
bool no_sync() const { return m_no_sync; }
void set_no_sync(bool value) { m_no_sync = value; }
std::string get_peers_overview() const;
std::pair<uint32_t, uint32_t> get_next_needed_pruning_stripe() const;