From 4da0024e0cdc0e4e4ba01e871ce7bfe33b620936 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Thu, 30 Apr 2026 13:00:03 +0200 Subject: [PATCH] cmake: remove defunct database selection --- CMakeLists.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b20f24fb7..6ce7fb4c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -488,15 +488,6 @@ if(SANITIZE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address,undefined") endif() -# Set default blockchain storage location: -# memory was the default in Cryptonote before Monero implemented LMDB, it still works but is unnecessary. -# set(DATABASE memory) -set(DATABASE lmdb) -message(STATUS "Using LMDB as default DB type") -set(BLOCKCHAIN_DB DB_LMDB) -add_definitions("-DDEFAULT_DB_TYPE=\"lmdb\"") -add_definitions("-DBLOCKCHAIN_DB=${BLOCKCHAIN_DB}") - # Can't install hook in static build on OSX, because OSX linker does not support --wrap # On ARM, having libunwind package (with .so's only) installed breaks static link. # When possible, avoid stack tracing using libunwind in favor of using easylogging++.