move db specific options to BlockchainDB

Avoids common depending on blockchain_db, which can cause
link errors.
This commit is contained in:
moneromooo-monero 2017-08-29 11:14:42 +01:00
parent 72b5f37f58
commit a95e460c71
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
6 changed files with 40 additions and 27 deletions

View file

@ -142,7 +142,7 @@ int main(int argc, char const * argv[])
epee::debug::g_test_dbg_lock_sleep() = command_line::get_arg(vm, command_line::arg_test_dbg_lock_sleep);
std::string db_type = command_line::get_arg(vm, command_line::arg_db_type);
std::string db_type = command_line::get_arg(vm, cryptonote::arg_db_type);
// verify that blockchaindb type is valid
if(!cryptonote::blockchain_valid_db_type(db_type))