|
|
|
@ -114,14 +114,19 @@ public:
@@ -114,14 +114,19 @@ public:
|
|
|
|
|
READWRITE(nVersion); |
|
|
|
|
READWRITE(nTime); |
|
|
|
|
READWRITE(vchPubKey); |
|
|
|
|
if (nVersion >= FEATURE_HD_SPLIT) |
|
|
|
|
if (ser_action.ForRead()) { |
|
|
|
|
try { |
|
|
|
|
READWRITE(fInternal); |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
if (ser_action.ForRead()) |
|
|
|
|
} |
|
|
|
|
catch (...) { |
|
|
|
|
/* flag as external address if we can't read the internal boolean */ |
|
|
|
|
fInternal = false; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
READWRITE(fInternal); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** Address book data */ |
|
|
|
|