aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/blockchain_db.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-08-22 20:43:51 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-08-22 20:43:51 -0500
commit4a4ea78ecd753e1ab6be7309ab549417d8d84d6d (patch)
treedab9aa6e74b8d9419f621d246b9399e7f6390742 /src/blockchain_db/blockchain_db.cpp
parentMerge pull request #4202 (diff)
parentcore: sync database based on bytes added, not blocks added (diff)
downloadmonero-4a4ea78ecd753e1ab6be7309ab549417d8d84d6d.tar.xz
Merge pull request #4204
b278b83 core: sync database based on bytes added, not blocks added (moneromooo-monero)
Diffstat (limited to 'src/blockchain_db/blockchain_db.cpp')
-rw-r--r--src/blockchain_db/blockchain_db.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blockchain_db/blockchain_db.cpp b/src/blockchain_db/blockchain_db.cpp
index 8544cc3f0..78d63fdcf 100644
--- a/src/blockchain_db/blockchain_db.cpp
+++ b/src/blockchain_db/blockchain_db.cpp
@@ -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"