aboutsummaryrefslogtreecommitdiff
path: root/src/consensus/validation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/consensus/validation.h')
-rw-r--r--src/consensus/validation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/consensus/validation.h b/src/consensus/validation.h
index f2e2c3585a..36142e1e41 100644
--- a/src/consensus/validation.h
+++ b/src/consensus/validation.h
@@ -84,6 +84,7 @@ public:
void SetCorruptionPossible() {
corruptionPossible = true;
}
+ int GetDoS(void) const { return nDoS; }
unsigned int GetRejectCode() const { return chRejectCode; }
std::string GetRejectReason() const { return strRejectReason; }
std::string GetDebugMessage() const { return strDebugMessage; }