aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-08 18:47:56 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-08 18:52:00 +0000
commita333c42cdeab4675c22df25255313752d81a2d4e (patch)
tree97abd7cc6a0a06375979eebfdc72913b7940bef8 /src/common
parentcore_tests: allow setting miner tx max_outs when creating a block (diff)
downloadmonero-a333c42cdeab4675c22df25255313752d81a2d4e.tar.xz
core_tests: add tests for hard fork behaviors (MRL-0004)
We also replace the --fakechain option with an optional structure containing details about configuration for the core/blockchain, for test purposes. This seems more future friendly.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/command_line.cpp5
-rw-r--r--src/common/command_line.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/common/command_line.cpp b/src/common/command_line.cpp
index b643f5135..98ff73bc5 100644
--- a/src/common/command_line.cpp
+++ b/src/common/command_line.cpp
@@ -91,9 +91,4 @@ namespace command_line
, "Show time-stats when processing blocks/txs and disk synchronization."
, 0
};
- const command_line::arg_descriptor<bool> arg_fakechain = {
- "fakechain"
- , "Use a fake chain for testing purposes."
- , false
- };
}
diff --git a/src/common/command_line.h b/src/common/command_line.h
index 2fa213a21..75dc4b9fd 100644
--- a/src/common/command_line.h
+++ b/src/common/command_line.h
@@ -215,5 +215,4 @@ namespace command_line
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;
- extern const arg_descriptor<bool> arg_fakechain;
}