mana icon indicating copy to clipboard operation
mana copied to clipboard

Keep record of known peers

Open germsvel opened this issue 6 years ago • 3 comments

When dealing with the Encrypted Handshake, our node can establish a connection with a known peer; that is, a node that we've connected to before. In order to be able to do that, we need to keep a session token.

From the Encrypted Handshake link above,

There are two kinds of connections which can be established. A node can connect to a known peer, or a node can connect to a new peer. A known peer is one which has previously been connected to and from which a corresponding session token is available for authenticating the requested connection.

germsvel avatar May 23 '18 15:05 germsvel

I thought like I read somewhere that the other P2P clients (Geth/Parity) do not use this feature. Do we know the status of this session token usage in other implementations?

hayesgm avatar Nov 03 '18 20:11 hayesgm

I do not know the status of that in other implementations. I just assumed they were using those tokens but haven't checked.

germsvel avatar Nov 05 '18 14:11 germsvel

I think this is relevant to #639

InoMurko avatar Dec 03 '18 23:12 InoMurko