Skip to content

Commit

Permalink
Old protocol deprecation notice: Include what to use instead
Browse files Browse the repository at this point in the history
  • Loading branch information
anacrolix committed Mar 13, 2019
1 parent 2e52ebb commit 5423d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opts/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
var (
ProtocolDHT protocol.ID = "/ipfs/kad/1.0.0"
// Deprecated: The old format did not support more than one message per stream, and is not
// supported or relevant with stream pooling.
// supported or relevant with stream pooling. ProtocolDHT should be used instead.
ProtocolDHTOld protocol.ID = "/ipfs/dht"
DefaultProtocols = []protocol.ID{ProtocolDHT, ProtocolDHTOld}
)
Expand Down

0 comments on commit 5423d7b

Please sign in to comment.