Bitcoin Core  0.19.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
TxValidationState Class Reference

#include <validation.h>

Inheritance diagram for TxValidationState:
[legend]
Collaboration diagram for TxValidationState:
[legend]

Public Member Functions

bool Invalid (TxValidationResult result, const std::string &reject_reason="", const std::string &debug_message="")
 
TxValidationResult GetResult () const
 
- Public Member Functions inherited from ValidationState
virtual ~ValidationState ()=0
 
 ValidationState ()
 
bool Error (const std::string &reject_reason)
 
bool IsValid () const
 
bool IsInvalid () const
 
bool IsError () const
 
std::string GetRejectReason () const
 
std::string GetDebugMessage () const
 

Private Attributes

TxValidationResult m_result = TxValidationResult::TX_RESULT_UNSET
 

Additional Inherited Members

- Protected Member Functions inherited from ValidationState
void Invalid (const std::string &reject_reason="", const std::string &debug_message="")
 

Detailed Description

Definition at line 115 of file validation.h.

Member Function Documentation

◆ GetResult()

TxValidationResult TxValidationState::GetResult ( ) const
inline

Definition at line 127 of file validation.h.

Here is the caller graph for this function:

◆ Invalid()

bool TxValidationState::Invalid ( TxValidationResult  result,
const std::string &  reject_reason = "",
const std::string &  debug_message = "" 
)
inline

Definition at line 119 of file validation.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_result

TxValidationResult TxValidationState::m_result = TxValidationResult::TX_RESULT_UNSET
private

Definition at line 117 of file validation.h.


The documentation for this class was generated from the following file: