mirror of
https://github.com/monero-project/monero.git
synced 2025-08-03 22:14:17 -04:00
core: sync database based on bytes added, not blocks added
Blocks have a very wide range, whereas actual size is the relevant quantity to consider when syncing
This commit is contained in:
parent
0dddfeacc9
commit
b278b83860
4 changed files with 37 additions and 16 deletions
|
@ -87,8 +87,8 @@ const command_line::arg_descriptor<std::string> arg_db_type = {
|
|||
};
|
||||
const command_line::arg_descriptor<std::string> arg_db_sync_mode = {
|
||||
"db-sync-mode"
|
||||
, "Specify sync option, using format [safe|fast|fastest]:[sync|async]:[nblocks_per_sync]."
|
||||
, "fast:async:1000"
|
||||
, "Specify sync option, using format [safe|fast|fastest]:[sync|async]:[<nblocks_per_sync>[blocks]|<nbytes_per_sync>[bytes]]."
|
||||
, "fast:async:250000000bytes"
|
||||
};
|
||||
const command_line::arg_descriptor<bool> arg_db_salvage = {
|
||||
"db-salvage"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue