aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-01-29 19:44:25 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-01-29 19:44:25 +0000
commit4b23714658f735351950112899a4412ecb309edd (patch)
treefebd8368da035e5e9a62fd6dbdafda04e8379e4d /src/cryptonote_core
parentMerge pull request #629 (diff)
downloadmonero-4b23714658f735351950112899a4412ecb309edd.tar.xz
tx_pool: serialize missing kept_by_block flag
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/tx_pool.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cryptonote_core/tx_pool.h b/src/cryptonote_core/tx_pool.h
index 34dc1f72f..0d2a81ca5 100644
--- a/src/cryptonote_core/tx_pool.h
+++ b/src/cryptonote_core/tx_pool.h
@@ -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;
}
}
}