aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/bdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/bdb.h')
-rw-r--r--src/wallet/bdb.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/wallet/bdb.h b/src/wallet/bdb.h
index 9552d8ce25..da32195dc6 100644
--- a/src/wallet/bdb.h
+++ b/src/wallet/bdb.h
@@ -152,26 +152,6 @@ public:
std::unique_ptr<DatabaseBatch> MakeBatch(bool flush_on_close = true) override;
};
-/** RAII class that automatically cleanses its data on destruction */
-class SafeDbt final
-{
- Dbt m_dbt;
-
-public:
- // construct Dbt with internally-managed data
- SafeDbt();
- // construct Dbt with provided data
- SafeDbt(void* data, size_t size);
- ~SafeDbt();
-
- // delegate to Dbt
- const void* get_data() const;
- uint32_t get_size() const;
-
- // conversion operator to access the underlying Dbt
- operator Dbt*();
-};
-
class BerkeleyCursor : public DatabaseCursor
{
private: