diff options
author | Miguel Herranz <miguel@ipglider.org> | 2017-02-09 01:11:58 +0100 |
---|---|---|
committer | Miguel Herranz <miguel@ipglider.org> | 2017-02-10 23:28:54 +0100 |
commit | 8277e67f112fcf066b4530616560efec87f0b20e (patch) | |
tree | 3e842ce521cf06ab9e3b20fa52be2fbe72ccf4df /src/p2p/p2p_protocol_defs.h | |
parent | Merge pull request #1679 (diff) | |
download | monero-8277e67f112fcf066b4530616560efec87f0b20e.tar.xz |
Add anchor connections
Based on https://eprint.iacr.org/2015/263.pdf 4. Anchor connections.
Peer list serialisation version bumped to 5.
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 6d6ac7b98..dc738d92c 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; |