Add clear error message for upgrading users
This commit is contained in:
@@ -324,6 +324,11 @@ public:
|
|||||||
READWRITE(VARINT(nDataPos));
|
READWRITE(VARINT(nDataPos));
|
||||||
if (nStatus & BLOCK_HAVE_UNDO)
|
if (nStatus & BLOCK_HAVE_UNDO)
|
||||||
READWRITE(VARINT(nUndoPos));
|
READWRITE(VARINT(nUndoPos));
|
||||||
|
uint8_t tag = 0;
|
||||||
|
READWRITE(tag);
|
||||||
|
if (ser_action.ForRead() && tag != 0) {
|
||||||
|
assert(!"For the first time running zcashd after upgrading to v1.0.0-rc1, please use the -reindex option.");
|
||||||
|
}
|
||||||
READWRITE(hashAnchor);
|
READWRITE(hashAnchor);
|
||||||
|
|
||||||
// block header
|
// block header
|
||||||
|
|||||||
Reference in New Issue
Block a user