aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorMiguel Herranz <miguel@ipglider.org>2017-01-10 11:49:45 +0100
committerMiguel Herranz <miguel@ipglider.org>2017-01-10 11:49:45 +0100
commitaff28178e631345065c21e238f469459750c542d (patch)
treedbb30ddccfa61bb0ec022c3e1816842bb31a75fb /src/cryptonote_core
parentRemove berkeley from db_type initialization (diff)
downloadmonero-aff28178e631345065c21e238f469459750c542d.tar.xz
Remove db-auto-remove-logs
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index a81f2d7eb..b2099641f 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -141,7 +141,6 @@ namespace cryptonote
command_line::add_arg(desc, command_line::arg_fast_block_sync);
command_line::add_arg(desc, command_line::arg_db_sync_mode);
command_line::add_arg(desc, command_line::arg_show_time_stats);
- command_line::add_arg(desc, command_line::arg_db_auto_remove_logs);
command_line::add_arg(desc, command_line::arg_block_sync_size);
}
//-----------------------------------------------------------------------------------------------
@@ -368,8 +367,6 @@ namespace cryptonote
blocks_per_sync = bps;
}
- bool auto_remove_logs = command_line::get_arg(vm, command_line::arg_db_auto_remove_logs) != 0;
- db->set_auto_remove_logs(auto_remove_logs);
db->open(filename, db_flags);
if(!db->m_open)
return false;