rpc, wallet: Expose database format in getwalletinfo

This commit is contained in:
João Barbosa
2020-10-11 23:19:44 +01:00
parent c4a29d0a90
commit 5e737a0092
6 changed files with 9 additions and 2 deletions

View File

@@ -105,6 +105,7 @@ public:
void IncrementUpdateCounter() override { ++nUpdateCounter; }
std::string Filename() override { return m_file_path; }
std::string Format() override { return "sqlite"; }
/** Make a SQLiteBatch connected to this database */
std::unique_ptr<DatabaseBatch> MakeBatch(bool flush_on_close = true) override;