Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
lmdb_db_transaction.cpp
Go to the documentation of this file.
2
4#include <utility>
5
6namespace bb::lmdblib {
16{
18 throw std::runtime_error("Tried to commit reverted transaction");
19 }
20 call_lmdb_func("mdb_txn_commit", mdb_txn_commit, _transaction);
22}
23
28} // namespace bb::lmdblib
LMDBDatabaseCreationTransaction(LMDBEnvironment::SharedPtr env)
std::shared_ptr< LMDBEnvironment > SharedPtr
std::shared_ptr< LMDBEnvironment > _environment
bool call_lmdb_func(int(*f)(TArgs...), TArgs... args)
STL namespace.