tx_pool: serialize missing kept_by_block flag

release-v0.4.0.1
moneromooo-monero 8 years ago
parent b91fc2dc3c
commit 4b23714658
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -110,7 +110,7 @@ namespace cryptonote
/*bool flush_pool(const std::strig& folder);
bool inflate_pool(const std::strig& folder);*/
#define CURRENT_MEMPOOL_ARCHIVE_VER 10
#define CURRENT_MEMPOOL_ARCHIVE_VER 11
template<class archive_t>
void serialize(archive_t & a, const unsigned int version)
@ -243,6 +243,9 @@ namespace boost
return;
ar & td.last_relayed_time;
ar & td.relayed;
if (version < 11)
return;
ar & td.kept_by_block;
}
}
}

Loading…
Cancel
Save