ethresearch / sharding-p2p-poc

Proof of Concept of Ethereum Serenity Peer-to-Peer Layer on libp2p PubSub System
40 stars 19 forks source link

Handshake protocol: replace/remove `AddPeer` #11

Open mhchia opened 6 years ago

mhchia commented 6 years ago

Recently we used AddPeer for connecting nodes. It seems unnecessary and can be removed. Or, we can replace it with a protocol for exchanging information between nodes when they first connect.