mirror of
https://github.com/monero-project/monero.git
synced 2025-06-24 19:00:27 -04:00
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.
This commit is contained in:
parent
945fe90e08
commit
a333c42cde
10 changed files with 48 additions and 25 deletions
|
@ -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
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue