mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-07 11:12:50 +01:00
Drop unused CDBWrapper methods
This commit is contained in:
@@ -292,18 +292,6 @@ public:
|
|||||||
// Get an estimate of LevelDB memory usage (in bytes).
|
// Get an estimate of LevelDB memory usage (in bytes).
|
||||||
size_t DynamicMemoryUsage() const;
|
size_t DynamicMemoryUsage() const;
|
||||||
|
|
||||||
// not available for LevelDB; provide for compatibility with BDB
|
|
||||||
bool Flush()
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Sync()
|
|
||||||
{
|
|
||||||
CDBBatch batch(*this);
|
|
||||||
return WriteBatch(batch, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
CDBIterator *NewIterator()
|
CDBIterator *NewIterator()
|
||||||
{
|
{
|
||||||
return new CDBIterator(*this, pdb->NewIterator(iteroptions));
|
return new CDBIterator(*this, pdb->NewIterator(iteroptions));
|
||||||
|
|||||||
Reference in New Issue
Block a user