aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_line_args.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/daemon/command_line_args.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 'src/daemon/command_line_args.h')
-rw-r--r--src/daemon/command_line_args.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/daemon/command_line_args.h b/src/daemon/command_line_args.h
index 48571cb96..798c34b62 100644
--- a/src/daemon/command_line_args.h
+++ b/src/daemon/command_line_args.h
@@ -60,47 +60,6 @@ namespace daemon_args
"os-version"
, "OS for which this executable was compiled"
};
- const command_line::arg_descriptor<bool> arg_testnet_on = {
- "testnet"
- , "Run on testnet. The wallet must be launched with --testnet flag."
- , false
- };
- const command_line::arg_descriptor<bool> arg_dns_checkpoints = {
- "enforce-dns-checkpointing"
- , "checkpoints from DNS server will be enforced"
- , false
- };
- const command_line::arg_descriptor<std::string> arg_db_type = {
- "db-type"
- , "Specify database type"
- , DEFAULT_DB_TYPE
- };
- const command_line::arg_descriptor<uint64_t> arg_prep_blocks_threads = {
- "prep-blocks-threads"
- , "Max number of threads to use when preparing block hashes in groups."
- , 4
- };
- const command_line::arg_descriptor<uint64_t> arg_fast_block_sync = {
- "fast-block-sync"
- , "Sync up most of the way by using embedded, known block hashes."
- , 1
- };
- const command_line::arg_descriptor<uint64_t> arg_show_time_stats = {
- "show-time-stats"
- , "Show time-stats when processing blocks/txs and disk synchronization."
- , 0
- };
- const command_line::arg_descriptor<uint64_t> arg_db_auto_remove_logs = {
- "db-auto-remove-logs"
- , "For BerkeleyDB only. Remove transactions logs automatically."
- , 1
- };
- 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]."
- , "fastest:async:1000"
- };
-;
} // namespace daemon_args
#endif // DAEMON_COMMAND_LINE_ARGS_H