-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Closed
Description
PoC 8 (E.T.A mid Feburary) introduces RLPX, a new encrypted, authenticated and properly framed transport protocol for the P2P layer.
The current revision of the RLPX specification is here.
The PoC 8 document is on etherpad.
The changes are
-
New framing layer that ensures fair queueing among protocols(not in PoC 8) -
transport encryption(very likely not in PoC8) - Kademlia-like node table (@fjl p2p/discover: Node Discovery Protocol #275)
- Encryption handshake (@zelig RLPx p2p crypto layer (work in progress, do not merge) #271)
- Integration of the above into package p2p (@fjl PoC8 Networking Integration #292)
Tasks beyond basic implementation
- CLI flags for system-testing
- -bootnodes
- -nodekey
- Port mapping integration for
p2p/discover - A replacement for
cmd/peerserverthat can be used as Kademlia bootstrap node - Make UDP tests in package
p2p/discovermore reliable - Improve network UI in Mist
Remaining Tasks for PoC9
- Fix
Table.closestso it doesn't send duplicates (use random bumps in the tests) - Persist discovery nodes for faster network join (being worked on by @karalabe, p2p/discover: persistent node database #793).