aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/blockchain_db.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blockchain_db/blockchain_db.h')
-rw-r--r--src/blockchain_db/blockchain_db.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h
index 2a7fa8f82..d2b4a07a7 100644
--- a/src/blockchain_db/blockchain_db.h
+++ b/src/blockchain_db/blockchain_db.h
@@ -343,6 +343,9 @@ public:
// get all files used by this db (if any)
virtual std::vector<std::string> get_filenames() const = 0;
+ // return the name of the folder the db's file(s) should reside in
+ virtual std::string get_db_name() const = 0;
+
// FIXME: these are just for functionality mocking, need to implement
// RAII-friendly and multi-read one-write friendly locking mechanism