PIVX Core  5.6.99
P2P Digital Currency
validation.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2019 The Bitcoin Core developers
3 // Copyright (c) 2021 The PIVX 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 PIVX_UTIL_VALIDATION_H
8 #define PIVX_UTIL_VALIDATION_H
9 
10 #include <string>
11 
12 class CValidationState;
13 
15 std::string FormatStateMessage(const CValidationState& state);
16 
17 extern const std::string strMessageMagic;
18 
19 #endif // PIVX_UTIL_VALIDATION_H
Capture information about block/transaction validation.
Definition: validation.h:24
const std::string strMessageMagic
Definition: validation.cpp:27
std::string FormatStateMessage(const CValidationState &state)
Convert CValidationState to a human-readable message for logging.
Definition: validation.cpp:13