diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2016-10-31 10:03:49 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2016-11-03 13:07:12 -0400 |
commit | 88c35491ab19f9afdf9b3fa9356a072f70ef2f55 (patch) | |
tree | 979296a970eea7001a5133bb792bda690bcb428c /src/blockencodings.h | |
parent | c93beac43fa66c8431e3952283edb5be8c65606c (diff) |
Fix compact block handling to not ban if block is invalid
Diffstat (limited to 'src/blockencodings.h')
-rw-r--r-- | src/blockencodings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blockencodings.h b/src/blockencodings.h index 99b1cb140d..705eaf28aa 100644 --- a/src/blockencodings.h +++ b/src/blockencodings.h @@ -124,6 +124,8 @@ typedef enum ReadStatus_t READ_STATUS_OK, READ_STATUS_INVALID, // Invalid object, peer is sending bogus crap READ_STATUS_FAILED, // Failed to process object + READ_STATUS_CHECKBLOCK_FAILED, // Used only by FillBlock to indicate a + // failure in CheckBlock. } ReadStatus; class CBlockHeaderAndShortTxIDs { |