Merge #8658: Remove unused statements in serialization
64d9507
[WIP] Remove unused statement in serialization (Pavel Janík)
This commit is contained in:
commit
9b94cca41f
5 changed files with 0 additions and 6 deletions
|
@ -48,7 +48,6 @@ public:
|
||||||
template <typename Stream, typename Operation>
|
template <typename Stream, typename Operation>
|
||||||
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
|
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
|
||||||
READWRITE(this->nVersion);
|
READWRITE(this->nVersion);
|
||||||
nVersion = this->nVersion;
|
|
||||||
READWRITE(nCreateTime);
|
READWRITE(nCreateTime);
|
||||||
READWRITE(nBanUntil);
|
READWRITE(nBanUntil);
|
||||||
READWRITE(banReason);
|
READWRITE(banReason);
|
||||||
|
|
|
@ -31,7 +31,6 @@ public:
|
||||||
unsigned int nDate = date.toTime_t();
|
unsigned int nDate = date.toTime_t();
|
||||||
|
|
||||||
READWRITE(this->nVersion);
|
READWRITE(this->nVersion);
|
||||||
nVersion = this->nVersion;
|
|
||||||
READWRITE(id);
|
READWRITE(id);
|
||||||
READWRITE(nDate);
|
READWRITE(nDate);
|
||||||
READWRITE(recipient);
|
READWRITE(recipient);
|
||||||
|
|
|
@ -75,7 +75,6 @@ public:
|
||||||
std::string sAuthenticatedMerchant = authenticatedMerchant.toStdString();
|
std::string sAuthenticatedMerchant = authenticatedMerchant.toStdString();
|
||||||
|
|
||||||
READWRITE(this->nVersion);
|
READWRITE(this->nVersion);
|
||||||
nVersion = this->nVersion;
|
|
||||||
READWRITE(sAddress);
|
READWRITE(sAddress);
|
||||||
READWRITE(sLabel);
|
READWRITE(sLabel);
|
||||||
READWRITE(amount);
|
READWRITE(amount);
|
||||||
|
|
|
@ -197,7 +197,6 @@ public:
|
||||||
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
|
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
|
||||||
std::vector<uint256> vMerkleBranch; // For compatibility with older versions.
|
std::vector<uint256> vMerkleBranch; // For compatibility with older versions.
|
||||||
READWRITE(*(CTransaction*)this);
|
READWRITE(*(CTransaction*)this);
|
||||||
nVersion = this->nVersion;
|
|
||||||
READWRITE(hashBlock);
|
READWRITE(hashBlock);
|
||||||
READWRITE(vMerkleBranch);
|
READWRITE(vMerkleBranch);
|
||||||
READWRITE(nIndex);
|
READWRITE(nIndex);
|
||||||
|
|
|
@ -57,7 +57,6 @@ public:
|
||||||
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion)
|
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion)
|
||||||
{
|
{
|
||||||
READWRITE(this->nVersion);
|
READWRITE(this->nVersion);
|
||||||
nVersion = this->nVersion;
|
|
||||||
READWRITE(nExternalChainCounter);
|
READWRITE(nExternalChainCounter);
|
||||||
READWRITE(masterKeyID);
|
READWRITE(masterKeyID);
|
||||||
}
|
}
|
||||||
|
@ -96,7 +95,6 @@ public:
|
||||||
template <typename Stream, typename Operation>
|
template <typename Stream, typename Operation>
|
||||||
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
|
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
|
||||||
READWRITE(this->nVersion);
|
READWRITE(this->nVersion);
|
||||||
nVersion = this->nVersion;
|
|
||||||
READWRITE(nCreateTime);
|
READWRITE(nCreateTime);
|
||||||
if (this->nVersion >= VERSION_WITH_HDDATA)
|
if (this->nVersion >= VERSION_WITH_HDDATA)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue