Capture information about block/transaction validation.
More...
#include <main.h>
Capture information about block/transaction validation.
Definition at line 950 of file main.h.
Enumerator |
---|
MODE_VALID |
|
MODE_INVALID |
|
MODE_ERROR |
|
Definition at line 952 of file main.h.
CValidationState::CValidationState |
( |
| ) |
|
|
inline |
bool CValidationState::Abort |
( |
const std::string & |
msg | ) |
|
|
inline |
bool CValidationState::CorruptionPossible |
( |
| ) |
const |
|
inline |
bool CValidationState::DoS |
( |
int |
level, |
|
|
bool |
ret = false , |
|
|
unsigned char |
chRejectCodeIn = 0 , |
|
|
std::string |
strRejectReasonIn = "" , |
|
|
bool |
corruptionIn = false |
|
) |
| |
|
inline |
bool CValidationState::Error |
( |
std::string |
strRejectReasonIn = "" | ) |
|
|
inline |
unsigned char CValidationState::GetRejectCode |
( |
| ) |
const |
|
inline |
std::string CValidationState::GetRejectReason |
( |
| ) |
const |
|
inline |
bool CValidationState::Invalid |
( |
bool |
ret = false , |
|
|
unsigned char |
_chRejectCode = 0 , |
|
|
std::string |
_strRejectReason = "" |
|
) |
| |
|
inline |
bool CValidationState::IsError |
( |
| ) |
const |
|
inline |
bool CValidationState::IsInvalid |
( |
| ) |
const |
|
inline |
bool CValidationState::IsInvalid |
( |
int & |
nDoSOut | ) |
const |
|
inline |
bool CValidationState::IsValid |
( |
| ) |
const |
|
inline |
unsigned char CValidationState::chRejectCode |
|
private |
bool CValidationState::corruptionPossible |
|
private |
int CValidationState::nDoS |
|
private |
std::string CValidationState::strRejectReason |
|
private |
The documentation for this class was generated from the following file: