Skip to content

Commit

Permalink
cleanup protocol messenger
Browse files Browse the repository at this point in the history
  • Loading branch information
aschmahmann committed Oct 12, 2020
1 parent 040ea58 commit 7ce52ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wire/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
// routing.Routing interface.
//
// TODO: This is still strongly coupled with the existing implementation of what happens when a peer actually sends a
// message on the wire (e.g. reusing streams, reusing connections, metrics tracking, etc.).
// Note: the ProtocolMessenger's MessageSender still needs to deal with some wire protocol details such as using
// varint-delineated protobufs
type ProtocolMessenger struct {
m MessageSender
validator record.Validator
Expand Down

0 comments on commit 7ce52ed

Please sign in to comment.