Raven Core  3.0.0
P2P Digital Currency
warnings.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2016 The Bitcoin Core developers
3 // Copyright (c) 2017-2019 The Raven Core developers
4 // Distributed under the MIT software license, see the accompanying
5 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
6 
7 #ifndef RAVEN_WARNINGS_H
8 #define RAVEN_WARNINGS_H
9 
10 #include <stdlib.h>
11 #include <string>
12 
13 void SetMiscWarning(const std::string& strWarning);
14 void SetfLargeWorkForkFound(bool flag);
16 void SetfLargeWorkInvalidChainFound(bool flag);
24 std::string GetWarnings(const std::string& strFor);
25 
26 static const bool DEFAULT_TESTSAFEMODE = false;
27 
28 #endif // RAVEN_WARNINGS_H
void SetfLargeWorkForkFound(bool flag)
Definition: warnings.cpp:23
std::string GetWarnings(const std::string &strFor)
Format a string that describes several potential problems detected by the core.
Definition: warnings.cpp:41
bool GetfLargeWorkForkFound()
Definition: warnings.cpp:29
void SetMiscWarning(const std::string &strWarning)
Definition: warnings.cpp:17
void SetfLargeWorkInvalidChainFound(bool flag)
Definition: warnings.cpp:35