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.
constarg_descriptor<bool>arg_test_drop_download={"test-drop-download","For net tests: in download, discard ALL blocks instead checking/saving them (very fast)"};
constarg_descriptor<bool>arg_test_drop_download={"test-drop-download","For net tests: in download, discard ALL blocks instead checking/saving them (very fast)"};
constarg_descriptor<uint64_t>arg_test_drop_download_height={"test-drop-download-height","Like test-drop-download but disards only after around certain height",0};
constarg_descriptor<uint64_t>arg_test_drop_download_height={"test-drop-download-height","Like test-drop-download but disards only after around certain height",0};
constarg_descriptor<int>arg_test_dbg_lock_sleep={"test-dbg-lock-sleep","Sleep time in ms, defaults to 0 (off), used to debug before/after locking mutex. Values 100 to 1000 are good for tests."};
constarg_descriptor<int>arg_test_dbg_lock_sleep={"test-dbg-lock-sleep","Sleep time in ms, defaults to 0 (off), used to debug before/after locking mutex. Values 100 to 1000 are good for tests."};
constarg_descriptor<bool,false>arg_testnet_on={
"testnet"
,"Run on testnet. The wallet must be launched with --testnet flag."