diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-05-05 11:26:11 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-05-05 11:26:11 +0200 |
commit | ed09652a174e80cff78f0bfb9e586292d4a1575f (patch) | |
tree | 5d850c07106bb483fdaba054c4759cc6d075cc56 /src/p2p/p2p_protocol_defs.h | |
parent | Merge pull request #1997 (diff) | |
parent | Add anchor connections (diff) | |
download | monero-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.h | 7 |
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; |