diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-10-27 23:44:45 -0400 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-01-04 19:29:51 -0800 |
commit | 74a1a89e27c719811a1fcc0578e4795802555225 (patch) | |
tree | c6379c517aae5eaa26a4d91010601143bf9ef8bf /src/cryptonote_core/BlockchainDB_impl | |
parent | All LMDB BlockchainDB implemented, not tested (diff) | |
download | monero-74a1a89e27c719811a1fcc0578e4795802555225.tar.xz |
Integrate BlockchainDB into cryptonote_core
Probably needs more looking at -- lot of things were done...in a rushed
sort of way. That said, it all builds and *should* be at least
testable.
update for rebase (warptangent 2015-01-04)
fix conflicts with upstream CMakeLists.txt files
src/CMakeLists.txt (remove edits from original commit)
tests/CMakeLists.txt (remove edits from original commit)
src/cryptonote_core/CMakeLists.txt (edit)
- use blockchain db .cpp and .h files
- add LMDB_LIBRARIES
Diffstat (limited to 'src/cryptonote_core/BlockchainDB_impl')
-rw-r--r-- | src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp b/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp index 218bd4b63..6275ae388 100644 --- a/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp +++ b/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp @@ -672,6 +672,7 @@ void BlockchainLMDB::open(const std::string& filename) // unused for now, create will happen on open if doesn't exist void BlockchainLMDB::create(const std::string& filename) { + throw DB_CREATE_FAILURE("create() is not implemented for this BlockchainDB, open() will create files if needed."); } void BlockchainLMDB::close() |