diff options
| author | Riccardo Spagni <ric@spagni.net> | 2016-09-29 22:15:21 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2016-09-29 22:15:21 +0200 |
| commit | af831bed5cbfe48c04d6d5d427b7f88556e149dc (patch) | |
| tree | 7454017ca432b5e878ec2e5da2600905b254e232 /src/common/command_line.cpp | |
| parent | f195a447ccf1a26eba8aaf7560e6bfc902db6f77 (diff) | |
| parent | 5e3e362c854dd59c5399dbf6fe1a5675826f6732 (diff) | |
| download | monzero-core-af831bed5cbfe48c04d6d5d427b7f88556e149dc.tar.gz monzero-core-af831bed5cbfe48c04d6d5d427b7f88556e149dc.tar.xz monzero-core-af831bed5cbfe48c04d6d5d427b7f88556e149dc.zip | |
Merge pull request #1129
5e3e362 core: make the sync chunk block count overridable (moneromooo-monero)
Diffstat (limited to 'src/common/command_line.cpp')
| -rw-r--r-- | src/common/command_line.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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<size_t> arg_block_sync_size = { + "block-sync-size" + , "How many blocks to sync at once during chain synchronization." + , BLOCKS_SYNCHRONIZING_DEFAULT_COUNT + }; } |
