Skip to content

Commit

Permalink
Update pubsub/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
raulk authored Sep 25, 2020
1 parent a7862dd commit e8b85d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pubsub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ It was also proposed in [#116](https://github.com/libp2p/specs/issues/116)
to use a `message_hash`, however, it was noted:
> a potential caveat with using hashes instead of seqnos:
the peer won't be able to send identical messages (e.g. keepalives) within the
timecache interval, as they will get rejected as duplicates.
timecache interval, as they will get treated as duplicates.

Some applications may not need keepalives, or choose to implement something more specific than a message hash. In those cases where duplicate payloads are not desirable, a `content-based` message ID function may be more appropriate.

Expand Down

0 comments on commit e8b85d0

Please sign in to comment.