diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-12-12 22:05:02 -0600 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-12-12 22:05:02 -0600 |
commit | e5decd0cdebb344fa9b483a5610a072c6e8051f1 (patch) | |
tree | 616420c61f1190fd0ef2f86370a013bbdf87c5ec /src/cryptonote_protocol/cryptonote_protocol_defs.h | |
parent | Merge pull request #7127 (diff) | |
parent | protocol: include first new block in chain entry response (diff) | |
download | monero-e5decd0cdebb344fa9b483a5610a072c6e8051f1.tar.xz |
Merge pull request #7130
543733d protocol: include first new block in chain entry response (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_defs.h')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_defs.h b/src/cryptonote_protocol/cryptonote_protocol_defs.h index 9687b07a6..8c511e824 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_defs.h +++ b/src/cryptonote_protocol/cryptonote_protocol_defs.h @@ -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; |