Template for capturing information about block/transaction validation.
More...
#include <validation.h>
template<typename Result>
class ValidationState< Result >
Template for capturing information about block/transaction validation.
This is instantiated by TxValidationState and BlockValidationState for validation information on transactions and blocks respectively.
Definition at line 82 of file validation.h.
◆ ModeState
template<typename Result >
Enumerator |
---|
M_VALID | everything ok
|
M_INVALID | network rule violation (DoS value may be set)
|
M_ERROR | run-time error
|
Definition at line 84 of file validation.h.
◆ Error()
template<typename Result >
◆ GetDebugMessage()
template<typename Result >
◆ GetRejectReason()
template<typename Result >
◆ GetResult()
template<typename Result >
◆ Invalid()
template<typename Result >
bool ValidationState< Result >::Invalid |
( |
Result |
result, |
|
|
const std::string & |
reject_reason = "" , |
|
|
const std::string & |
debug_message = "" |
|
) |
| |
|
inline |
◆ IsError()
template<typename Result >
◆ IsInvalid()
template<typename Result >
◆ IsValid()
template<typename Result >
◆ ToString()
template<typename Result >
◆ m_debug_message
template<typename Result >
◆ m_reject_reason
template<typename Result >
◆ m_result
template<typename Result >
◆ M_VALID
template<typename Result >
The documentation for this class was generated from the following file: