diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-07-24 14:25:51 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-07-24 14:25:51 -0500 |
commit | 8774555d29a3594d430d1bc7c744ca904f38b389 (patch) | |
tree | 636bea13e50cce0cea15235882b6b2c7138b2a9d /src/cryptonote_protocol/cryptonote_protocol_defs.h | |
parent | Merge pull request #5594 (diff) | |
parent | daemon: display peer address type in print_cn (diff) | |
download | monero-8774555d29a3594d430d1bc7c744ca904f38b389.tar.xz |
Merge pull request #5595
2aa1134 daemon: display peer address type in print_cn (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_defs.h')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_defs.h | 3 |
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 0fc6f40f3..b2f8da399 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_defs.h +++ b/src/cryptonote_protocol/cryptonote_protocol_defs.h @@ -83,6 +83,8 @@ namespace cryptonote uint32_t pruning_seed; + uint8_t address_type; + BEGIN_KV_SERIALIZE_MAP() KV_SERIALIZE(incoming) KV_SERIALIZE(localhost) @@ -107,6 +109,7 @@ namespace cryptonote KV_SERIALIZE(connection_id) KV_SERIALIZE(height) KV_SERIALIZE(pruning_seed) + KV_SERIALIZE(address_type) END_KV_SERIALIZE_MAP() }; |