From 5e3e362c854dd59c5399dbf6fe1a5675826f6732 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 24 Sep 2016 17:00:19 +0100 Subject: core: make the sync chunk block count overridable --- src/common/command_line.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/common/command_line.cpp') diff --git a/src/common/command_line.cpp b/src/common/command_line.cpp index fc096abe5..b3f488447 100644 --- a/src/common/command_line.cpp +++ b/src/common/command_line.cpp @@ -30,6 +30,7 @@ #include "command_line.h" #include "string_tools.h" +#include "cryptonote_config.h" namespace command_line { @@ -92,4 +93,9 @@ namespace command_line , "Show time-stats when processing blocks/txs and disk synchronization." , 0 }; + const command_line::arg_descriptor arg_block_sync_size = { + "block-sync-size" + , "How many blocks to sync at once during chain synchronization." + , BLOCKS_SYNCHRONIZING_DEFAULT_COUNT + }; } -- cgit v1.2.3