mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
tx_pool: serialize missing kept_by_block flag
This commit is contained in:
parent
b91fc2dc3c
commit
4b23714658
1 changed files with 4 additions and 1 deletions
|
@ -110,7 +110,7 @@ namespace cryptonote
|
||||||
/*bool flush_pool(const std::strig& folder);
|
/*bool flush_pool(const std::strig& folder);
|
||||||
bool inflate_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>
|
template<class archive_t>
|
||||||
void serialize(archive_t & a, const unsigned int version)
|
void serialize(archive_t & a, const unsigned int version)
|
||||||
|
@ -243,6 +243,9 @@ namespace boost
|
||||||
return;
|
return;
|
||||||
ar & td.last_relayed_time;
|
ar & td.last_relayed_time;
|
||||||
ar & td.relayed;
|
ar & td.relayed;
|
||||||
|
if (version < 11)
|
||||||
|
return;
|
||||||
|
ar & td.kept_by_block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue