mirror of
https://github.com/monero-project/monero.git
synced 2025-08-24 01:35:01 -04:00
Removed Berkeley DB and db switching logic
This commit is contained in:
parent
98af2e954b
commit
f9b3f6ef3b
21 changed files with 37 additions and 3190 deletions
|
@ -44,7 +44,6 @@
|
|||
#include "rpc/core_rpc_server.h"
|
||||
#include "rpc/rpc_args.h"
|
||||
#include "daemon/command_line_args.h"
|
||||
#include "blockchain_db/db_types.h"
|
||||
#include "version.h"
|
||||
|
||||
#ifdef STACK_TRACE
|
||||
|
@ -224,16 +223,6 @@ int main(int argc, char const * argv[])
|
|||
return 1;
|
||||
}
|
||||
|
||||
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))
|
||||
{
|
||||
std::cout << "Invalid database type (" << db_type << "), available types are: " <<
|
||||
cryptonote::blockchain_db_types(", ") << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
// data_dir
|
||||
// default: e.g. ~/.bitmonero/ or ~/.bitmonero/testnet
|
||||
// if data-dir argument given:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue