Commit 99772569 authored by Adin Schmahmann's avatar Adin Schmahmann

refactor: cleanup protocol messenger comments

parent 4b3a573a
...@@ -25,8 +25,8 @@ var logger = logging.Logger("dht") ...@@ -25,8 +25,8 @@ var logger = logging.Logger("dht")
// This decouples the wire protocol format from both the DHT protocol implementation and from the implementation of the // This decouples the wire protocol format from both the DHT protocol implementation and from the implementation of the
// routing.Routing interface. // routing.Routing interface.
// //
// TODO: This is still strongly coupled with the existing implementation of what happens when a peer actually sends a // Note: the ProtocolMessenger's MessageSender still needs to deal with some wire protocol details such as using
// message on the wire (e.g. reusing streams, reusing connections, metrics tracking, etc.). // varint-delineated protobufs
type ProtocolMessenger struct { type ProtocolMessenger struct {
m MessageSender m MessageSender
validator record.Validator validator record.Validator
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment