aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol/cryptonote_protocol_defs.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-06-18 14:23:59 +0200
committerRiccardo Spagni <ric@spagni.net>2017-06-18 14:23:59 +0200
commita237f90c5be32adb125edfa76954adefea09674b (patch)
treeb1041ada449f6d9d127e83ddc71c728ca7e07a1c /src/cryptonote_protocol/cryptonote_protocol_defs.h
parentMerge pull request #2059 (diff)
parentabstracted nework addresses (diff)
downloadmonero-a237f90c5be32adb125edfa76954adefea09674b.tar.xz
Merge pull request #2052
072102cf abstracted nework addresses (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_defs.h')
-rw-r--r--src/cryptonote_protocol/cryptonote_protocol_defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_defs.h b/src/cryptonote_protocol/cryptonote_protocol_defs.h
index fd5b980b8..6f6c1a803 100644
--- a/src/cryptonote_protocol/cryptonote_protocol_defs.h
+++ b/src/cryptonote_protocol/cryptonote_protocol_defs.h
@@ -49,6 +49,8 @@ namespace cryptonote
bool localhost;
bool local_ip;
+ std::string address;
+ std::string host;
std::string ip;
std::string port;
@@ -76,6 +78,8 @@ namespace cryptonote
KV_SERIALIZE(incoming)
KV_SERIALIZE(localhost)
KV_SERIALIZE(local_ip)
+ KV_SERIALIZE(address)
+ KV_SERIALIZE(host)
KV_SERIALIZE(ip)
KV_SERIALIZE(port)
KV_SERIALIZE(peer_id)