-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Peer group feature #10
Conversation
Have made changes according to the comments above, please have a another review @loongy. For the handshake process , I change the RSA key to ECDSA for encryption and decryption Not sure if the client needs to respond to the server to confirm it gets the server's session key ? |
@tok-kkk no need for explicit confirmation. The first non-handshake message to be sent on the wire is an implicit confirmation. |
@tok-kkk what do you mean by this? |
@loongy It sends the new ECDSA key along with a signature(signed by the key which generates his PeerID). So the server can extract the PeerID from the signature and verifies the sender is valid. |
PeerGroup
which is a group ofPeerIDs
. When sending messages, you can specify the target nodes by aPeerGroupID
.Peer
package