aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/txdb.h')
-rw-r--r--src/txdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/txdb.h b/src/txdb.h
index 189094737e..51dc355bba 100644
--- a/src/txdb.h
+++ b/src/txdb.h
@@ -77,6 +77,8 @@ public:
bool BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock) override;
CCoinsViewCursor *Cursor() const override;
+ //! Attempt to update from an older database format. Returns whether an error occurred.
+ bool Upgrade();
size_t EstimateSize() const override;
};