diff options
| author | practicalswift <[email protected]> | 2018-07-27 08:22:42 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-07-27 13:19:03 +0200 |
| commit | d78a8dc3e82564ca8e56b81f9f21af9295b013dd (patch) | |
| tree | 9092fdf9c11cc633313b6c33e0882d361dab7f5c /src/txdb.h | |
| parent | Merge #13423: [net] Thread safety annotations in net_processing (diff) | |
| download | discoin-d78a8dc3e82564ca8e56b81f9f21af9295b013dd.tar.xz discoin-d78a8dc3e82564ca8e56b81f9f21af9295b013dd.zip | |
Return void instead of bool for functions that cannot fail
* CBlockTreeDB::ReadReindexing(...)
* CChainState::ResetBlockFailureFlags(...)
* CTxMemPool::addUnchecked(...)
* CWallet::LoadDestData(...)
* CWallet::LoadKeyMetadata(...)
* CWallet::LoadScriptMetadata(...)
* CWallet::LoadToWallet(...)
* CWallet::SetHDChain(...)
* CWallet::SetHDSeed(...)
* RemoveLocal(...)
* SetMinVersion(...)
* StartHTTPServer(...)
* StartRPC(...)
* TorControlConnection::Disconnect(...)
Diffstat (limited to 'src/txdb.h')
| -rw-r--r-- | src/txdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb.h b/src/txdb.h index 100adb428..84011097c 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -92,7 +92,7 @@ public: bool ReadBlockFileInfo(int nFile, CBlockFileInfo &info); bool ReadLastBlockFile(int &nFile); bool WriteReindexing(bool fReindexing); - bool ReadReindexing(bool &fReindexing); + void ReadReindexing(bool &fReindexing); bool WriteFlag(const std::string &name, bool fValue); bool ReadFlag(const std::string &name, bool &fValue); bool LoadBlockIndexGuts(const Consensus::Params& consensusParams, std::function<CBlockIndex*(const uint256&)> insertBlockIndex); |