|
|
|
@ -298,6 +298,7 @@ namespace cryptonote
|
|
|
|
|
uint64_t cumulative_difficulty_top64;
|
|
|
|
|
std::vector<crypto::hash> m_block_ids;
|
|
|
|
|
std::vector<uint64_t> m_block_weights;
|
|
|
|
|
cryptonote::blobdata first_block;
|
|
|
|
|
|
|
|
|
|
BEGIN_KV_SERIALIZE_MAP()
|
|
|
|
|
KV_SERIALIZE(start_height)
|
|
|
|
@ -309,6 +310,7 @@ namespace cryptonote
|
|
|
|
|
KV_SERIALIZE_OPT(cumulative_difficulty_top64, (uint64_t)0)
|
|
|
|
|
KV_SERIALIZE_CONTAINER_POD_AS_BLOB(m_block_ids)
|
|
|
|
|
KV_SERIALIZE_CONTAINER_POD_AS_BLOB(m_block_weights)
|
|
|
|
|
KV_SERIALIZE(first_block)
|
|
|
|
|
END_KV_SERIALIZE_MAP()
|
|
|
|
|
};
|
|
|
|
|
typedef epee::misc_utils::struct_init<request_t> request;
|
|
|
|
|