Bitcoin Core  0.19.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 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef BITCOIN_UTIL_VALIDATION_H
7 #define BITCOIN_UTIL_VALIDATION_H
8 
9 #include <string>
10 
11 class ValidationState;
12 
14 std::string FormatStateMessage(const ValidationState &state);
15 
16 #endif // BITCOIN_UTIL_VALIDATION_H
Base class for capturing information about block/transaction validation.
Definition: validation.h:77
std::string FormatStateMessage(const ValidationState &state)
Convert ValidationState to a human-readable message for logging.
Definition: validation.cpp:11