mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
remove some unused functions
Identified with `cppcheck --enable=unusedFunction .`. - GetSendBufferSize()'s last use removed in991955ee81- SetPort()'s last use removed in7e195e8459- GetfLargeWorkInvalidChainFound() was introduced ine3ba0ef956and never used
This commit is contained in:
@@ -13,7 +13,6 @@ void SetMiscWarning(const std::string& strWarning);
|
||||
void SetfLargeWorkForkFound(bool flag);
|
||||
bool GetfLargeWorkForkFound();
|
||||
void SetfLargeWorkInvalidChainFound(bool flag);
|
||||
bool GetfLargeWorkInvalidChainFound();
|
||||
/** Format a string that describes several potential problems detected by the core.
|
||||
* strFor can have three values:
|
||||
* - "rpc": get critical warnings, which should put the client in safe mode if non-empty
|
||||
|
||||
Reference in New Issue
Block a user