diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-02-02 13:23:02 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-03-10 13:05:29 +0100 |
commit | fa9112aac07dc371bfda437d40eb1b841f36f392 (patch) | |
tree | 42432d72398e9e85da4effa13c3390d536d7341c /src/txdb.h | |
parent | 76d44e832f5b9a86c5d37b583825f6ddb6096e7e (diff) | |
download | bitcoin-fa9112aac07dc371bfda437d40eb1b841f36f392.tar.xz |
Remove utxo db upgrade code
Diffstat (limited to 'src/txdb.h')
-rw-r--r-- | src/txdb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txdb.h b/src/txdb.h index e70f3cd1f2..faa543b412 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -65,8 +65,8 @@ public: bool BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock) override; std::unique_ptr<CCoinsViewCursor> Cursor() const override; - //! Attempt to update from an older database format. Returns whether an error occurred. - bool Upgrade(); + //! Whether an unsupported database format is used. + bool NeedsUpgrade(); size_t EstimateSize() const override; //! Dynamically alter the underlying leveldb cache size. |