aboutsummaryrefslogtreecommitdiff
path: root/src/common/command_line.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-08 23:06:29 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-08 23:06:29 +0000
commit336b37580f6b889d57f888acfc883a179d69e35c (patch)
treec1042d93d0b84c2efd2b8331be9eeb03bd5b0699 /src/common/command_line.h
parentMerge pull request #518 (diff)
downloadmonero-336b37580f6b889d57f888acfc883a179d69e35c.tar.xz
Register daemon command line arguments to core if they're used in core
This fixes coretests, which does not register daemon specific arguments, but uses core, which uses those arguments. Also gets rid of an unwanted dependency on daemon code from core.
Diffstat (limited to '')
-rw-r--r--src/common/command_line.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/command_line.h b/src/common/command_line.h
index ae79f0a05..ffac71704 100644
--- a/src/common/command_line.h
+++ b/src/common/command_line.h
@@ -207,4 +207,12 @@ namespace command_line
extern const arg_descriptor<bool> arg_test_drop_download;
extern const arg_descriptor<uint64_t> arg_test_drop_download_height;
extern const arg_descriptor<int> arg_test_dbg_lock_sleep;
+ extern const arg_descriptor<bool, false> arg_testnet_on;
+ extern const arg_descriptor<bool> arg_dns_checkpoints;
+ extern const arg_descriptor<std::string> arg_db_type;
+ extern const arg_descriptor<std::string> arg_db_sync_mode;
+ extern const arg_descriptor<uint64_t> arg_fast_block_sync;
+ extern const arg_descriptor<uint64_t> arg_prep_blocks_threads;
+ extern const arg_descriptor<uint64_t> arg_db_auto_remove_logs;
+ extern const arg_descriptor<uint64_t> arg_show_time_stats;
}