aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/p2p_protocol_defs.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-05-05 11:26:11 +0200
committerRiccardo Spagni <ric@spagni.net>2017-05-05 11:26:11 +0200
commited09652a174e80cff78f0bfb9e586292d4a1575f (patch)
tree5d850c07106bb483fdaba054c4759cc6d075cc56 /src/p2p/p2p_protocol_defs.h
parentMerge pull request #1997 (diff)
parentAdd anchor connections (diff)
downloadmonero-ed09652a174e80cff78f0bfb9e586292d4a1575f.tar.xz
Merge pull request #1701
8277e67f Add anchor connections (Miguel Herranz)
Diffstat (limited to 'src/p2p/p2p_protocol_defs.h')
-rw-r--r--src/p2p/p2p_protocol_defs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/p2p/p2p_protocol_defs.h b/src/p2p/p2p_protocol_defs.h
index 97e75f5ca..5ec012714 100644
--- a/src/p2p/p2p_protocol_defs.h
+++ b/src/p2p/p2p_protocol_defs.h
@@ -56,6 +56,13 @@ namespace nodetool
int64_t last_seen;
};
+ struct anchor_peerlist_entry
+ {
+ net_address adr;
+ peerid_type id;
+ int64_t first_seen;
+ };
+
struct connection_entry
{
net_address adr;