aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol/cryptonote_protocol_defs.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-12 10:59:54 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-12 20:36:31 +0100
commit2ec15a693165db96dd7e75ee060ea4622a47ab7a (patch)
tree653a9b70c681221108414a0a9243eab8b19f204f /src/cryptonote_protocol/cryptonote_protocol_defs.h
parentprotocol: fix reorgs while syncing (diff)
downloadmonero-2ec15a693165db96dd7e75ee060ea4622a47ab7a.tar.xz
daemon: print peers' top height in sync_info
Diffstat (limited to '')
-rw-r--r--src/cryptonote_protocol/cryptonote_protocol_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_defs.h b/src/cryptonote_protocol/cryptonote_protocol_defs.h
index 37b503436..6e6c83f04 100644
--- a/src/cryptonote_protocol/cryptonote_protocol_defs.h
+++ b/src/cryptonote_protocol/cryptonote_protocol_defs.h
@@ -76,6 +76,8 @@ namespace cryptonote
boost::uuids::uuid connection_id;
+ uint64_t height;
+
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(incoming)
KV_SERIALIZE(localhost)
@@ -97,6 +99,7 @@ namespace cryptonote
KV_SERIALIZE(current_upload)
KV_SERIALIZE(support_flags)
KV_SERIALIZE_VAL_POD_AS_BLOB(connection_id)
+ KV_SERIALIZE(height)
END_KV_SERIALIZE_MAP()
};