mirror of
https://github.com/monero-project/monero.git
synced 2025-12-16 08:03:58 -05:00
cryptonote_protocol_handler: sync speedup
A block queue is now placed between block download and block processing. Blocks are now requested only from one peer (unless starved). Includes a new sync_info coommand.
This commit is contained in:
parent
ab594cfee9
commit
5be43fcdba
22 changed files with 1463 additions and 134 deletions
|
|
@ -578,4 +578,11 @@ bool t_command_parser_executor::relay_tx(const std::vector<std::string>& args)
|
|||
return m_executor.relay_tx(txid);
|
||||
}
|
||||
|
||||
bool t_command_parser_executor::sync_info(const std::vector<std::string>& args)
|
||||
{
|
||||
if (args.size() != 0) return false;
|
||||
|
||||
return m_executor.sync_info();
|
||||
}
|
||||
|
||||
} // namespace daemonize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue